oliverv

Update NC16.0.5.1=>16.0.6 ;-)

Nov 10th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!

NCP 1.18.0

Update current instance to a new Nextcloud version
Set to 0 to update to the latest avaliable version
Set to 16.0.6

Version
[ nc-update-nextcloud ]
Current Nextcloud version 16.0.5.1
Available Nextcloud version 16.0.6
Download Nextcloud 16.0.6...
Back up current instance...
check free space...
Maintenance mode enabled
backup database...
backup files...
backup /var/www//nextcloud-bkp_20191110_1573390014.tar.gz generated
Maintenance mode disabled
Install Nextcloud 16.0.6...
Restore apps...

  • bookmarks
  • calendar
  • contacts
  • news
  • nextcloudpi
  • notes
  • previewgenerator.orig
  • previewgenerator
  • registration
  • tasks
  • twofactor_admin
  • twofactor_email
  • twofactor_gateway
    Fix permissions...
    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
    Set log level to debug
    Turned on maintenance mode
    Updating database schema
    Updated database
    Updating <files_rightclick> ...
    Updated <files_rightclick> to 0.13.0
    Updating <viewer> ...
    Updated <viewer> to 1.2.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 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
    Checked for update of app "contacts" 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_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
    Update app files_rightclick from 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_texteditor in appstore
    Checked for update of app "files_texteditor" 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 gallery in appstore
    Checked for update of app "gallery" 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
    Checked for update of app "news" 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 nextcloudpi in appstore
    Checked for update of app "nextcloudpi" 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 previewgenerator in appstore
    Checked for update of app "previewgenerator" in appstore
    Checked for update of app "previewgenerator" 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 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 theming in appstore
    Checked for update of app "theming" in appstore
    Checking for update of app twofactor_admin in appstore
    Checked for update of app "twofactor_admin" 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 twofactor_email in appstore
    Checked for update of app "twofactor_email" in appstore
    Checking for update of app updatenotification in appstore
    Checked for update of app "updatenotification" 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
    Reset log level
    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.
    Done.
    Backup stored at /media/xnbox/ncdata/ncp-update-backups/nextcloud-bkp_20191110_1573390014-16.0.5.1.tar.gz
    Clean up...
    All tables already up to date!

Above is successful update on rpi3B
++++++++++++++++++++++++++++++++++++++++++
Below failed one on NUCi5 box Debian 10

sudo ncp-config

NextCloudPi installer configuration

  Enter configuration for nc-update-nextcloud                           

   VERSION       16.0.6                                                 

                    <Start >          <Cancel>                          

Running nc-update-nextcloud
Current Nextcloud version 16.0.5.1
Available Nextcloud version 16.0.6
Download Nextcloud 16.0.6...
Back up current instance...
check free space...
Maintenance mode enabled
backup database...
backup files...
backup /var/www//nextcloud-bkp_20191110_1573408071.tar.gz generated
Maintenance mode disabled
Install Nextcloud 16.0.6...
Restore apps...

  • bookmarks
  • calendar
  • carnet
  • contacts
  • files_ebookreader
  • files_markdown
  • news
  • nextcloudpi
  • notes
  • onlyoffice
  • previewgenerator
  • previewgenerator.orig
  • tasks
    Fix permissions...
    Upgrade...
    Nextcloud is not installed - only a limited number of commands are available

    Command "upgrade" is not defined.

Abort
Clean up...
Rolling back to backup /var/www/nextcloud-bkp_20191110_1573408071-16.0.5.1.tar.gz...
check free space...
extracting backup file /var/www/nextcloud-bkp_20191110_1573408071-16.0.5.1.tar.gz...
restore files...
restore database...
no datadir found in backup
Maintenance mode disabled
Starting scan for user 1 out of 2 (user2)
Starting scan for user 2 out of 2 (user1)
+---------+--------+--------------+
| Folders | Files | Elapsed time |
+---------+--------+--------------+
| 5695 | 172672 | 00:06:10 |
+---------+--------+--------------+
sed: can't read /etc/php/7.2/mods-available/opcache.ini: No such file or directory
Cleanup...
Rollback failed! Data left at /var/www/ncp-data.xjVyQU
Done. Press any key...

Add Comment
Please, Sign In to add comment