Dav error updating using updater app, 9.0.019 --> 9.0.4

reported_bug
9.0.x
help

#1

Please help us by providing the following info. Before posting please also check the pinned "Known issues" thread.

Steps to reproduce
1. update via updater app (or trigger manual update thereafter), GUI is showing update is available
2. run into DAV error (see output below)
3. Manually turn of maint. mode and datafile integrety error occurs

Expected behaviour
Tell us what should happen: successfull owncloud upgrade

Actual behaviour
Tell us what happens instead, it breaks halway:

Upgrading the application activity
Upgrading the application comments
Upgrading the application dav

e e
e [Symfony\Component\Process\Exception\ProcessFailedException] e
e The command "php /owncloud/var/www/owncloud/occ upgrade" failed. e
e Exit Code: 5(Unknown error) e
e Output: e
e ================ e
e ownCloud or one of the apps require upgrade - only a limited number of commands are available e
e You may use your browser or the occ upgrade command to do the upgrade e
e Set log level to debug e
e Turned on maintenance mode e
e Checking whether the database schema can be updated (this can take a long time depending on the database size) e
e Checked database schema update e
e Checking updates of apps e
e Checking whether the database schema for eeee can be updated (this can take a long time depending on the database size) e
e Checked database schema update for apps e
e Updating database schema e
e Updated database e
e Updating eeee ... e
e Updated eeee to 0.1.6 e
e Exception: Sharing backend for file not found e
e Update failed e
e Maintenance mode is kept active e
e Reset log level e
e Error Output: e
e ================ e
e e

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
    • INVALID_HASH
      • 3rdparty/guzzlehttp/guzzle/src/Client.php
      • 3rdparty/patches.txt

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[3rdparty/guzzlehttp/guzzle/src/Client.php] => Array
(
[expected] => 34b6d5b6bf056c25c4986eef62b44dd5a8508affc120234394df55c6b9580312d19498b78398c78b55884b393f51c6997deff5c8bfd6578585c7a1fde8d9d604
[current] => def9cb679ae55b41a425a57ecb49bd010d948f47f5436e9c619e20fd1185fd9e9a21cc46d43c214bab69f70df771058b85c27f304bafddd54421e1aba3485fb3
)

                [3rdparty/patches.txt] => Array
                    (
                        [expected] => c9c980044146368b809b774e171a2f08345c75a7c622f3153d3c2881ee06dcd9abbe3e342f3ea36b2e8e85c2f77610286de1576c60d14c3532b6ec2fca1a1e1e
                        [current] => 4e5c76601cd13c1122641fd50e47d81abdd5abe75390ab9d1cbb70e59f5d9f88e1c76dafebee17b62a1bccb0fa70b319b76511a3670cdec6398a6a1204026db2
                    )

            )

    )

)

Server configuration
Operating system:
Web server: apache
Database: mysql
PHP version: 7
ownCloud version (see ownCloud admin page): 9.0.0.19
Updated from an older ownCloud or fresh install: fresh install
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808):

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): nope

Integrity status for oC9+

Login as admin user into your ownCloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

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
    • INVALID_HASH
      • 3rdparty/guzzlehttp/guzzle/src/Client.php
      • 3rdparty/patches.txt

Raw output

Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[3rdparty/guzzlehttp/guzzle/src/Client.php] => Array
(
[expected] => 34b6d5b6bf056c25c4986eef62b44dd5a8508affc120234394df55c6b9580312d19498b78398c78b55884b393f51c6997deff5c8bfd6578585c7a1fde8d9d604
[current] => def9cb679ae55b41a425a57ecb49bd010d948f47f5436e9c619e20fd1185fd9e9a21cc46d43c214bab69f70df771058b85c27f304bafddd54421e1aba3485fb3
)

                [3rdparty/patches.txt] => Array
                    (
                        [expected] => c9c980044146368b809b774e171a2f08345c75a7c622f3153d3c2881ee06dcd9abbe3e342f3ea36b2e8e85c2f77610286de1576c60d14c3532b6ec2fca1a1e1e
                        [current] => 4e5c76601cd13c1122641fd50e47d81abdd5abe75390ab9d1cbb70e59f5d9f88e1c76dafebee17b62a1bccb0fa70b319b76511a3670cdec6398a6a1204026db2
                    )

            )

    )

)


#2

Could you re-post the error you got? Seems the lines where stripped.


#3

This is the exact error from GUI, if it is not enough i'll rerun the update (put snapshot back now) and reproduce let me know. I checked dav app version and it seems to be running 0.1.6, can't disable it for the update. Little cautious too as this is a production environment (our company is evaluating the product).

Upgrading the application activity
Upgrading the application comments
Upgrading the application dav

e e
e [Symfony\Component\Process\Exception\ProcessFailedException] e
e The command "php /owncloud/var/www/owncloud/occ upgrade" failed. e
e Exit Code: 5(Unknown error) e
e Output: e
e ================ e
e ownCloud or one of the apps require upgrade - only a limited number of commands are available e
e You may use your browser or the occ upgrade command to do the upgrade e
e Set log level to debug e
e Turned on maintenance mode e
e Checking whether the database schema can be updated (this can take a long time depending on the database size) e
e Checked database schema update e
e Checking updates of apps e
e Checking whether the database schema for eeee can be updated (this can take a long time depending on the database size) e
e Checked database schema update for apps e
e Updating database schema e
e Updated database e
e Updating eeee ... e
e Updated eeee to 0.1.6 e
e Exception: Sharing backend for file not found e
e Update failed e
e Maintenance mode is kept active e
e Reset log level e
e Error Output: e
e ================ e
e e


#4

Where are those "e" are coming from? Especially this doesn't look right:

e Updated eeee to 0.1.6 e


#5

Rtf characters appearantly. Please see picture for exact output.


#6

Ahhh, got it. I've assumed that the output was stripped because those "e" where at the end of each line.

According to this bugreport:

this issue should be already fixed in oC 9.0.3:

If that still happens on a update from oC 9.0.0 to 9.0.4 please report a new bug at:

https://github.com/owncloud/core/issues

referencing to the old one.


#7

Thanks for reporting this to the bugtracker. Here is the reference:


#8

Pff, you are quick! Wanted to update this post, but thanks!


#9

Looks like the file sharing app is not enabled - right?


#10

Before trying the update this is the app status

Enabled:
- activity: 2.2.1
- comments: 0.2
- dav: 0.1.5
- federatedfilesharing: 0.1.0
- federation: 0.0.4
- files: 1.4.4
- files_external: 0.5.2
- files_pdfviewer: 0.8
- files_sharing: 0.9.1
- files_texteditor: 2.1
- files_trashbin: 0.8.0
- files_versions: 1.2.0
- files_videoplayer: 0.9.8
- firstrunwizard: 1.1
- gallery: 14.5.0
- notifications: 0.2.3
- provisioning_api: 0.4.1
- systemtags: 0.2
- templateeditor: 0.1
- updatenotification: 0.1.0
- user_ldap: 0.8.0
Disabled:
- encryption
- external
- user_external