# Forums | Mahara Community

## Support / Mahara upgrade from 1.10.3 to 15.04 - Cloud plugin causing some problems

Posts: 37

07 May 2015, 1:23 AM

Hi,

I'm trying to upgrade our Mahara site from 1.9 to 15.04.  Direct upgrade failed so I'm trying step upgrade i.e. 1.9 > 1.10.3 > 15.04.

I've been able to successfully upgrade the site to 1.10.3 but when I try upgrading that to 15.04 I got the following error:

File /var/www/mahara1504/artefact/cloud/blocktype/arnes/lib.php did not exist

Call stack (most recent first):
• safe_require("blocktype", "cloud/arnes") at /var/www/mahara1504/lib/upgrade.php:1128
• install_blocktype_categories_for_plugin("cloud/arnes") at /var/www/mahara1504/lib/db/upgrade.php:3974

Hope someone can help.  I've tried removing the cloud plugin folder but that didn't work.  When the folder is left in to upgrade with the site, the page goes completely blank and error.log had the following entry:

Thanks.

Regards,

Remy

Posts: 347
##### Re: Mahara upgrade from 1.10.3 to 15.04 - Cloud plugin causing some problems

07 May 2015, 5:38 AM

That is because Cloud plugin isn't upgraded to 15.04 version yet. And there seems to be some changes (added method) between latest versions of Mahara.

Can you disable Cloud plugin before upgrading from 1.10.3 to 15.04.0 and try upgrading then?
Posts: 37
##### Re: Mahara upgrade from 1.10.3 to 15.04 - Cloud plugin causing some problems

07 May 2015, 8:35 AM

Hi Gregor,

Thanks for your quick response.

I should have mentioned the plugin was actually disabled (hidden) before the upgrade because we had some problems getting it to work on our system.  That's why I was baffled by the error, especially when removing the folder didn't to work either.  (I'd assumed removing the folder meant every reference to the plugin will be uninstalled from the system.)

Is there any way 'walk' me through removing every database reference to the plugin in the working 1.10.3 install before I try upgrading again?  My next plan is to attempt a clean up (uninstall the plugin manually) by searching through the database for references to the plugin ... but I'll be 'flying' completely blind without knowing which tables may be affected.  So if you could give me a list of possible tables to start with, that'll be a big help.

Thanks and best regards,
Remy.
Posts: 37
##### RESOLVED: Mahara upgrade from 1.10.3 to 15.04 - Cloud plugin causing some problems

08 May 2015, 1:38 AM

In case this saves some time for anyone with similar upgrade issues, I've been able to resolve the problem by doing the following:

1. Performed manual search through database dump file for cpds / cloud artefact entriesand DELETED related items (artefact:cloud, artefact:cpds) – ONLY IN TABLES / INSERT STATEMENTS i.e. ["('cloud',2013010701,'1.1.0',0)," and "('cpds',2013122400,'0.0.7',0)," from artefact_installed // "('cloud','cloud')," and "('activity','cpds'),('cpd','cpds')," from artefact_installed_type].  Be sure to remove an extra commas left after deletion.  Modified tables: artefact_installed, artefact_installed_type
2. Performed manual search through database dump file for cpds / cloud blocktype entries – ONLY IN TABLES / INSERT STATEMENTS – and DELETED related items (blocktype:cloud/arnes, blocktype:cloud/bitbucket, blocktype:cloud/box, blocktype:cloud/dropbox, blocktype:cloud/github, blocktype:cloud/googledrive, blocktype:cloud/skydrive, blocktype:cloud/soundcloud, blocktype:cloud/sugarsync, blocktype:cloud/zotero, blocktype:cpds/cpds).  Modified tables: blocktype_installed, blocktype_installed_category, blocktype_installed_viewtype

Note that there may be references to the blocktype items in block_instance table if artefacts have been created using the plugins.  These were left in and seemed to have no noticeable impact on the upgrade process.  Yet to find out if there will be usage issues.

Finally, while making changes to database dump file, if the URL of the new site is different from the original site, it may be useful to change that in config table before the upgrade.

Remy

4 results