"Cannot write into "config" directory!" / maintenance mode / background job execution failure

Nextcloud version: 29.0.3 - 29.0.3.4

Operating system: Linux 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 (Docker Windows)

Webserver: Apache/2.4.59 (Unix) (fpm-fcgi)

Database: pgsql PostgreSQL 16.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, 64-bit

PHP version: 8.2.20

The issue you are facing:
After trying to solve some Memories problems using this advice,


I got related errors:

  1. “Cannot write into “config” directory!”
  2. server in maintenance mode
  3. background job execution failure

Adding
‘config_is_read_only’ => true
to config.php “solved” 1 and 2 above (I can access Nextcloud again), but not the underlying permissions issue and not 3. Why can’t I write to config? Why cron not working? How can I fix it?

I’m a newbie, and I’m still learning.

Is this the first time you’ve seen this error? : Yes

The output of your Nextcloud log in Admin > Logging:
https://pastebin.com/HrD7xBsC

Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:43:32 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:43:32 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:04 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:04 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:03 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:03 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:03 PM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 9:41:03 PM"	
Error	PHP	
file_get_contents(/mnt/ncdata/appdata_ocboie0rqape/preview/3/9/1/0/5/1/4/159414/341-256.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#331
"Jul 5, 2024, 2:41:06 PM"	
Error	PHP	
file_get_contents(/mnt/ncdata/appdata_ocboie0rqape/preview/3/9/1/0/5/1/4/159414/341-256.jpg): Failed to open stream: No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#331
"Jul 5, 2024, 2:41:06 PM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 1:46:18 PM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 1:46:18 PM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 7:33:49 AM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 7:33:49 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:33:48 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:33:48 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:29:02 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:29:02 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:26:55 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:25:45 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:24:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:49 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:23:46 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:23:14 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:21:30 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:52 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:51 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:51 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:51 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:51 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:38 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:38 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:38 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:19:38 AM"	
Error	no app in context	
BadRequest Expected filesize of 26075137 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 26075136 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
"Jul 5, 2024, 7:18:24 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:09 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:09 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:09 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:09 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:08 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:08 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:08 AM"	
Error	PHP	
Undefined array key "" at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:16:08 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#397
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#388
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Trying to access array offset on value of type null at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:15:19 AM"	
Error	PHP	
Undefined array key 4 at /var/www/html/3rdparty/wapmorgan/mp3info/src/Mp3Info.php#387
"Jul 5, 2024, 7:15:19 AM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 7:13:48 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:13:48 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:10:24 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 7:07:13 AM"	
Error	no app in context	
BadRequest Expected filesize of 26075137 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 26075136 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
"Jul 5, 2024, 6:54:00 AM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 6:53:50 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 6:53:50 AM"	
Error	recognize	
Exception postInsert
Error in recognize file listener
"Jul 5, 2024, 6:46:58 AM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 6:38:49 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 6:38:48 AM"	
Error	no app in context	
BadRequest Expected filesize of 26075137 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 26075136 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
"Jul 5, 2024, 6:38:25 AM"	
Error	no app in context	
BadRequest Expected filesize of 26075137 bytes but read (from Nextcloud client) and wrote (to Nextcloud storage) 26075136 bytes. Could either be a network problem on the sending side or a problem writing to the storage on the server side.
"Jul 5, 2024, 6:23:40 AM"	
Error	memories	
Indexing exception: failed to run exiftool: perl /var/www/html/custom_apps/memories/bin-ext/exiftool/exiftool -ver
"Jul 5, 2024, 6:18:49 AM"	
Error	PHP	
proc_open(): Exec failed: No such file or directory at /var/www/html/custom_apps/memories/lib/Exif.php#435
"Jul 5, 2024, 6:18:48 AM"

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

{
    "one-click-instance": true,
    "one-click-instance.user-limit": 100,
    "memcache.local": "\\OC\\Memcache\\APCu",
    "apps_paths": [
        {
            "path": "\/var\/www\/html\/apps",
            "url": "\/apps",
            "writable": false
        },
        {
            "path": "\/var\/www\/html\/custom_apps",
            "url": "\/custom_apps",
            "writable": true
        }
    ],
    "appsallowlist": false,
    "check_data_directory_permissions": false,
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "password": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "overwritehost": "cloud.superclark.net",
    "overwriteprotocol": "https",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "localhost",
        "cloud.superclark.net"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "pgsql",
    "version": "29.0.3.4",
    "overwrite.cli.url": "https:\/\/cloud.superclark.net\/",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "updatedirectory": "\/nc-updater",
    "loglevel": 2,
    "app_install_overwrite": [
        "nextcloud-aio"
    ],
    "log_type": "file",
    "logfile": "\/var\/www\/html\/data\/nextcloud.log",
    "log_rotate_size": 10485760,
    "log.condition": {
        "apps": [
            "admin_audit"
        ]
    },
    "preview_max_x": 2048,
    "preview_max_y": 2048,
    "jpeg_quality": 60,
    "enabledPreviewProviders": {
        "1": "OC\\Preview\\Image",
        "2": "OC\\Preview\\MarkDown",
        "3": "OC\\Preview\\MP3",
        "4": "OC\\Preview\\TXT",
        "5": "OC\\Preview\\OpenDocument",
        "6": "OC\\Preview\\Movie",
        "7": "OC\\Preview\\Krita",
        "0": "OC\\Preview\\Imaginary"
    },
    "enable_previews": true,
    "upgrade.disable-web": true,
    "mail_smtpmode": "sendmail",
    "trashbin_retention_obligation": "auto, 30",
    "versions_retention_obligation": "auto, 30",
    "activity_expire_days": 30,
    "simpleSignUpLink.shown": false,
    "share_folder": "\/Shared",
    "one-click-instance.link": "https:\/\/nextcloud.com\/all-in-one\/",
    "upgrade.cli-upgrade-link": "https:\/\/github.com\/nextcloud\/all-in-one\/discussions\/2726",
    "maintenance_window_start": 100,
    "allow_local_remote_servers": true,
    "davstorage.request_timeout": 3600,
    "htaccess.RewriteBase": "\/",
    "dbpersistent": false,
    "auth.bruteforce.protection.enabled": true,
    "ratelimit.protection.enabled": true,
    "files_external_allow_create_new_local": false,
    "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
    "preview_imaginary_url": "***REMOVED SENSITIVE VALUE***",
    "preview_imaginary_key": "***REMOVED SENSITIVE VALUE***",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "1025",
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "memories.db.triggers.fcu": true,
    "memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
    "memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
    "default_phone_region": "US",
    "memories.exiftool_no_local": true,
    "config_is_read_only": true
}

what is the reason why the system can not write into config directory? I think you should look to solve the problem rather simply hide the warning with ‘config_is_read_only’ => true Maybe you should post the complete config.

As you are using musl based postgres you I assume you might have used other Alpine images as well. I don’t recall exactly but I could imagine memories require glibc based containers…

1 Like

This is exactly the question I’m posing to the community: Why can’t I write into config, and how do I fix it?

Above is the complete config file, minus
<?php $CONFIG = array ( at the beginning and ); ?>
at the end.

I am a newbie, so there’s a lot I’m still learning.

I’d been using Memories without this problem for some time. It was immediately after editing the config when the config became unwriteable.

What “advice” exactly did you “solve”? The link is to a longer thread and it is absolutely not clear to me, what you exactly was trying to take.

WHAT did you edit exactly?

Since you are using AIO, did you follow this steps while enabling memories?:


Much and good luck,
ernolf

Sorry, I posted the wrong link. I changed it and clarified the original post above.

I was trying to get Memories’s exiftool working. This is what I did:

The first suggestion did not work for me, so I set the binary explicitly using occ. The confirmation message looked wrong, so I double-checked config.php. It did not look like this, from farther down that longer thread. So I manually edited config.php by adding these two lines:

  'memories.exiftool' => '/config/www/nextcloud/custom_apps/memories/exiftool-bin/exiftool-amd64-musl',
  'memories.vod.path' => '/config/www/nextcloud/custom_apps/memories/exiftool-bin/go-vod-amd64',

Then I tried to run occ memories:index and got the config is unwriteable error.

No I did not. Is this related to the problem I’m having?

Of course. AIO is a very complete but at the same time very special case. You cannot apply solutions for complete other environments to it.

So stay close to the AIO Installation manual and you wil be safe or you are on your own.


Much and good luck,
ernolf

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.