New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating NC12: update theming app fails #5219
Comments
@nickvergessen perhaps? |
you should fix that to the full url (including protocol, domain and subfolder) {
"reqId": "JoG4zF47JsDfNLinxANy",
"level": 3,
"time": "2017-05-31T17:23:03+02:00",
"remoteAddr": "",
"user": "--",
"app": "core",
"method": "--",
"url": "--",
"message": {
"Exception": {
"Exception": "InvalidArgumentException",
"Message": "$absolutePath must be relative to \"files\"",
"Code": 0,
"Trace": {
"#0": [
"/home/www-data/nextcloud/lib/private/Files/View.php(1951):",
"OC\Files\View->getPathRelativeToFiles('/appdata_oc9nyo...')"
],
"#1": [
"/home/www-data/nextcloud/lib/private/Files/View.php(1126): OC\Files\View->changeLock('/appdata_oc9nyo...', 2)",
null
],
"#2": [
"/home/www-data/nextcloud/lib/private/Files/View.php(269): OC\Files\View->basicOperation('mkdir', '/appdata_oc9nyo...', Array)",
null
],
"#3": [
"/home/www-data/nextcloud/lib/private/Files/Node/Folder.php(160):",
"OC\Files\View->mkdir('/appdata_oc9nyo...')"
],
"#4": [
"[internal function]: OC\Files\Node\Folder->newFolder('appdata_oc9nyok...')",
null
],
"#5": [
"/home/www-data/nextcloud/lib/private/Files/Node/LazyRoot.php(63): call_user_func_array(Array, Array)",
null
],
"#6": [
"/home/www-data/nextcloud/lib/private/Files/Node/LazyRoot.php(385): OC\Files\Node\LazyRoot->__call('newFolder', Array)",
null
],
"#7": [
"/home/www-data/nextcloud/lib/private/Files/AppData/AppData.php(82):",
"OC\Files\Node\LazyRoot->newFolder('appdata_oc9nyok...')"
],
"#8": [
"/home/www-data/nextcloud/lib/private/Files/AppData/AppData.php(112):",
"OC\Files\AppData\AppData->getAppDataFolder()"
],
"#9": [
"/home/www-data/nextcloud/apps/theming/lib/Migration/ThemingImages.php(56):",
"OC\Files\AppData\AppData->newFolder('images')"
],
"#10": [
"/home/www-data/nextcloud/lib/private/Repair.php(85):",
"OCA\Theming\Migration\ThemingImages->run(Object(OC\Repair))"
],
"#11": [
"/home/www-data/nextcloud/lib/private/legacy/app.php(1114):",
"OC\Repair->run()"
],
"#12": [
"/home/www-data/nextcloud/lib/private/legacy/app.php(1049): OC_App::executeRepairSteps('theming', Array)",
null
],
"#13": [
"/home/www-data/nextcloud/lib/private/Updater.php(381):",
"OC_App::updateApp('theming')"
],
"#14": [
"/home/www-data/nextcloud/lib/private/Updater.php(264):",
"OC\Updater->doAppUpgrade()"
],
"#15": [
"/home/www-data/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade('12.0.0.29', '11.0.3.2')",
null
],
"#16": [
"/home/www-data/nextcloud/core/Command/Upgrade.php(263):",
"OC\Updater->upgrade()"
],
"#17": [
"/home/www-data/nextcloud/3rdparty/symfony/console/Command/Command.php(256): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))",
null
],
"#18": [
"/home/www-data/nextcloud/3rdparty/symfony/console/Application.php(818): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))",
null
],
"#19": [
"/home/www-data/nextcloud/3rdparty/symfony/console/Application.php(186): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))",
null
],
"#20": [
"/home/www-data/nextcloud/3rdparty/symfony/console/Application.php(117): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))",
null
],
"#21": [
"/home/www-data/nextcloud/lib/private/Console/Application.php(170): Symfony\Component\Console\Application->run(NULL, NULL)",
null
],
"#22": [
"/home/www-data/nextcloud/console.php(92):",
"OC\Console\Application->run()"
],
"#23": [
"/home/www-data/nextcloud/occ(11):",
"require_once('/home/www-data/...')"
],
"#24": [
"{main}",
null
]
},
"File": "/home/www-data/nextcloud/lib/private/Files/View.php",
"Line": 2084
}
},
"userAgent": "--",
"version": "11.0.3.2"
} as for the actual problem, I'm not sure. I guess @rullzer (vacation) knows most about the appdata stuff. |
Thanks for the TIP. I also tried to remove overwrite.cli.url which is not needed anymore, but no success. |
Finally succeeded in migrating from OC to NC 11, Using migration tool from OC9 to NC 10, then NC11. |
Ah, so this happens when the path is already locked, then we end up in: server/lib/private/Files/View.php Lines 1943 to 1949 in 655c262
and that tries so display a readable path to the user, which therefor must start relative to files... |
Same issue than the one reported here , but currently unsolved for me.
Giving NC a try, but I got the same issue while migrating/updating.
I migrated from OC 9.1 to NC 11.0.3.2 and then updating to NC12 using occ:
System:
debian 8.8, x86_64
PHP 5.6.30
NGINX 1.10.3
mariadb 10.0.30
Nextcloud logs:
And since
$absolutePath must be relative to \"files\", value is \"%s\"
does not help very much ;-), it seems that $absolutePath is set to "remoteAddr"Are you using encryption: no
**Are you using an external user-backend, no
The text was updated successfully, but these errors were encountered: