hello, new version of owncloud 10.3 arrived, any idea how to safely update?
update:
I performed this:
pkg install php70-phar
pkg install sudo
cd /usr/local/www/owncloud/updater
sudo -u www php application.php
ownCloud updater 1.0 - CLI based ownCloud server upgrades
Checking system health.
- file permissions are ok.
Current version is 10.0.2.1
Online version is 10.0.3 [stable]
What would you do next?
[0] download
[1] upgrade
[2] abort
> 1
Downloaded 100% (46697498 of 46697498)
Created checkpoint 10.0.2.1-59cf8845864b5
Disable app calendar: [success]
Disable app comments: [success]
Disable app contacts: [success]
Disable app files_videoplayer: [success]
Disable app firstrunwizard: [success]
Disable app gallery: [success]
Disable app market: [success]
Disable app notifications: [success]
Disable app systemtags: [success]
Disable app templateeditor: [success]
Extracting source into /media/updater-data/_oc_upgrade/10.0.3
PHP Notice: Array to string conversion in /usr/local/www/owncloud/updater/src/Command/ExecuteCoreUpgradeScriptsCommand.p hp on line 185
PHP Notice: Array to string conversion in /usr/local/www/owncloud/updater/src/Command/ExecuteCoreUpgradeScriptsCommand.p hp on line 185
PHP Notice: Array to string conversion in /usr/local/www/owncloud/updater/src/Command/ExecuteCoreUpgradeScriptsCommand.p hp on line 185
Copying the application comments
Copying the application configreport
Copying the application dav
Copying the application encryption
Copying the application external
Copying the application federatedfilesharing
Copying the application federation
Copying the application files
Copying the application files_antivirus
Copying the application files_external
Copying the application files_sharing
Copying the application files_trashbin
Copying the application files_versions
Copying the application files_videoplayer
Copying the application firstrunwizard
Copying the application market
Copying the application notifications
Copying the application provisioning_api
Copying the application systemtags
Copying the application templateeditor
Copying the application theme-example
Copying the application updatenotification
Copying the application user_external
2017-09-30T12:05:20+00:00 Set log level to debug
2017-09-30T12:05:20+00:00 Turned on maintenance mode
2017-09-30T12:05:20+00:00 Repair step: Repair MySQL database engine
2017-09-30T12:05:20+00:00 Repair step: Repair MySQL collation
2017-09-30T12:05:20+00:00 Repair info: Change collation for oc_migrations ...
2017-09-30T12:05:21+00:00 Repair step: Repair SQLite autoincrement
2017-09-30T12:05:21+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2017-09-30T12:05:21+00:00 Repair info: lucene_status table does not exist -> nothing to do
2017-09-30T12:05:21+00:00 Repair step: Upgrade app code from the marketplace
2017-09-30T12:05:21+00:00 Repair warning: Market app is unavailable for updating of apps. Please update manually, see
https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps
2017-09-30T12:05:21+00:00 Updating database schema
2017-09-30T12:05:30+00:00 Updated database
2017-09-30T12:05:30+00:00 Updating <federatedfilesharing> ...
2017-09-30T12:05:31+00:00 Updated <federatedfilesharing> to 0.3.1
2017-09-30T12:05:31+00:00 Updating <dav> ...
2017-09-30T12:05:32+00:00 Updated <dav> to 0.3.0
2017-09-30T12:05:32+00:00 Updating <files_external> ...
2017-09-30T12:05:32+00:00 Updated <files_external> to 0.7.1
2017-09-30T12:05:32+00:00 Updating <files_sharing> ...
2017-09-30T12:05:34+00:00 Updated <files_sharing> to 0.10.1
2017-09-30T12:05:34+00:00 Updating <files_trashbin> ...
2017-09-30T12:05:35+00:00 Updated <files_trashbin> to 0.9.1
2017-09-30T12:05:35+00:00 Repair step: Repair mime types
2017-09-30T12:05:35+00:00 Repair step: Generate ETags for file where no ETag is present.
2017-09-30T12:05:35+00:00 Repair info: ETags have been fixed for 0 files/folders.
2017-09-30T12:05:35+00:00 Repair step: Clean tags and favorites
2017-09-30T12:05:35+00:00 Repair info: 0 tags of deleted users have been removed.
2017-09-30T12:05:35+00:00 Repair info: 0 tags for delete files have been removed.
2017-09-30T12:05:35+00:00 Repair info: 0 tag entries for deleted tags have been removed.
2017-09-30T12:05:35+00:00 Repair info: 0 tags with no entries have been removed.
2017-09-30T12:05:35+00:00 Repair step: Drop old database tables
2017-09-30T12:05:35+00:00 Drop old database tables
2017-09-30T12:05:35+00:00
2017-09-30T12:05:35+00:00
2017-09-30T12:05:35+00:00 Repair step: Drop old background jobs
2017-09-30T12:05:35+00:00 Repair step: Remove getetag entries in properties table
2017-09-30T12:05:35+00:00 Repair info: Removed 0 unneeded "{DAV:}getetag" entries from properties table.
2017-09-30T12:05:35+00:00 Repair step: Repair outdated OCS IDs
2017-09-30T12:05:35+00:00 Repair step: Repair invalid shares
2017-09-30T12:05:35+00:00 Repair step: Remove old share propagation app entries
2017-09-30T12:05:35+00:00 Repair step: Fix permissions so avatars can be stored again
2017-09-30T12:05:35+00:00 Fix permissions so avatars can be stored again
2017-09-30T12:05:35+00:00
2017-09-30T12:05:35+00:00
2017-09-30T12:05:35+00:00 Repair step: Move user avatars outside the homes to the new location
2017-09-30T12:05:35+00:00 Repair step: Remove shares of a users root folder
2017-09-30T12:05:35+00:00 Repair step: Repair unmerged shares
2017-09-30T12:05:35+00:00 Starting code integrity check...
2017-09-30T12:05:48+00:00 Finished code integrity check
2017-09-30T12:05:48+00:00 Update successful
2017-09-30T12:05:48+00:00 Turned off maintenance mode
2017-09-30T12:05:48+00:00 Reset log level
Enable app calendar: [success]
Enable app comments: [success]
Enable app contacts: [success]
Enable app files_videoplayer: [success]
Enable app firstrunwizard: [success]
Enable app gallery: [success]
Enable app market: [success]
Enable app notifications: [success]
Enable app systemtags: [success]
Enable app templateeditor: [success]
Done
Done
After that I am on Owncloud 10.3 but I see some notices in Settings: Some files have not passed the integrity check:
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- FILE_MISSING
- CHANGELOG.md
- files_antivirus
- EXTRA_FILE
- appinfo/Migrations/Version20170808220321.php
- appinfo/Migrations/Version20170808221437.php
- appinfo/Migrations/Version20170808222334.php
- CHANGELOG.md
- notifications
- EXTRA_FILE
- lib/Notifier.php
- lib/Command/Generate.php
- appinfo/Migrations/Version20170801152524.php
- appinfo/Migrations/Version20170801085340.php
- Makefile
- CHANGELOG.md
- img/icon.png
I have fixed that message by removing unnecessary files and adding missing one.
After rescan, I have:
Security & setup warnings
All checks passed.
So, all looks OK!