nextcloud / owncloud-web-migrator

Tool to migrate your ownCloud to Nextcloud
https://nextcloud.com/blog/3-reasons-to-upgrade-your-owncloud-instance-to-nextcloud-and-how-easy-it-is/
3 stars 4 forks source link

Migration Tool: Undefined variable: password #11

Open AdamPerkins opened 5 years ago

AdamPerkins commented 5 years ago

When I use the migration tool (index.php) I get a PHP error: PHP Notice: Undefined variable: password in /media/data/www/cloud_landofelves_net/www/updater/index.php on line 1436 Looking to the source I also can't find a definition for $password.

Later it hangs at: Check for expected files. (Spinner is turning endless)

Reloading the page gives sometimes also this error which is maybe another problem: PHP Fatal error: Uncaught Exception: Could not do request to updater server: Failed to connect to updates.nextcloud.org port 443: Connection timed out ....

I'm trying to migrate OC 9.1.0 on PHP 7.0 / Apache

valerio-bozzolan commented 4 years ago

These are two distinct problems, but I can reproduce the warning with the password at line 1436 caused by this line:

<input type="hidden" id="updater-access-key" value="<?php echo htmlentities($password) ?>"/>