enabletheming(手动升级nextcloud至最新版)

前端web升級可能因網絡延迟或中断,导致升级失败造成资料损失,所以生产**建议后端透过指令手动升级,执行步骤如下: [root@ksnc nextcloud]# sudo -u apache php occ maintenance:mode --on...

前端web升級可能因網絡延迟或中断,导致升级失败造成资料损失,所以生产**建议后端透过指令手动升级,执行步骤如下:

[root@ksnc nextcloud]# sudo -u apache php occ maintenance:mode --on

Maintenance mode enabled

[root@ksnc nextcloud]# sudo -u apache php updater/updater.phar

Nextcloud Updater - version: v19.0.3-8-gbfdc40b

Current version is 19.0.10.

Update to Nextcloud 20.0.9 available. (channel: "stable")

Following file will be downloaded automatically: https://download.nextcloud.com/server/releases/nextcloud-20.0.9.zip

Open changelog ↗

Steps that will be executed:

[ ] Check for expected files

[ ] Check for write permissions

[ ] Create backup

[ ] Downloading

[ ] Verify integrity

[ ] Extracting

[ ] Enable maintenance mode

[ ] Replace entry points

[ ] Delete old files

[ ] Move new files in place

[ ] Done

Start update? [y/N] y

Info: Pressing Ctrl-C will finish the currently running step and then stops the updater.

[✔] Check for expected files

[✔] Check for write permissions

[✔] Create backup

[✔] Downloading

[✔] Verify integrity

[✔] Extracting

[✔] Enable maintenance mode

[✔] Replace entry points

[✔] Delete old files

[✔] Move new files in place

[✔] Done

Update of code succes**ul.

Should the "occ upgrade" command be executed? [Y/n] y

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

2021-05-01T22:58:00+00:00 Setting log level to debug

2021-05-01T22:58:00+00:00 Repair step: Repair MySQL collation

2021-05-01T22:58:00+00:00 Repair info: All tables already have the correct collation -> nothing to do

2021-05-01T22:58:00+00:00 Repair step: Repair SQLite autoincrement

2021-05-01T22:58:00+00:00 Repair step: Copy data from accounts table when migrating from ownCloud

2021-05-01T22:58:00+00:00 Repair step: Drop account terms table when migrating from ownCloud

2021-05-01T22:58:00+00:00 Updating database schema

2021-05-01T22:58:07+00:00 Updated database

2021-05-01T22:58:07+00:00 Updating <federation> ...

2021-05-01T22:58:08+00:00 Updated <federation> to 1.10.1

2021-05-01T22:58:08+00:00 Updating <lookup_server_connector> ...

2021-05-01T22:58:08+00:00 Updated <lookup_server_connector> to 1.8.0

2021-05-01T22:58:08+00:00 Updating <oauth2> ...

2021-05-01T22:58:08+00:00 Repair step: Update OAuth token expiration times

2021-05-01T22:58:08+00:00 Updated <oauth2> to 1.8.0

2021-05-01T22:58:08+00:00 Updating <password_policy> ...

2021-05-01T22:58:08+00:00 Updated <password_policy> to 1.10.1

2021-05-01T22:58:08+00:00 Updating <user_ldap> ...

2021-05-01T22:58:09+00:00 Repair step: Insert UUIDFix background job for user and group in batches

2021-05-01T22:58:09+00:00 Repair step: Remove deprecated refresh time markers for LDAP user records

2021-05-01T22:58:09+00:00 Updated <user_ldap> to 1.10.2

2021-05-01T22:58:09+00:00 Updating <files> ...

2021-05-01T22:58:09+00:00 Updated <files> to 1.15.0

2021-05-01T22:58:09+00:00 Updating <activity> ...

2021-05-01T22:58:12+00:00 Updated <activity> to 2.13.4

2021-05-01T22:58:12+00:00 Updating <cloud_federation_api> ...

2021-05-01T22:58:12+00:00 Updated <cloud_federation_api> to 1.3.0

2021-05-01T22:58:12+00:00 Updating <dav> ...

2021-05-01T22:58:13+00:00 Repair step: Fix component of birthday calendars

2021-05-01T22:58:13+00:00 Repair info: 26 birthday calendars updated.

2021-05-01T22:58:13+00:00 Repair step: Regenerating birthday calendars to use new icons and fix old birthday events without year

2021-05-01T22:58:13+00:00 Repair info: Repair step already executed

2021-05-01T22:58:13+00:00 Repair step: Fix broken values of calendar objects

2021-05-01T22:58:13+00:00 Fix broken values of calendar objects

2021-05-01T22:58:13+00:00

2021-05-01T22:58:13+00:00 Starting ...

0/0 [>-] 0%2021-05-01T22:58:13+00:00

2021-05-01T22:58:13+00:00 Repair step: Registering building of calendar search index as background job

2021-05-01T22:58:13+00:00 Repair info: Repair step already executed

2021-05-01T22:58:13+00:00 Repair step: Registering background jobs to update cache for webcal calendars

2021-05-01T22:58:13+00:00 Repair info: Added 0 background jobs to update webcal calendars

2021-05-01T22:58:13+00:00 Repair step: Registering building of calendar reminder index as background job

2021-05-01T22:58:13+00:00 Repair info: Repair step already executed

2021-05-01T22:58:13+00:00 Repair step: Clean up orphan event and contact data

2021-05-01T22:58:13+00:00 Repair info: 0 events without a calendar have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 properties without an events have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 changes without a calendar have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 cached events without a calendar subscription have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 changes without a calendar subscription have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 contacts without an addressbook have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 properties without a contact have been cleaned up

2021-05-01T22:58:13+00:00 Repair info: 0 changes without an addressbook have been cleaned up

2021-05-01T22:58:13+00:00 Repair step: Remove activity entries of private events

2021-05-01T22:58:13+00:00 Repair info: Removed 0 activity entries

2021-05-01T22:58:13+00:00 Updated <dav> to 1.16.2

2021-05-01T22:58:13+00:00 Updating <files_sharing> ...

2021-05-01T22:58:15+00:00 Repair step: Fix the share type of guest shares when migrating from ownCloud

2021-05-01T22:58:15+00:00 Repair step: Copy the share password into the dedicated column

2021-05-01T22:58:15+00:00 Repair step: Set existing shares as accepted

2021-05-01T22:58:15+00:00 Updated <files_sharing> to 1.12.2

2021-05-01T22:58:15+00:00 Updating <files_trashbin> ...

2021-05-01T22:58:16+00:00 Updated <files_trashbin> to 1.10.1

2021-05-01T22:58:16+00:00 Updating <files_versions> ...

2021-05-01T22:58:16+00:00 Updated <files_versions> to 1.13.0

2021-05-01T22:58:16+00:00 Updating <sharebymail> ...

2021-05-01T22:58:16+00:00 Updated <sharebymail> to 1.10.0

2021-05-01T22:58:16+00:00 Updating <workflowengine> ...

2021-05-01T22:58:16+00:00 Repair step: Populating added database structures for workflows

2021-05-01T22:58:16+00:00 Updated <workflowengine> to 2.2.0

2021-05-01T22:58:16+00:00 Updating <comments> ...

2021-05-01T22:58:16+00:00 Updated <comments> to 1.10.0

2021-05-01T22:58:16+00:00 Updating <firstrunwizard> ...

2021-05-01T22:58:16+00:00 Updated <firstrunwizard> to 2.9.0

2021-05-01T22:58:16+00:00 Updating <nextcloud_announcements> ...

2021-05-01T22:58:16+00:00 Updated <nextcloud_announcements> to 1.9.0

2021-05-01T22:58:16+00:00 Updating <notifications> ...

2021-05-01T22:58:16+00:00 Updated <notifications> to 2.8.0

2021-05-01T22:58:16+00:00 Updating <systemtags> ...

2021-05-01T22:58:16+00:00 Updated <systemtags> to 1.10.0

2021-05-01T22:58:16+00:00 Updating <theming> ...

2021-05-01T22:58:16+00:00 Updated <theming> to 1.11.0

2021-05-01T22:58:16+00:00 Updating <accessibility> ...

2021-05-01T22:58:16+00:00 Repair step: Migrate old user config

2021-05-01T22:58:16+00:00 Migrate old user config

2021-05-01T22:58:16+00:00

2021-05-01T22:58:16+00:00 Starting ...

0/0 [->] 0%2021-05-01T22:58:17+00:00

Starting ...

1/0 [--->] 0%2021-05-01T22:58:17+00:00

Starting ...

12/0 [----->] 0%2021-05-01T22:58:17+00:00

Starting ...

26/0 [------->] 0%2021-05-01T22:58:17+00:00

Starting ...

40/0 [--------->] 0%2021-05-01T22:58:18+00:00

2021-05-01T22:58:18+00:00 Updated <accessibility> to 1.6.0

2021-05-01T22:58:18+00:00 Updating <contactsinteraction> ...

2021-05-01T22:58:18+00:00 Updated <contactsinteraction> to 1.1.0

2021-05-01T22:58:18+00:00 Updating <federatedfilesharing> ...

2021-05-01T22:58:20+00:00 Updated <federatedfilesharing> to 1.10.2

2021-05-01T22:58:20+00:00 Updating <files_pdfviewer> ...

2021-05-01T22:58:20+00:00 Updated <files_pdfviewer> to 2.0.1

2021-05-01T22:58:20+00:00 Updating <files_rightclick> ...

2021-05-01T22:58:20+00:00 Updated <files_rightclick> to 0.17.0

2021-05-01T22:58:20+00:00 Updating <files_videoplayer> ...

2021-05-01T22:58:20+00:00 Updated <files_videoplayer> to 1.9.0

2021-05-01T22:58:20+00:00 Updating <logreader> ...

2021-05-01T22:58:20+00:00 Updated <logreader> to 2.5.0

2021-05-01T22:58:20+00:00 Updating <photos> ...

2021-05-01T22:58:20+00:00 Updated <photos> to 1.2.3

2021-05-01T22:58:20+00:00 Updating <privacy> ...

2021-05-01T22:58:20+00:00 Updated <privacy> to 1.4.0

2021-05-01T22:58:20+00:00 Updating <provisioning_api> ...

2021-05-01T22:58:20+00:00 Updated <provisioning_api> to 1.10.0

2021-05-01T22:58:20+00:00 Updating <recommendations> ...

2021-05-01T22:58:20+00:00 Updated <recommendations> to 0.8.0

2021-05-01T22:58:20+00:00 Updating <serverinfo> ...

2021-05-01T22:58:20+00:00 Updated <serverinfo> to 1.10.0

2021-05-01T22:58:20+00:00 Updating <settings> ...

2021-05-01T22:58:20+00:00 Updated <settings> to 1.2.0

2021-05-01T22:58:20+00:00 Updating <support> ...

2021-05-01T22:58:20+00:00 Repair step: Switches from default updater server to the customer one if a valid subscription is available

2021-05-01T22:58:20+00:00 Repair info: Repair step already executed

2021-05-01T22:58:20+00:00 Updated <support> to 1.3.0

2021-05-01T22:58:20+00:00 Updating <survey_client> ...

2021-05-01T22:58:20+00:00 Repair step: Send an admin notification if monthly report is disabled

2021-05-01T22:58:20+00:00 Updated <survey_client> to 1.8.0

2021-05-01T22:58:20+00:00 Updating <text> ...

2021-05-01T22:58:21+00:00 Updated <text> to 3.1.0

2021-05-01T22:58:21+00:00 Updating <twofactor_backupcodes> ...

2021-05-01T22:58:21+00:00 Repair step: Add background job to check for backup codes

2021-05-01T22:58:21+00:00 Updated <twofactor_backupcodes> to 1.9.0

2021-05-01T22:58:21+00:00 Updating <updatenotification> ...

2021-05-01T22:58:21+00:00 Updated <updatenotification> to 1.10.0

2021-05-01T22:58:21+00:00 Updating <viewer> ...

2021-05-01T22:58:21+00:00 Updated <viewer> to 1.4.0

2021-05-01T22:58:21+00:00 Checking for update of app accessibility in appstore

2021-05-01T22:58:24+00:00 Checked for update of app "accessibility" in appstore

2021-05-01T22:58:24+00:00 Checking for update of app activity in appstore

2021-05-01T22:58:24+00:00 Checked for update of app "activity" in appstore

2021-05-01T22:58:24+00:00 Checking for update of app bruteforcesettings in appstore

2021-05-01T22:58:24+00:00 Update app bruteforcesettings from appstore

2021-05-01T22:58:30+00:00 Checked for update of app "bruteforcesettings" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app cloud_federation_api in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "cloud_federation_api" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app comments in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "comments" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app contacts in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "contacts" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app contactsinteraction in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "contactsinteraction" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app dav in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "dav" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app federatedfilesharing in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "federatedfilesharing" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app federation in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "federation" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_pdfviewer in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_pdfviewer" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_rightclick in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_rightclick" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_sharing in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_sharing" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_trashbin in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_trashbin" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_versions in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_versions" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app files_videoplayer in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "files_videoplayer" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app firstrunwizard in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "firstrunwizard" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app logreader in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "logreader" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app lookup_server_connector in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "lookup_server_connector" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app nextcloud_announcements in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "nextcloud_announcements" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app notifications in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "notifications" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app oauth2 in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "oauth2" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app password_policy in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "password_policy" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app photos in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "photos" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app privacy in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "privacy" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app provisioning_api in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "provisioning_api" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app recommendations in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "recommendations" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app serverinfo in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "serverinfo" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app settings in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "settings" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app sharebymail in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "sharebymail" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app support in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "support" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app survey_client in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "survey_client" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app systemtags in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "systemtags" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app text in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "text" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app theming in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "theming" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app twofactor_backupcodes in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "twofactor_backupcodes" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app updatenotification in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "updatenotification" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app user_ldap in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "user_ldap" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app viewer in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "viewer" in appstore

2021-05-01T22:58:30+00:00 Checking for update of app workflowengine in appstore

2021-05-01T22:58:30+00:00 Checked for update of app "workflowengine" in appstore

2021-05-01T22:58:32+00:00 Repair step: Repair MySQL collation

2021-05-01T22:58:32+00:00 Repair info: All tables already have the correct collation -> nothing to do

2021-05-01T22:58:32+00:00 Repair step: Repair mime types

2021-05-01T22:58:33+00:00 Repair step: Clean tags and favorites

2021-05-01T22:58:33+00:00 Repair info: 0 tags of deleted users have been removed.

2021-05-01T22:58:33+00:00 Repair info: 0 tags for delete files have been removed.

2021-05-01T22:58:33+00:00 Repair info: 0 tag entries for deleted tags have been removed.

2021-05-01T22:58:33+00:00 Repair info: 0 tags with no entries have been removed.

2021-05-01T22:58:33+00:00 Repair step: Repair invalid shares

2021-05-01T22:58:33+00:00 Repair step: Move .step file of updater to backup location

2021-05-01T22:58:33+00:00 Repair info: .step file exists

2021-05-01T22:58:33+00:00 Repair info: .step-previous-update removed

2021-05-01T22:58:33+00:00 Repair info: .step file moved to .step-previous-update

2021-05-01T22:58:33+00:00 Repair step: Add move avatar background job

2021-05-01T22:58:33+00:00 Repair info: Add background job

2021-05-01T22:58:33+00:00 Repair step: Add preview cleanup background jobs

2021-05-01T22:58:33+00:00 Repair step: Fix potential broken mount points

2021-05-01T22:58:33+00:00 Repair info: No mounts updated

2021-05-01T22:58:33+00:00 Repair step: Repair language codes

2021-05-01T22:58:33+00:00 Repair step: Install new core bundle components

2021-05-01T22:58:33+00:00 Repair step: Add log rotate job

2021-05-01T22:58:33+00:00 Repair step: Clear frontend caches

2021-05-01T22:58:33+00:00 Repair info: Image cache cleared

2021-05-01T22:58:33+00:00 Repair info: SCSS cache cleared

2021-05-01T22:58:33+00:00 Repair info: JS cache cleared

2021-05-01T22:58:33+00:00 Repair step: Clear every generated avatar on major updates

2021-05-01T22:58:33+00:00 Repair step: Add preview background cleanup job

2021-05-01T22:58:33+00:00 Repair step: Queue a one-time job to cleanup old backups of the updater

2021-05-01T22:58:33+00:00 Repair step: Cleanup invalid photocache files for carddav

2021-05-01T22:58:33+00:00 Repair step: Add background job to cleanup login flow v2 tokens

2021-05-01T22:58:33+00:00 Repair step: Remove potentially over exposing share links

2021-05-01T22:58:33+00:00 Repair info: No need to remove link shares.

2021-05-01T22:58:33+00:00 Repair step: Clear access cache of projects

2021-05-01T22:58:33+00:00 Repair step: Reset generated avatar flag

2021-05-01T22:58:33+00:00 Repair step: Keep legacy encryption enabled

2021-05-01T22:58:33+00:00 Repair step: Check encryption key format

2021-05-01T22:58:33+00:00 Repair step: Remove old dashboard app config data

2021-05-01T22:58:33+00:00 Repair step: Repair DAV shares

2021-05-01T22:58:33+00:00 Repair info: Repaired DAV group shares

2021-05-01T22:58:33+00:00 Starting code integrity check...

2021-05-01T22:58:40+00:00 Finished code integrity check

2021-05-01T22:58:40+00:00 Update succes**ul

2021-05-01T22:58:40+00:00 Maintenance mode is kept active

2021-05-01T22:58:40+00:00 Resetting log level

Keep maintenance mode active? [y/N] n

Maintenance mode disabled

Maintenance mode is disabled

即完成手动更新。

升级后相关排错,请参另一条nextcloud排错文章。

  • 发表于 2023-02-06 21:54
  • 阅读 ( 216 )
  • 分类:商业服务

0 条评论

请先 登录 后评论
水色空萌
水色空萌

438 篇文章

感兴趣的文章

相关问题