Closed marxistvegan closed 3 years ago
Update app news from appstore
Ok that got me on the path to find the issue, it was in fact Social that was obstructing, i never got that addon to work so I removed it and now running nextcloud 20. Thanks for the help!
This is very similar to #549 and I did all that was suggested but still run into the problem of no success, i removed the mail app but it seems to suggest it is still there.
`root@syncloud:~# snap refresh nextcloud error: cannot perform the following tasks:
Run configure hook of "nextcloud" snap if present (run hook "configure":
2020-10-28 15:15:07,072 - nextcloud_config - INFO - setting value: datadirectory = /opt/disk/external/nextcloud 2020-10-28 15:15:08,167 - nextcloud_config - INFO - setting datadirectory = /opt/disk/external/nextcloud 2020-10-28 15:15:09,037 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade
Updated to 1.6.0
Updating ...
Updated to 1.1.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 2.0.1
Updating ...
Updated to 0.17.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 2.5.0
Updating ...
Updated to 1.2.0
Updating ...
Updated to 1.4.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 0.8.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 1.2.0
Updating ...
Updated to 1.3.0
Updating ...
Updated to 1.8.0
Updating ...
Updated to 3.1.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 1.4.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.8.0
Updating ...
Updated to 1.8.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.10.2
Updating ...
Updated to 1.15.0
Updating ...
Updated to 2.13.1
Updating ...
Updated to 1.3.0
Updating ...
Fix broken values of calendar objects
Updated to 1.16.0
Updating ...
Updated to 1.11.1
Updating ...
Updated to 1.12.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.13.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 2.2.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 2.9.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 2.8.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 1.11.0
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in appstore
Checking for update of app activity in appstore
Checked for update of app "activity" in appstore
Checking for update of app bookmarks in appstore
Update app bookmarks from appstore
Checked for update of app "bookmarks" in appstore
Checking for update of app cloud_federation_api in appstore
Checked for update of app "cloud_federation_api" in appstore
Checking for update of app comments in appstore
Checked for update of app "comments" in appstore
Checking for update of app contacts in appstore
Checked for update of app "contacts" in appstore
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in appstore
Checking for update of app dav in appstore
Checked for update of app "dav" in appstore
Checking for update of app deck in appstore
Checked for update of app "deck" in appstore
Checking for update of app federatedfilesharing in appstore
Checked for update of app "federatedfilesharing" in appstore
Checking for update of app federation in appstore
Checked for update of app "federation" in appstore
Checking for update of app files in appstore
Checked for update of app "files" in appstore
Checking for update of app files_external in appstore
Checked for update of app "files_external" in appstore
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in appstore
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in appstore
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in appstore
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in appstore
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in appstore
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in appstore
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in appstore
Checking for update of app logreader in appstore
Checked for update of app "logreader" in appstore
Checking for update of app lookup_server_connector in appstore
Checked for update of app "lookup_server_connector" in appstore
Checking for update of app news in appstore
Update app news from appstore
An unhandled exception has been thrown:
Error: Undefined class constant 'DEFAULT_SETTINGS' in /var/snap/nextcloud/201013176/extra-apps/news/lib/Migration/MigrateConfig.php:49
Stack trace:
0 [internal function]: OCA\News\Migration\MigrateConfig->__construct(Object(OCA\News\Config\LegacyConfig), Object(OC\AllConfig), Object(OCA\News\AppInfo\Application))
1 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): ReflectionClass->newInstanceArgs(Array)
2 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
3 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\News\Migrat...')
4 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(455): OC\AppFramework\Utility\SimpleContainer->query('OCA\News\Migrat...')
5 /snap/nextcloud/201013176/nextcloud/lib/private/ServerContainer.php(140): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\News\Migrat...')
6 /snap/nextcloud/201013176/nextcloud/lib/private/Repair.php(119): OC\ServerContainer->query('OCA\News\Migrat...')
7 /snap/nextcloud/201013176/nextcloud/lib/private/legacy/OC_App.php(1035): OC\Repair->addStep('OCA\News\Migrat...')
8 /snap/nextcloud/201013176/nextcloud/lib/private/legacy/OC_App.php(979): OC_App::executeRepairSteps('news', Array)
9 /snap/nextcloud/201013176/nextcloud/lib/private/Installer.php(206): OC_App::updateApp('news')
10 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(452): OC\Installer->updateAppstoreApp('news')
11 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(260): OC\Updater->upgradeAppStoreApps(Array)
12 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade('20.0.0.9', '19.0.1.1')
13 /snap/nextcloud/201013176/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
14 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
15 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(1000): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
16 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
17 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
18 /snap/nextcloud/201013176/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
19 /snap/nextcloud/201013176/nextcloud/console.php(100): OC\Console\Application->run()
20 /snap/nextcloud/201013176/nextcloud/occ(11): require_once('/snap/nextcloud...')
21 {main}
2020-10-28 15:16:23,853 - nextcloud_installer - WARNING - unable to upgrade 2020-10-28 15:16:23,853 - nextcloud_installer - WARNING - Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Setting log level to debug Updating database schema Updated database Disabled incompatible app: calendar Disabled incompatible app: groupfolders Disabled incompatible app: ocsms Disabled incompatible app: social Updating ...
Migrate old user config
Updated to 1.6.0
Updating ...
Updated to 1.1.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 2.0.1
Updating ...
Updated to 0.17.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 2.5.0
Updating ...
Updated to 1.2.0
Updating ...
Updated to 1.4.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 0.8.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 1.2.0
Updating ...
Updated to 1.3.0
Updating ...
Updated to 1.8.0
Updating ...
Updated to 3.1.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 1.4.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.8.0
Updating ...
Updated to 1.8.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.10.2
Updating ...
Updated to 1.15.0
Updating ...
Updated to 2.13.1
Updating ...
Updated to 1.3.0
Updating ...
Fix broken values of calendar objects
Updated to 1.16.0
Updating ...
Updated to 1.11.1
Updating ...
Updated to 1.12.0
Updating ...
Updated to 1.10.1
Updating ...
Updated to 1.13.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 2.2.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 2.9.0
Updating ...
Updated to 1.9.0
Updating ...
Updated to 2.8.0
Updating ...
Updated to 1.10.0
Updating ...
Updated to 1.11.0
Checking for update of app accessibility in appstore
Checked for update of app "accessibility" in appstore
Checking for update of app activity in appstore
Checked for update of app "activity" in appstore
Checking for update of app bookmarks in appstore
Update app bookmarks from appstore
Checked for update of app "bookmarks" in appstore
Checking for update of app cloud_federation_api in appstore
Checked for update of app "cloud_federation_api" in appstore
Checking for update of app comments in appstore
Checked for update of app "comments" in appstore
Checking for update of app contacts in appstore
Checked for update of app "contacts" in appstore
Checking for update of app contactsinteraction in appstore
Checked for update of app "contactsinteraction" in appstore
Checking for update of app dav in appstore
Checked for update of app "dav" in appstore
Checking for update of app deck in appstore
Checked for update of app "deck" in appstore
Checking for update of app federatedfilesharing in appstore
Checked for update of app "federatedfilesharing" in appstore
Checking for update of app federation in appstore
Checked for update of app "federation" in appstore
Checking for update of app files in appstore
Checked for update of app "files" in appstore
Checking for update of app files_external in appstore
Checked for update of app "files_external" in appstore
Checking for update of app files_pdfviewer in appstore
Checked for update of app "files_pdfviewer" in appstore
Checking for update of app files_rightclick in appstore
Checked for update of app "files_rightclick" in appstore
Checking for update of app files_sharing in appstore
Checked for update of app "files_sharing" in appstore
Checking for update of app files_trashbin in appstore
Checked for update of app "files_trashbin" in appstore
Checking for update of app files_versions in appstore
Checked for update of app "files_versions" in appstore
Checking for update of app files_videoplayer in appstore
Checked for update of app "files_videoplayer" in appstore
Checking for update of app firstrunwizard in appstore
Checked for update of app "firstrunwizard" in appstore
Checking for update of app logreader in appstore
Checked for update of app "logreader" in appstore
Checking for update of app lookup_server_connector in appstore
Checked for update of app "lookup_server_connector" in appstore
Checking for update of app news in appstore
Update app news from appstore
An unhandled exception has been thrown:
Error: Undefined class constant 'DEFAULT_SETTINGS' in /var/snap/nextcloud/201013176/extra-apps/news/lib/Migration/MigrateConfig.php:49
Stack trace:
0 [internal function]: OCA\News\Migration\MigrateConfig->__construct(Object(OCA\News\Config\LegacyConfig), Object(OC\AllConfig), Object(OCA\News\AppInfo\Application))
1 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(101): ReflectionClass->newInstanceArgs(Array)
2 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(109): OC\AppFramework\Utility\SimpleContainer->buildClass(Object(ReflectionClass))
3 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(126): OC\AppFramework\Utility\SimpleContainer->resolve('OCA\News\Migrat...')
4 /snap/nextcloud/201013176/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php(455): OC\AppFramework\Utility\SimpleContainer->query('OCA\News\Migrat...')
5 /snap/nextcloud/201013176/nextcloud/lib/private/ServerContainer.php(140): OC\AppFramework\DependencyInjection\DIContainer->queryNoFallback('OCA\News\Migrat...')
6 /snap/nextcloud/201013176/nextcloud/lib/private/Repair.php(119): OC\ServerContainer->query('OCA\News\Migrat...')
7 /snap/nextcloud/201013176/nextcloud/lib/private/legacy/OC_App.php(1035): OC\Repair->addStep('OCA\News\Migrat...')
8 /snap/nextcloud/201013176/nextcloud/lib/private/legacy/OC_App.php(979): OC_App::executeRepairSteps('news', Array)
9 /snap/nextcloud/201013176/nextcloud/lib/private/Installer.php(206): OC_App::updateApp('news')
10 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(452): OC\Installer->updateAppstoreApp('news')
11 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(260): OC\Updater->upgradeAppStoreApps(Array)
12 /snap/nextcloud/201013176/nextcloud/lib/private/Updater.php(130): OC\Updater->doUpgrade('20.0.0.9', '19.0.1.1')
13 /snap/nextcloud/201013176/nextcloud/core/Command/Upgrade.php(255): OC\Updater->upgrade()
14 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Command/Command.php(255): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
15 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(1000): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
16 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(271): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
17 /snap/nextcloud/201013176/nextcloud/3rdparty/symfony/console/Application.php(147): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
18 /snap/nextcloud/201013176/nextcloud/lib/private/Console/Application.php(215): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
19 /snap/nextcloud/201013176/nextcloud/console.php(100): OC\Console\Application->run()
20 /snap/nextcloud/201013176/nextcloud/occ(11): require_once('/snap/nextcloud...')
21 {main}
2020-10-28 15:16:24,544 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Maintenance mode disabled 2020-10-28 15:16:26,081 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Check indices of the share table. Check indices of the filecache table. Check indices of the twofactor_providers table. Check indices of the login_flow_v2 table. Check indices of the whats_new table. Check indices of the cards table. Check indices of the cards_properties table. Check indices of the calendarobjects_props table. Check indices of the schedulingobjects table. Check indices of the oc_properties table. Done. 2020-10-28 15:16:27,808 - nextcloud_occ - INFO - Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Check columns of the comments table. Done.
There are no commands defined in the "ldap" namespace.
2020-10-28 15:16:28,441 - nextcloud_occ - ERROR - occ error: Nextcloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Traceback (most recent call last): File "/snap/nextcloud/201013176/meta/hooks/configure", line 7, in
Installer().configure()
File "/snap/nextcloud/201013176/hooks/installer.py", line 112, in configure
self.occ.run('ldap:set-config s01 ldapEmailAttribute mail')
File "/snap/nextcloud/201013176/hooks/octools.py", line 19, in run
raise e
subprocess.CalledProcessError: Command '/snap/nextcloud/current/bin/occ-runner ldap:set-config s01 ldapEmailAttribute mail' returned non-zero exit status 1
-----)
root@syncloud:~#
`