Some folders not available in Files area


#1

I have rescanned this files multiple times with “sudo -u apache /usr/share/owncloud/occ files:scan madams -vvv”, for example. It runs successfully with no error, but it has not resolved the issue.

Expected behaviour

The remainder of the folders on my media server should appear in the Owncloud Files area.

Actual behaviour

Only some of the folders appear in the Owncloud Files area for my media server.

Steps to reproduce

  1. configure as local storage in the Files area
  2. check the Files area
  3. observe about half of the folders that should be available appear in the Owncloud Files area.

Server configuration

Operating system:
Mageia 5, kernel 4.4.114-desktop-1.mga5

Web server:
apache-2.4.10-16.7.mga5

Database:
mariadb-10.0.36-1.mga5

PHP version:

PHP Version 5.6.36

ownCloud version:
owncloud-8.0.15-1.mga5.noarch – yes, this is an old version. If I had the 6-8 hours it takes to fix an upgrade, I’d try it, but I don’t. I’ll upgrade when Mageia decides I need to upgrade and sends the package to me. Otherwise this version should work.

Storage backend (external storage):
No idea what you want here.

Client configuration

Client version: no idea where to find this.

Operating system: Mageia 6 4.14.104-desktop-2.mga6

OS language: English

Qt version used by client package (Linux only, see also Settings dialog): I don’t know

Client package (From ownCloud or distro) (Linux only): No clue

Installation path of client: /var/lib/owncloud ?

Logs

Please use Gist (https://gist.github.com/) or a similar code paster for longer
logs.

Template for output < 10 lines

  1. Client logfile: Output of owncloud --logwindow or owncloud --logfile log.txt
    (On Windows using cmd.exe, you might need to first cd into the ownCloud directory)
    (See also http://doc.owncloud.org/desktop/2.2/troubleshooting.html#client-logfile )

tail owncloud.log

{“reqId”:“b5a56079cc4826ad0f60f93769b4bda6”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:23+00:00”}
{“reqId”:“b5a56079cc4826ad0f60f93769b4bda6”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:23+00:00”}
{“reqId”:“ca7ebd873154fb3ddd5868af01e62853”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#100”,“level”:3,“time”:“2018-08-08T04:50:25+00:00”}
{“reqId”:“ca7ebd873154fb3ddd5868af01e62853”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:25+00:00”}
{“reqId”:“ca7ebd873154fb3ddd5868af01e62853”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:25+00:00”}
{“reqId”:“ca7ebd873154fb3ddd5868af01e62853”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:25+00:00”}
{“reqId”:“7f37b88c7004c894c9eee5ad40558458”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#100”,“level”:3,“time”:“2018-08-08T04:50:27+00:00”}
{“reqId”:“7f37b88c7004c894c9eee5ad40558458”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:27+00:00”}
{“reqId”:“7f37b88c7004c894c9eee5ad40558458”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:27+00:00”}
{“reqId”:“7f37b88c7004c894c9eee5ad40558458”,“remoteAddr”:“174.194.36.155”,“app”:“PHP”,“message”:“Cannot modify header information - headers already sent by (output started at /usr/share/owncloud/lib/private/image.php:249) at /usr/share/owncloud/lib/private/appframework/app.php#104”,“level”:3,“time”:“2018-08-08T04:50:27+00:00”}

  1. Web server error log:
    [Sun Mar 24 17:55:25.241570 2019] [ssl:debug] [pid 23947] ssl_engine_io.c(1004): [client 46.229.168.137:57240] AH02001: Connection closed to child 13 with standard shutdown (server adams-lan.org:443)
    [Sun Mar 24 17:56:15.853518 2019] [ssl:info] [pid 23400] [client 46.229.168.136:54496] AH01964: Connection to child 1 established (server localhost:443)
    [Sun Mar 24 17:56:15.853734 2019] [socache_shmcb:debug] [pid 23400] mod_socache_shmcb.c(527): AH00835: socache_shmcb_retrieve (0x40 -> subcache 0)
    [Sun Mar 24 17:56:15.853746 2019] [socache_shmcb:debug] [pid 23400] mod_socache_shmcb.c(883): AH00851: shmcb_subcache_retrieve found no match
    [Sun Mar 24 17:56:15.853752 2019] [socache_shmcb:debug] [pid 23400] mod_socache_shmcb.c(537): AH00836: leaving socache_shmcb_retrieve successfully
    [Sun Mar 24 17:56:15.853786 2019] [ssl:debug] [pid 23400] ssl_engine_kernel.c(1908): [client 46.229.168.136:54496] AH02043: SSL virtual host for servername adams-lan.org found
    [Sun Mar 24 17:56:15.923511 2019] [ssl:debug] [pid 23400] ssl_engine_kernel.c(1841): [client 46.229.168.136:54496] AH02041: Protocol: TLSv1.2, Cipher: AES128-SHA (128/128 bits)
    [Sun Mar 24 17:56:15.995795 2019] [ssl:debug] [pid 23400] ssl_engine_kernel.c(243): [client 46.229.168.136:54496] AH02034: Initial (No.1) HTTPS request received for child 1 (server adams-lan.org:443)
    [Sun Mar 24 17:56:15.995888 2019] [authz_core:debug] [pid 23400] mod_authz_core.c(802): [client 46.229.168.136:54496] AH01626: authorization result of Require all granted: granted
    [Sun Mar 24 17:56:15.995902 2019] [authz_core:debug] [pid 23400] mod_authz_core.c(802): [client 46.229.168.136:54496] AH01626: authorization result of : granted
    [Sun Mar 24 17:56:16.095870 2019] [ssl:debug] [pid 23400] ssl_engine_io.c(1004): [client 46.229.168.136:54496] AH02001: Connection closed to child 1 with standard shutdown (server adams-lan.org:443)
    [Sun Mar 24 17:56:24.930313 2019] [ssl:info] [pid 22497] [client 46.229.168.136:44198] AH01964: Connection to child 6 established (server localhost:443)
    [Sun Mar 24 17:56:24.930498 2019] [socache_shmcb:debug] [pid 22497] mod_socache_shmcb.c(527): AH00835: socache_shmcb_retrieve (0x55 -> subcache 21)
    [Sun Mar 24 17:56:24.930531 2019] [socache_shmcb:debug] [pid 22497] mod_socache_shmcb.c(883): AH00851: shmcb_subcache_retrieve found no match
    [Sun Mar 24 17:56:24.930538 2019] [socache_shmcb:debug] [pid 22497] mod_socache_shmcb.c(537): AH00836: leaving socache_shmcb_retrieve successfully
    [Sun Mar 24 17:56:24.930572 2019] [ssl:debug] [pid 22497] ssl_engine_kernel.c(1908): [client 46.229.168.136:44198] AH02043: SSL virtual host for servername adams-lan.org found
    [Sun Mar 24 17:56:24.997896 2019] [ssl:debug] [pid 22497] ssl_engine_kernel.c(1841): [client 46.229.168.136:44198] AH02041: Protocol: TLSv1.2, Cipher: AES128-SHA (128/128 bits)
    [Sun Mar 24 17:56:25.189829 2019] [ssl:debug] [pid 22497] ssl_engine_kernel.c(243): [client 46.229.168.136:44198] AH02034: Initial (No.1) HTTPS request received for child 6 (server adams-lan.org:443)
    [Sun Mar 24 17:56:25.189928 2019] [authz_core:debug] [pid 22497] mod_authz_core.c(802): [client 46.229.168.136:44198] AH01626: authorization result of Require all granted: granted
    [Sun Mar 24 17:56:25.189941 2019] [authz_core:debug] [pid 22497] mod_authz_core.c(802): [client 46.229.168.136:44198] AH01626: authorization result of : granted
    [Sun Mar 24 17:56:25.289270 2019] [ssl:debug] [pid 22497] ssl_engine_io.c(1004): [client 46.229.168.136:44198] AH02001: Connection closed to child 6 with standard shutdown (server adams-lan.org:443)
    [Sun Mar 24 17:56:55.720186 2019] [ssl:info] [pid 23894] [client 46.229.168.140:22604] AH01964: Connection to child 2 established (server localhost:443)
    [Sun Mar 24 17:56:55.720412 2019] [socache_shmcb:debug] [pid 23894] mod_socache_shmcb.c(527): AH00835: socache_shmcb_retrieve (0x06 -> subcache 6)
    [Sun Mar 24 17:56:55.720423 2019] [socache_shmcb:debug] [pid 23894] mod_socache_shmcb.c(883): AH00851: shmcb_subcache_retrieve found no match
    [Sun Mar 24 17:56:55.720430 2019] [socache_shmcb:debug] [pid 23894] mod_socache_shmcb.c(537): AH00836: leaving socache_shmcb_retrieve successfully
    [Sun Mar 24 17:56:55.720464 2019] [ssl:debug] [pid 23894] ssl_engine_kernel.c(1908): [client 46.229.168.140:22604] AH02043: SSL virtual host for servername adams-lan.org found
    [Sun Mar 24 17:56:55.861969 2019] [ssl:debug] [pid 23894] ssl_engine_kernel.c(1841): [client 46.229.168.140:22604] AH02041: Protocol: TLSv1.2, Cipher: AES128-SHA (128/128 bits)
    [Sun Mar 24 17:56:55.996157 2019] [ssl:debug] [pid 23894] ssl_engine_kernel.c(243): [client 46.229.168.140:22604] AH02034: Initial (No.1) HTTPS request received for child 2 (server adams-lan.org:443)
    [Sun Mar 24 17:56:55.996255 2019] [authz_core:debug] [pid 23894] mod_authz_core.c(802): [client 46.229.168.140:22604] AH01626: authorization result of Require all granted: granted
    [Sun Mar 24 17:56:55.996269 2019] [authz_core:debug] [pid 23894] mod_authz_core.c(802): [client 46.229.168.140:22604] AH01626: authorization result of : granted
    [Sun Mar 24 17:56:56.090327 2019] [ssl:debug] [pid 23894] ssl_engine_io.c(1004): [client 46.229.168.140:22604] AH02001: Connection closed to child 2 with standard shutdown (server adams-lan.org:443)

  2. Server logfile: ownCloud log (data/owncloud.log):
    {“reqId”:“c25b0119edc151b2d1696597a4d214fe”,“remoteAddr”:“192.168.1.106”,“app”:“PHP”,“message”:“fopen(/usr/share/owncloud/config/config.php): failed to open s
    tream: No such file or directory at /usr/share/owncloud/lib/private/config.php#168”,“level”:3,“time”:“2017-07-09T23:48:02+00:00”}
    {“reqId”:“WWMFqL9gamv3S73HnHJPIwAAAAA”,“remoteAddr”:“192.168.1.106”,“app”:“index”,“message”:“Exception: {“Exception”:“OC\\NeedsUpdateException”,“Message”:
    “”,“Code”:0,“Trace”:”#0 \/usr\/share\/owncloud\/lib\/private\/app.php(98): OC_App::loadApp(‘files’)\n#1 \/usr\/share\/owncloud\/lib\/p
    rivate\/util.php(127): OC_App::loadApps(Array)\n#2 \/usr\/share\/owncloud\/lib\/base.php(876): OC_Util::setupFS()\n#3 \/usr\/share\/owncloud\
    /index.php(48): OC::handleRequest()\n#4 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/app.php",“Line”:118}",“level”:4,“time”:“2017-07-1
    0T04:42:16+00:00”}
    {“reqId”:“WWMFqn7fMokcRv3N5nxa1QAAAAM”,“remoteAddr”:“192.168.1.106”,“app”:“core”,“message”:“starting upgrade from 8.0.15.1 to 8.1.12.2”,“level”:0,“time”:“2017-07-1
    0T04:42:18+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMFqn7fMokcRv3N5nxa1QAAAAM”,“remoteAddr”:“192.168.1.106”,“app”:“update”,“message”:“Exception: {“Exception”:“Exception”,“Message”:”.htaccess file
    has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\
    /lib\/private\/updater.php(205): OC\\Updater->doUpgrade(‘8.1.12.2’, ‘8.0.15.1’)\n#1 \/usr\/share\/owncloud\/core\/ajax\/update.php(93): OC\\U
    pdater->upgrade()\n#2 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/updater.php",“Line”:292}",“level”:4,“time”:“2017-07-10T04:42:18+00:
    00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMGL37fMokcRv3N5nxa3gAAAAM”,“remoteAddr”:“192.168.1.106”,“app”:“index”,“message”:“Exception: {“Exception”:“OC\\NeedsUpdateException”,“Message”:
    “”,“Code”:0,“Trace”:”#0 \/usr\/share\/owncloud\/lib\/private\/app.php(98): OC_App::loadApp(‘files’)\n#1 \/usr\/share\/owncloud\/lib\/p
    rivate\/util.php(127): OC_App::loadApps(Array)\n#2 \/usr\/share\/owncloud\/lib\/base.php(876): OC_Util::setupFS()\n#3 \/usr\/share\/owncloud\
    /index.php(48): OC::handleRequest()\n#4 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/app.php",“Line”:118}",“level”:4,“time”:“2017-07-1
    0T04:44:31+00:00”}
    {“reqId”:“WWMGMZ-rFAvL8qV507SWiwAAAAk”,“remoteAddr”:“192.168.1.106”,“app”:“core”,“message”:“starting upgrade from 8.0.15.1 to 8.1.12.2”,“level”:0,“time”:“2017-07-10T04:44:33+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMGMZ-rFAvL8qV507SWiwAAAAk”,“remoteAddr”:“192.168.1.106”,“app”:“update”,“message”:“Exception: {“Exception”:“Exception”,“Message”:”.htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\/lib\/private\/updater.php(205): OC\\Updater->doUpgrade(‘8.1.12.2’, ‘8.0.15.1’)\n#1 \/usr\/share\/owncloud\/core\/ajax\/update.php(93): OC\\Updater->upgrade()\n#2 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/updater.php",“Line”:292}",“level”:4,“time”:“2017-07-10T04:44:33+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMGVe4H0KbjuXgfCEwWjwAAAAM”,“remoteAddr”:“192.168.1.106”,“app”:“index”,“message”:“Exception: {“Exception”:“OC\\NeedsUpdateException”,“Message”:”",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\/lib\/private\/app.php(98): OC_App::loadApp(‘files’)\n#1 \/usr\/share\/owncloud\/lib\/private\/util.php(127): OC_App::loadApps(Array)\n#2 \/usr\/share\/owncloud\/lib\/base.php(876): OC_Util::setupFS()\n#3 \/usr\/share\/owncloud\/index.php(48): OC::handleRequest()\n#4 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/app.php",“Line”:118}",“level”:4,“time”:“2017-07-10T04:45:09+00:00”}
    {“reqId”:“WWMGXmkCgDD6tvQp1LWZ7QAAAAg”,“remoteAddr”:“192.168.1.106”,“app”:“core”,“message”:“starting upgrade from 8.0.15.1 to 8.1.12.2”,“level”:0,“time”:“2017-07-10T04:45:18+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMGXmkCgDD6tvQp1LWZ7QAAAAg”,“remoteAddr”:“192.168.1.106”,“app”:“update”,“message”:“Exception: {“Exception”:“Exception”,“Message”:”.htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\/lib\/private\/updater.php(205): OC\\Updater->doUpgrade(‘8.1.12.2’, ‘8.0.15.1’)\n#1 \/usr\/share\/owncloud\/core\/ajax\/update.php(93): OC\\Updater->upgrade()\n#2 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/updater.php",“Line”:292}",“level”:4,“time”:“2017-07-10T04:45:18+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMIYTekHkak2Ypt0c8gnwAAAAE”,“remoteAddr”:“192.168.1.106”,“app”:“index”,“message”:“Exception: {“Exception”:“OC\\NeedsUpdateException”,“Message”:”",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\/lib\/private\/app.php(98): OC_App::loadApp(‘files’)\n#1 \/usr\/share\/owncloud\/lib\/private\/util.php(127): OC_App::loadApps(Array)\n#2 \/usr\/share\/owncloud\/lib\/base.php(876): OC_Util::setupFS()\n#3 \/usr\/share\/owncloud\/index.php(48): OC::handleRequest()\n#4 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/app.php",“Line”:118}",“level”:4,“time”:“2017-07-10T04:53:54+00:00”}
    {“reqId”:“WWMIY1KqF61IY6AKzuGDMgAAAAA”,“remoteAddr”:“192.168.1.106”,“app”:“core”,“message”:“starting upgrade from 8.0.15.1 to 8.1.12.2”,“level”:0,“time”:“2017-07-10T04:53:55+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    {“reqId”:“WWMIY1KqF61IY6AKzuGDMgAAAAA”,“remoteAddr”:“192.168.1.106”,“app”:“update”,“message”:“Exception: {“Exception”:“Exception”,“Message”:”.htaccess file has the wrong version. Please upload the correct version. Maybe you forgot to replace it after updating?",“Code”:0,“Trace”:"#0 \/usr\/share\/owncloud\/lib\/private\/updater.php(205): OC\\Updater->doUpgrade(‘8.1.12.2’, ‘8.0.15.1’)\n#1 \/usr\/share\/owncloud\/core\/ajax\/update.php(93): OC\\Updater->upgrade()\n#2 {main}",“File”:"\/usr\/share\/owncloud\/lib\/private\/updater.php",“Line”:292}",“level”:4,“time”:“2017-07-10T04:53:55+00:00”,“method”:“GET”,“url”:"/owncloud/core/ajax/update.php?requesttoken=awzK3gYnTr6zyL5jtXgHvntOzwRiBN"}
    :
    [ shuttle ][ 0$ bash 1-$ bash (2*$bash) ][2019-03-24 17:58 ]


#2

Hey,

how you can be sure that this issue is not caused by this outdated version?