Log file: something worng?


I see four things I do not understand on the log file.

{“reqId”:“lkMmjY7IuH4DEWJKKJeC”,“level”:3,“time”:“2021-01-15T08:40:11+00:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"–",“url”:"–",“message”:“Trying to access array offset on value of type bool at /var/www/owncloud/apps/files_versions/lib/Storage.php#578”}
{“reqId”:“lkMmjY7IuH4DEWJKKJeC”,“level”:3,“time”:“2021-01-15T08:40:11+00:00”,“remoteAddr”:"",“user”:"–",“app”:“PHP”,“method”:"–",“url”:"–",“message”:“Trying to access array offset on value of type bool at /var/www/owncloud/apps/files_versions/lib/Storage.php#579”}

{“reqId”:“h5kL0G4Tmk6s48yV4OQL”,“level”:3,“time”:“2021-01-15T15:06:15+00:00”,“remoteAddr”:“”,“user”:“gianpaolo”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/remote.php/dav/files/gianpaolo/ShuttleTest.mp3?c=794b1c72f180db69fc8d1adbe779f5d6&x=32&y=32&forceIcon=0&preview=1",“message”:“imagecreatefromstring(): Empty string or invalid image at /var/www/owncloud/lib/private/legacy/image.php#573”}
{“reqId”:“HKApAdDB1VGGytRIRkuk”,“level”:3,“time”:“2021-01-15T15:06:32+00:00”,“remoteAddr”:“”,“user”:“gianpaolo”,“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/remote.php/dav/files/gianpaolo/ShuttleTest.mp3?c=794b1c72f180db69fc8d1adbe779f5d6&x=32&y=32&forceIcon=0&preview=1",“message”:“file_get_contents(/var/www/owncloud/data/gianpaolo/files/var/www/owncloud/core/img/filetypes/audio.svg): failed to open stream: No such file or directory at /var/www/owncloud/lib/private/Files/Storage/Local.php#227”}

Can you help me to understand if something is wrong?

Thank you!


Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system: Linux Mint 19.1

Web server: Apache 2.4.29

Database: Ver 10.1.47-MariaDB-0ubuntu0.18.04.1 for debian-linux-gnu on x86_64

PHP version: 7.4.13

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install: updated from 10.0.1

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.


If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';

Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration


Operating system:


Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

Do you get yellow setup warnings if you log in as an admin?

This path looks funny as the part /var/www/owncloud/ is twice in there. So perhaps there is some funny configuration in your ownCloud?

However you didn’t completely fill out the post template, so we can’t know until you catch up on that.

1 Like

Hi! Thank you for your help.

I get yellow setup when I login as admin. I then tried and I get this output:

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


  • wallpaper
      • css/login.css
      • css/login_old.css
      • css/login.css.save

Raw output

[wallpaper] => Array
[css/login.css] => Array
[expected] => 083b5c79ce39f6c320855402c498c133bbfb69f0158f9f20fff15bfc16c40d6825b0e96d3beb312646c706fe2418912bbe60c383dcf79193fe4b8ae935abf15e
[current] => 8b5f5c511cb8c546f381500cbb53d3809f350981062a28b88357b3a06dedd9c3c5cfb4dc24e1b9a4ca03ca0a20d4abde2758130f6b4d772fdd6e682569d9af49


        [EXTRA_FILE] => Array
                [css/login_old.css] => Array
                        [expected] => 
                        [current] => 083b5c79ce39f6c320855402c498c133bbfb69f0158f9f20fff15bfc16c40d6825b0e96d3beb312646c706fe2418912bbe60c383dcf79193fe4b8ae935abf15e

                [css/login.css.save] => Array
                        [expected] => 
                        [current] => 1478fd7523ad3b6c80c2b7a4071bb005ff09576768d86feeea587b2f992a7ebb3e766382e6307a9dd6e65cb8977b290fbdb90a818e51c0074ae73253b28b07cd




And so I understood the first part of the problem.

For the second part, where can I check from your point of view? Is there some file I can post to try to let you help me?

You really should follow their advises!