Problem: I’ve updated my nextcloud version 28 → 30, since, it asks to re-initialize the application, all customiztions are gone (name, wallpaper…) & “Failed to connect to the database”
Details :
I was running nextcloud v28 on a debian using docker. Mysql database, nextcloud config & nextcloud data were on volumes (2 services on the docker-compose).
I’ve firstly updated the image on the docker-compose from “latest” (it was v28) to nextcloud:30. Affter running, it shows an error that I have to upgrade to v29 before.
So I downgrade my image to 29, run it and then upgrade it to 30.
Since then, I have issues while running the docker. Now i’m able to run it but it asks to CREATE an admin account, after submiting the form, I have a message “Error while trying to initialise the database: Failed to connect to the database: replicaok”.
I don’t know what this “replicaok” means, or “replica ok” .
In the container, the file /var/www/html/config/config.php contains :
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'upgrade.disable-web' => true,
'instanceid' => 'oc2deuxxxxxxx',
'passwordsalt' => 'salt',
'secret' => 'secret',
'trusted_domains' =>
array (
0 => 'nextcloud.xxxx.fr',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '30.0.4.1',
'overwrite.cli.url' => 'http://nextcloud.XXXX.fr',
'dbname' => 'nextcloud',
'dbhost' => 'db',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'nextcloud',
'dbpassword' => 'XXXXX',
);
So i try to connect FROM this container, using mysql client :
mysql -h db -u nextcloud -pXXXXXXX
I’m sucessfully connected, then :
USE nextcloud; select * from oc_users;
+---------+-------------+------------------------------+----------------+
| uid | displayname | password | uid_lower |
+---------+-------------+------------------------------+----------------+
| Famille | NULL | 3|$argon2id$v=19$m=65536,t=4,p=1$NXXXXX | famille |
...
So, I don’t understand why i’m able to connect using mysql but nextcloud can’t, in the SAME container.
Maybe nextcloud is not able to read the config.php ? I’m not able to find out
Edit: find out that i have a permission error in the nextcloud.log :
fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php
should I bind
Docker compose :
volumes:
xxx.fr-new-nextcloud-db:
xxx.fr-new-nextcloud-app-config:
xxx.fr-new-nextcloud-app-data:
networks:
xxx_nextcloud_network:
external: true
services:
db:
image: mariadb:10.6
container_name: xxx.fr-nextcloud-db
restart: always
command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
networks:
- xxx_nextcloud_network
volumes:
- xxx.fr-new-nextcloud-db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=$NEXTCLOUD_MYSQL_PASSWORD
- MYSQL_PASSWORD=$NEXTCLOUD_MYSQL_PASSWORD
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
xxx.fr-nextcloud-app:
container_name: xxx.fr-nextcloud-app
image: nextcloud
restart: always
networks:
- xxx_nextcloud_network
ports:
- $NEXTCLOUD_PORT:80
links:
- db
volumes:
- xxx.fr-new-nextcloud-app-config:/var/www/html
- xxx.fr-new-nextcloud-app-data:/var/www/html/data
environment:
- MYSQL_PASSWORD=$NEXTCLOUD_MYSQL_PASSWORD
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=db
occ config:list system :
root@0d24f631c5e9:/var/www/html# ./occ config:list system
Nextcloud is not installed - only a limited number of commands are available
There are no commands defined in the "config" namespace.
occ status :
root@0d24f631c5e9:/var/www/html# ./occ status
Nextcloud is not installed - only a limited number of commands are available
- installed: false
- version: 30.0.4.1
- versionstring: 30.0.4
- edition:
- maintenance: false
- needsDbUpgrade: false
- productname: Nextcloud
- extendedSupport: false
nextcloud image docker logs :
192.168.7.1 - - [16/Jan/2025:17:08:50 +0000] "GET /data/htaccesstest.txt HTTP/1.1" 403 643 "-" "Nextcloud Server Crawler"
192.168.7.1 - - [16/Jan/2025:17:08:49 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 2809 "https://nextcloud.xxxxx.fr/index.php/apps/files/preview-service-worker.js" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
[Thu Jan 16 17:08:50.388634 2025] [access_compat:error] [pid 62:tid 62] [client 192.168.7.1:0] AH01797: client denied by server configuration: /var/www/html/data/htaccesstest.txt
192.168.7.1 - - [16/Jan/2025:17:08:50 +0000] "GET /data/htaccesstest.txt HTTP/1.1" 403 643 "-" "Nextcloud Server Crawler"
[Thu Jan 16 17:08:50.450431 2025] [access_compat:error] [pid 58:tid 58] [client 192.168.7.1:0] AH01797: client denied by server configuration: /var/www/html/data/htaccesstest.txt
192.168.7.1 - - [16/Jan/2025:17:08:50 +0000] "GET /data/htaccesstest.txt HTTP/1.1" 403 643 "-" "Nextcloud Server Crawler"
192.168.7.1 - - [16/Jan/2025:17:08:50 +0000] "GET /index.php/apps/files/preview-service-worker.js HTTP/1.1" 200 2811 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36"
maria sql docker log :
2025-01-16 15:36:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.20+maria~ubu2004 started.
2025-01-16 15:36:25+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-01-16 15:36:25+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.20+maria~ubu2004 started.
2025-01-16 15:36:25+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2025-01-16 15:36:25 0 [Note] Starting MariaDB 10.6.20-MariaDB-ubu2004-log source revision f00711bba2cd383825d0be1867f7d7d7f641c9e4 server_uid gWGsdd689MUPXdpqVXpwlpS33sg= as process 1
2025-01-16 15:36:25 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2025-01-16 15:36:25 0 [Note] InnoDB: Number of pools: 1
2025-01-16 15:36:25 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2025-01-16 15:36:25 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2025-01-16 15:36:25 0 [Note] InnoDB: Using Linux native AIO
2025-01-16 15:36:25 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2025-01-16 15:36:25 0 [Note] InnoDB: Completed initialization of buffer pool
2025-01-16 15:36:26 0 [Note] InnoDB: 128 rollback segments are active.
2025-01-16 15:36:26 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2025-01-16 15:36:26 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2025-01-16 15:36:26 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2025-01-16 15:36:26 0 [Note] InnoDB: 10.6.20 started; log sequence number 1578379638; transaction id 3793852
2025-01-16 15:36:26 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-01-16 15:36:26 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2025-01-16 15:36:27 0 [Note] Server socket created on IP: '0.0.0.0'.
2025-01-16 15:36:27 0 [Note] Server socket created on IP: '::'.
2025-01-16 15:36:27 0 [Note] mariadbd: ready for connections.
Version: '10.6.20-MariaDB-ubu2004-log' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2025-01-16 15:36:28 0 [Note] InnoDB: Buffer pool(s) load completed at 250116 15:36:28
2025-01-16 15:40:53 0 [Note] mariadbd (initiated by: unknown): Normal shutdown
2025-01-16 15:40:53 0 [Note] InnoDB: FTS optimize thread exiting.
2025-01-16 15:40:53 0 [Note] InnoDB: Starting shutdown...
2025-01-16 15:40:53 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
2025-01-16 15:40:53 0 [Note] InnoDB: Buffer pool(s) dump completed at 250116 15:40:53
2025-01-16 15:40:53 0 [Note] InnoDB: Removed temporary tablespace data file: "./ibtmp1"
2025-01-16 15:40:53 0 [Note] InnoDB: Shutdown completed; log sequence number 1578379650; transaction id 3793853
2025-01-16 15:40:53 0 [Note] mariadbd: Shutdown complete
2025-01-16 15:40:56+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.20+maria~ubu2004 started.
2025-01-16 15:40:56+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
2025-01-16 15:40:56+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.6.20+maria~ubu2004 started.
2025-01-16 15:40:56+00:00 [Note] [Entrypoint]: MariaDB upgrade not required
2025-01-16 15:40:56 0 [Note] Starting MariaDB 10.6.20-MariaDB-ubu2004-log source revision f00711bba2cd383825d0be1867f7d7d7f641c9e4 server_uid gWGsdd689MUPXdpqVXpwlpS33sg= as process 1
2025-01-16 15:40:56 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2025-01-16 15:40:56 0 [Note] InnoDB: Number of pools: 1
2025-01-16 15:40:56 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2025-01-16 15:40:56 0 [Note] mariadbd: O_TMPFILE is not supported on /tmp (disabling future attempts)
2025-01-16 15:40:57 0 [Note] InnoDB: Using Linux native AIO
2025-01-16 15:40:57 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
2025-01-16 15:40:57 0 [Note] InnoDB: Completed initialization of buffer pool
2025-01-16 15:40:57 0 [Note] InnoDB: 128 rollback segments are active.
2025-01-16 15:40:57 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2025-01-16 15:40:57 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2025-01-16 15:40:57 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2025-01-16 15:40:57 0 [Note] InnoDB: 10.6.20 started; log sequence number 1578379650; transaction id 3793852
2025-01-16 15:40:57 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2025-01-16 15:40:57 0 [Note] Plugin 'FEEDBACK' is disabled.
2025-01-16 15:40:57 0 [Note] Server socket created on IP: '0.0.0.0'.
2025-01-16 15:40:57 0 [Note] Server socket created on IP: '::'.
2025-01-16 15:40:58 0 [Note] mariadbd: ready for connections.
Version: '10.6.20-MariaDB-ubu2004-log' socket: '/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution
2025-01-16 15:40:58 0 [Note] InnoDB: Buffer pool(s) load completed at 250116 15:40:58
nextcloud.log
{"reqId":"rZZpm4ZRTzX1SuMIpl4l","level":2,"time":"2025-01-11T23:16:04+00:00","remoteAddr":"192.168.7.1","user":"--","app":"core","method":"GET","url":"/index.php/204","message":"Login failed: 'Ilian' (Remote IP: '192.168.7.1')","userAgent":"Mozilla/5.0 (Windows) mirall/3.15.3 (build 20250107) (Nextcloud, windows-10.0.19045 ClientArchitecture: x86_64 OsArchitecture: x86_64)","version":"30.0.4.1","data":{"app":"core"}}
{"reqId":"QaCjllQsZCxHpnLinyP8","level":2,"time":"2025-01-11T23:26:09+00:00","remoteAddr":"192.168.7.1","user":"--","app":"core","method":"POST","url":"/lostpassword/email","message":"Could not send password reset email: Could not send reset e-mail since there is no email for username admin","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"core"}}
{"reqId":"exHEA9N1LkGEbufHhDPA","level":3,"time":"2025-01-11T23:40:32+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#262","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"exHEA9N1LkGEbufHhDPA","level":3,"time":"2025-01-11T23:40:32+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"exHEA9N1LkGEbufHhDPA","level":3,"time":"2025-01-11T23:40:32+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"exHEA9N1LkGEbufHhDPA","level":3,"time":"2025-01-11T23:40:32+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"3uLqC6ByGTdmgIJoUPDn","level":3,"time":"2025-01-11T23:40:39+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#262","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"3uLqC6ByGTdmgIJoUPDn","level":3,"time":"2025-01-11T23:40:39+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"3uLqC6ByGTdmgIJoUPDn","level":3,"time":"2025-01-11T23:40:39+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"3uLqC6ByGTdmgIJoUPDn","level":3,"time":"2025-01-11T23:40:39+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"CF9r5ntTL7flequpE62q","level":3,"time":"2025-01-11T23:40:40+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#262","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"CF9r5ntTL7flequpE62q","level":3,"time":"2025-01-11T23:40:40+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"CF9r5ntTL7flequpE62q","level":3,"time":"2025-01-11T23:40:40+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"CF9r5ntTL7flequpE62q","level":3,"time":"2025-01-11T23:40:40+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"5TcZzWqLkrN4J1SCKOqm","level":3,"time":"2025-01-11T23:40:45+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#262","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"5TcZzWqLkrN4J1SCKOqm","level":3,"time":"2025-01-11T23:40:45+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"5TcZzWqLkrN4J1SCKOqm","level":3,"time":"2025-01-11T23:40:45+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"5TcZzWqLkrN4J1SCKOqm","level":3,"time":"2025-01-11T23:40:45+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"PgWamZo0fXBwOJ1cAHcX","level":3,"time":"2025-01-11T23:40:47+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"touch(): Utime failed: Permission denied at /var/www/html/lib/private/Config.php#262","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"PgWamZo0fXBwOJ1cAHcX","level":3,"time":"2025-01-11T23:40:47+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#263","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"PgWamZo0fXBwOJ1cAHcX","level":3,"time":"2025-01-11T23:40:47+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"PgWamZo0fXBwOJ1cAHcX","level":3,"time":"2025-01-11T23:40:47+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"GET","url":"/index.php/apps/files/preview-service-worker.js","message":"fopen(/var/www/html/config/config.php): Failed to open stream: Permission denied at /var/www/html/lib/private/Config.php#190","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"","data":{"app":"PHP"}}
{"reqId":"TudDjYjPFuNQ3OJIF0lC","level":3,"time":"2025-01-11T23:43:21+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"cq7cWevRZElJe1ofqgTg","level":3,"time":"2025-01-11T23:43:29+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"VB9NEpdJvknCmtz3LXNU","level":3,"time":"2025-01-11T23:43:32+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"cVQqJZ2TzEbnYhYGVLcV","level":3,"time":"2025-01-16T15:06:27+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"9B8QMP4zgWFGGox7LsyV","level":3,"time":"2025-01-16T15:23:19+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"5cHmQrp8Y0Y5XGg0HBa9","level":3,"time":"2025-01-16T15:37:24+00:00","remoteAddr":"192.168.7.1","user":"--","app":"PHP","method":"POST","url":"/","message":"chmod(): Operation not permitted at /var/www/html/lib/private/Config.php#266","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"}}
Config.php permissions :
root@0d24f631c5e9:/var/www/html# ls -l /var/www/html/config/config.php
-rwxrwxrwx 1 root root 985 Jan 16 15:37 /var/www/html/config/config.php