Skip to content

Instantly share code, notes, and snippets.

@Neustradamus
Created July 26, 2021 03:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Neustradamus/999d9d4977c5fafba8673aeb50507579 to your computer and use it in GitHub Desktop.
Save Neustradamus/999d9d4977c5fafba8673aeb50507579 to your computer and use it in GitHub Desktop.
login as: root
root@XXX.XXX.XXX.XXX's password:
************ Welcome to NethServer ************
This is a NethServer installation.
Before editing configuration files, be aware
of the automatic events and templates system.
http://docs.nethserver.org
***********************************************
NS 7.7 -> 7.8 -> 7.9
[root@server ~]# occ --version
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
Nextcloud 21.0.3
You have new mail in /var/spool/mail/root
[root@server ~]# occ migrations:status core
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
>> App: core
>> Version Table Name: oc_migrations
>> Migrations Namespace: OC\Core\Migrations
>> Migrations Directory: /usr/share/nextcloud/core/Migrations
>> Previous Version: 18000Date20191204114856
>> Current Version: 19000Date20200211083441
>> Next Version: 20000Date20201109081915
>> Latest Version: 21000Date20210309185127
>> Executed Migrations: 25
>> Executed Unavailable Migrations: 25
>> Available Migrations: 34
>> New Migrations: 34
>> Pending Migrations: None
[root@server ~]# occ migrations:migrate core
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
TO EDIT 19.0.3.1 to 21.0.3 (current)
[root@server ~]# vi /usr/share/nextcloud/config/config.php
[root@server ~]# occ upgrade
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
Turned on maintenance mode
Updating database schema
Updated database
Updating <federation> ...
Updated <federation> to 1.11.0
Updating <lookup_server_connector> ...
Updated <lookup_server_connector> to 1.9.0
Updating <oauth2> ...
Updated <oauth2> to 1.9.0
Updating <password_policy> ...
Updated <password_policy> to 1.11.0
Updating <user_ldap> ...
Updated <user_ldap> to 1.11.0
Updating <files> ...
Updated <files> to 1.16.0
Updating <activity> ...
Updated <activity> to 2.14.3
Updating <cloud_federation_api> ...
Updated <cloud_federation_api> to 1.4.0
Updating <dav> ...
Fix broken values of calendar objects
Done
0/0 [->--------------------------] 0%
Updated <dav> to 1.17.1
Updating <files_sharing> ...
Updated <files_sharing> to 1.13.1
Updating <files_trashbin> ...
Updated <files_trashbin> to 1.11.0
Updating <files_versions> ...
Updated <files_versions> to 1.14.0
Updating <sharebymail> ...
Updated <sharebymail> to 1.11.0
Updating <workflowengine> ...
Updated <workflowengine> to 2.3.0
Updating <comments> ...
Updated <comments> to 1.11.0
Updating <firstrunwizard> ...
Updated <firstrunwizard> to 2.10.0
Updating <nextcloud_announcements> ...
Updated <nextcloud_announcements> to 1.10.0
Updating <notifications> ...
Updated <notifications> to 2.9.0
Updating <systemtags> ...
Updated <systemtags> to 1.11.0
Updating <theming> ...
Updated <theming> to 1.12.0
Updating <contactsinteraction> ...
Updated <contactsinteraction> to 1.2.0
Updating <federatedfilesharing> ...
Updated <federatedfilesharing> to 1.11.0
Updating <files_pdfviewer> ...
Updated <files_pdfviewer> to 2.1.0
Updating <files_rightclick> ...
Updated <files_rightclick> to 1.0.0
Updating <files_videoplayer> ...
Updated <files_videoplayer> to 1.10.0
Updating <logreader> ...
Updated <logreader> to 2.6.0
Updating <photos> ...
Updated <photos> to 1.3.0
Updating <privacy> ...
Updated <privacy> to 1.5.0
Updating <provisioning_api> ...
Updated <provisioning_api> to 1.11.0
Updating <recommendations> ...
Updated <recommendations> to 1.0.0
Updating <serverinfo> ...
Updated <serverinfo> to 1.11.0
Updating <settings> ...
Updated <settings> to 1.3.0
Updating <support> ...
Updated <support> to 1.4.0
Updating <survey_client> ...
Updated <survey_client> to 1.9.0
Updating <text> ...
Updated <text> to 3.2.0
Updating <twofactor_backupcodes> ...
Updated <twofactor_backupcodes> to 1.10.0
Updating <updatenotification> ...
Updated <updatenotification> to 1.11.0
Updating <viewer> ...
Updated <viewer> to 1.5.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 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 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 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_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 nextcloud_announcements in appstore
Checked for update of app "nextcloud_announcements" in appstore
Checking for update of app notifications in appstore
Checked for update of app "notifications" in appstore
Checking for update of app oauth2 in appstore
Checked for update of app "oauth2" in appstore
Checking for update of app password_policy in appstore
Checked for update of app "password_policy" in appstore
Checking for update of app photos in appstore
Checked for update of app "photos" in appstore
Checking for update of app privacy in appstore
Checked for update of app "privacy" in appstore
Checking for update of app provisioning_api in appstore
Checked for update of app "provisioning_api" in appstore
Checking for update of app recommendations in appstore
Checked for update of app "recommendations" in appstore
Checking for update of app serverinfo in appstore
Checked for update of app "serverinfo" in appstore
Checking for update of app settings in appstore
Checked for update of app "settings" in appstore
Checking for update of app sharebymail in appstore
Checked for update of app "sharebymail" in appstore
Checking for update of app support in appstore
Checked for update of app "support" in appstore
Checking for update of app survey_client in appstore
Checked for update of app "survey_client" in appstore
Checking for update of app systemtags in appstore
Checked for update of app "systemtags" in appstore
Checking for update of app text in appstore
Checked for update of app "text" in appstore
Checking for update of app theming in appstore
Checked for update of app "theming" in appstore
Checking for update of app twofactor_backupcodes in appstore
Checked for update of app "twofactor_backupcodes" in appstore
Checking for update of app updatenotification in appstore
Checked for update of app "updatenotification" in appstore
Checking for update of app user_ldap in appstore
Checked for update of app "user_ldap" in appstore
Checking for update of app viewer in appstore
Checked for update of app "viewer" in appstore
Checking for update of app workflowengine in appstore
Checked for update of app "workflowengine" in appstore
Starting code integrity check...
Finished code integrity check
Update successful
Turned off maintenance mode
Resetting log level
[root@server ~]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment