charts
charts copied to clipboard
Nextcloud won't let you save documents in Onlyoffice after reboot
App Name
nextcloud
Operating System
TrueNAS SCALE 23.10.0'or 23.10.0.1
App Version
27.1.4
Application Events
2023-12-20 21:15:14
Saw completed job: nextcloud-nextcloud-cron-28385055, status: Complete
2023-12-20 21:15:13
Job completed
2023-12-20 21:15:02
Started container nextcloud
2023-12-20 21:15:01
Created container nextcloud
2023-12-20 21:15:00
Created job nextcloud-nextcloud-cron-28385055
2023-12-20 21:15:00
Created pod: nextcloud-nextcloud-cron-28385055-df8qs
2023-12-20 21:15:00
Successfully assigned ix-nextcloud/nextcloud-nextcloud-cron-28385055-df8qs to ix-truenas
2023-12-20 21:15:00
Add eth0 [172.16.24.176/16] from ix-net
2023-12-20 21:15:00
Container image "tccr.io/truecharts/nextcloud-fpm:v28.0.0@sha256:a765a49bafef4e3e6c1f874c5ee1c4d2ce39b2bd6793b9a2e044ed75645bbc1a" already present on machine
2023-12-20 21:10:11
Job completed
2023-12-20 21:10:11
Saw completed job: nextcloud-nextcloud-cron-28385050, status: Complete
2023-12-20 21:10:02
Created container nextcloud
2023-12-20 21:10:02
Started container nextcloud
2023-12-20 21:10:01
Container image "tccr.io/truecharts/nextcloud-fpm:v28.0.0@sha256:a765a49bafef4e3e6c1f874c5ee1c4d2ce39b2bd6793b9a2e044ed75645bbc1a" already present on machine
2023-12-20 21:10:00
Created job nextcloud-nextcloud-cron-28385050
2023-12-20 21:10:00
Created pod: nextcloud-nextcloud-cron-28385050-w426g
2023-12-20 21:10:00
Successfully assigned ix-nextcloud/nextcloud-nextcloud-cron-28385050-w426g to ix-truenas
2023-12-20 21:10:00
Add eth0 [172.16.24.175/16] from ix-net
2023-12-20 21:09:06
Startup probe failed: dial tcp 172.16.24.172:7867: connect: connection refused
2023-12-20 21:08:56
Created container nextcloud
2023-12-20 21:08:56
Started container nextcloud
2023-12-20 21:08:55
Container image "tccr.io/truecharts/nextcloud-push-notify:v0.6.3@sha256:b9c35ab123354eeac3996e361f8c30b8e4de6d2ccd69e5179a7c2a101a67b46f" already present on machine
2023-12-20 21:08:52
Started container nextcloud
2023-12-20 21:08:51
Created container nextcloud
2023-12-20 21:08:50
Container image "nginxinc/nginx-unprivileged:1.25.3@sha256:1d026ae92e50e76c77ca776f234f154d4a1d39e33e8f813115e53c2a9b893bc9" already present on machine
2023-12-20 21:08:33
Startup probe failed: dial tcp 172.16.24.173:9000: connect: connection refused
2023-12-20 21:08:32
Startup probe failed: dial tcp 172.16.24.169:3310: connect: connection refused
2023-12-20 21:08:25
Created container nextcloud-init-wait-nextcloud
2023-12-20 21:08:25
Started container nextcloud-init-wait-nextcloud
2023-12-20 21:08:24
Container image "tccr.io/truecharts/nextcloud-fpm:v28.0.0@sha256:a765a49bafef4e3e6c1f874c5ee1c4d2ce39b2bd6793b9a2e044ed75645bbc1a" already present on machine
2023-12-20 21:08:20
Started container nextcloud
2023-12-20 21:08:19
Created container nextcloud-init-wait-nextcloud
2023-12-20 21:08:19
Created container nextcloud
2023-12-20 21:08:19
Created container nextcloud
2023-12-20 21:08:19
Started container nextcloud-init-wait-nextcloud
2023-12-20 21:08:19
Started container nextcloud
2023-12-20 21:08:19
Started container nextcloud
2023-12-20 21:08:19
Created container nextcloud
2023-12-20 21:08:18
Container image "tccr.io/truecharts/nextcloud-imaginary:v20230401@sha256:6a227d1b0200d29f25028e07b8852f60e3d91a5814048933e70eccee749dc04c" already present on machine
2023-12-20 21:08:18
Container image "clamav/clamav:1.2.1@sha256:d584c29eefc29e138eb14f243abef2f6712cffecac52194626a2b2f6bb3ec2c7" already present on machine
2023-12-20 21:08:18
Container image "tccr.io/truecharts/nextcloud-fpm:v28.0.0@sha256:a765a49bafef4e3e6c1f874c5ee1c4d2ce39b2bd6793b9a2e044ed75645bbc1a" already present on machine
2023-12-20 21:08:18
Container image "tccr.io/truecharts/nextcloud-fpm:v28.0.0@sha256:a765a49bafef4e3e6c1f874c5ee1c4d2ce39b2bd6793b9a2e044ed75645bbc1a" already present on machine
2023-12-20 21:08:14
Created container nextcloud-system-redis-wait
2023-12-20 21:08:14
Started container nextcloud-system-redis-wait
2023-12-20 21:08:13
Container image "tccr.io/truecharts/db-wait-redis:1.1.0@sha256:8affa086d097b948f62b0433d70f4219a22ec29843ebd5479391869341bdb638" already present on machine
2023-12-20 21:08:07
Created container nextcloud-system-redis-wait
2023-12-20 21:08:07
Created container nextcloud-system-redis-wait
2023-12-20 21:08:07
Started container nextcloud-system-redis-wait
2023-12-20 21:08:07
Started container nextcloud-system-redis-wait
2023-12-20 21:08:07
Created container nextcloud-system-redis-wait
2023-12-20 21:08:07
Created container nextcloud-system-redis-wait
2023-12-20 21:08:07
Started container nextcloud-system-redis-wait
2023-12-20 21:08:07
Started container nextcloud-system-redis-wait
2023-12-20 21:08:05
Created container nextcloud-system-cnpg-wait
2023-12-20 21:08:05
Started container nextcloud-system-cnpg-wait
2023-12-20 21:08:05
Container image "tccr.io/truecharts/db-wait-redis:1.1.0@sha256:8affa086d097b948f62b0433d70f4219a22ec29843ebd5479391869341bdb638" already present on machine
2023-12-20 21:08:05
Container image "tccr.io/truecharts/db-wait-redis:1.1.0@sha256:8affa086d097b948f62b0433d70f4219a22ec29843ebd5479391869341bdb638" already present on machine
2023-12-20 21:08:03
Container image "tccr.io/truecharts/db-wait-redis:1.1.0@sha256:8affa086d097b948f62b0433d70f4219a22ec29843ebd5479391869341bdb638" already present on machine
2023-12-20 21:08:03
Container image "tccr.io/truecharts/db-wait-redis:1.1.0@sha256:8affa086d097b948f62b0433d70f4219a22ec29843ebd5479391869341bdb638" already present on machine
2023-12-20 21:08:00
Add eth0 [172.16.24.174/16] from ix-net
2023-12-20 21:08:00
Container image "tccr.io/truecharts/db-wait-postgres:1.1.0@sha256:a163c7836d7bb436a428f5d55bbba0eb73bcdb9bc202047e2523bbb539c113e6" already present on machine
2023-12-20 21:07:59
Created container nextcloud-system-cnpg-wait
2023-12-20 21:07:59
Started container nextcloud-system-cnpg-wait
2023-12-20 21:07:58
Started container nextcloud-redis
2023-12-20 21:07:58
Created container nextcloud-system-cnpg-wait
2023-12-20 21:07:58
Started container nextcloud-system-cnpg-wait
2023-12-20 21:07:58
Add eth0 [172.16.24.173/16] from ix-net
2023-12-20 21:07:58
Container image "tccr.io/truecharts/db-wait-postgres:1.1.0@sha256:a163c7836d7bb436a428f5d55bbba0eb73bcdb9bc202047e2523bbb539c113e6" already present on machine
2023-12-20 21:07:57
Created container nextcloud-redis
2023-12-20 21:07:56
Add eth0 [172.16.24.172/16] from ix-net
2023-12-20 21:07:56
Container image "tccr.io/truecharts/db-wait-postgres:1.1.0@sha256:a163c7836d7bb436a428f5d55bbba0eb73bcdb9bc202047e2523bbb539c113e6" already present on machine
2023-12-20 21:07:55
Add eth0 [172.16.24.171/16] from ix-net
2023-12-20 21:07:55
Container image "tccr.io/truecharts/redis:v7.0.12@sha256:ca27adef2a6f7f16359339c69ecf7a1658ced8584cd00fa5720c640895f35792" already present on machine
2023-12-20 21:07:55
Created container nextcloud-system-cnpg-wait
2023-12-20 21:07:55
Created container nextcloud-system-cnpg-wait
2023-12-20 21:07:55
Started container nextcloud-system-cnpg-wait
2023-12-20 21:07:55
Started container nextcloud-system-cnpg-wait
2023-12-20 21:07:52
Scaled up replica set nextcloud-imaginary-576c59cd77 to 1
2023-12-20 21:07:52
Created pod: nextcloud-imaginary-576c59cd77-dtmv7
2023-12-20 21:07:52
Successfully assigned ix-nextcloud/nextcloud-imaginary-576c59cd77-dtmv7 to ix-truenas
2023-12-20 21:07:52
Scaled up replica set nextcloud-85f8c885c to 1
2023-12-20 21:07:52
Created pod: nextcloud-85f8c885c-7thhk
2023-12-20 21:07:52
Successfully assigned ix-nextcloud/nextcloud-85f8c885c-7thhk to ix-truenas
2023-12-20 21:07:52
Scaled up replica set nextcloud-nginx-859ccd654c to 1
2023-12-20 21:07:52
Created pod: nextcloud-nginx-859ccd654c-rbqnm
2023-12-20 21:07:52
Successfully assigned ix-nextcloud/nextcloud-nginx-859ccd654c-rbqnm to ix-truenas
2023-12-20 21:07:52
Scaled up replica set nextcloud-notify-74d64f454 to 1
2023-12-20 21:07:52
create Pod nextcloud-redis-0 in StatefulSet nextcloud-redis successful
2023-12-20 21:07:52
Successfully assigned ix-nextcloud/nextcloud-redis-0 to ix-truenas
2023-12-20 21:07:52
Successfully assigned ix-nextcloud/nextcloud-notify-74d64f454-xmw6m to ix-truenas
2023-12-20 21:07:52
Created pod: nextcloud-notify-74d64f454-xmw6m
2023-12-20 21:07:52
Successfully updated Certificate "nextcloud-tls-0"
2023-12-20 21:07:52
Add eth0 [172.16.24.169/16] from ix-net
2023-12-20 21:07:52
Add eth0 [172.16.24.170/16] from ix-net
2023-12-20 21:07:52
Container image "tccr.io/truecharts/db-wait-postgres:1.1.0@sha256:a163c7836d7bb436a428f5d55bbba0eb73bcdb9bc202047e2523bbb539c113e6" already present on machine
2023-12-20 21:07:52
Container image "tccr.io/truecharts/db-wait-postgres:1.1.0@sha256:a163c7836d7bb436a428f5d55bbba0eb73bcdb9bc202047e2523bbb539c113e6" already present on machine
2023-12-20 21:07:51
Scaled up replica set nextcloud-clamav-78b84b9878 to 1
2023-12-20 21:07:51
Created pod: nextcloud-clamav-78b84b9878-94kmp
2023-12-20 21:07:51
Successfully assigned ix-nextcloud/nextcloud-clamav-78b84b9878-94kmp to ix-truenas
Application Logs
Saving the Onlyoffice doesn't result in logs
2023-12-20 21:24:33.329085+01:00# Collabora is disabled.
2023-12-20 21:24:33.329095+01:00## Removing Collabora Configuration...
2023-12-20 21:24:33.329097+01:00Removing [richdocuments]...
2023-12-20 21:24:33.516205+01:00App [richdocuments] is not installed! Skipping...
2023-12-20 21:24:33.699073+01:00Config value wopi_url of app richdocuments deleted
2023-12-20 21:24:33.882787+01:00Config value public_wopi_url of app richdocuments deleted
2023-12-20 21:24:34.058177+01:00Config value wopi_allowlist of app richdocuments deleted
2023-12-20 21:24:34.064039+01:002023-12-20T21:24:34.064039764+01:00
2023-12-20 21:24:34.064062+01:00# OnlyOffice is enabled.
2023-12-20 21:24:34.064067+01:00## Configuring OnlyOffice...
2023-12-20 21:24:34.064071+01:00Installing [onlyoffice]...
2023-12-20 21:24:34.241324+01:00App [onlyoffice] is already installed! Skipping...
2023-12-20 21:24:34.422572+01:00Config value DocumentServerUrl for app onlyoffice set to https://oo.example.com/
2023-12-20 21:24:34.609728+01:00Config value DocumentServerInternalUrl for app onlyoffice set to http://192.168.1.13:10043/
2023-12-20 21:24:34.801113+01:00Config value StorageUrl for app onlyoffice set to http://nextcloud.ix-nextcloud.svc.cluster.local:12000
2023-12-20 21:24:34.995408+01:00Config value verify_peer_off for app onlyoffice set to false
2023-12-20 21:24:35.174019+01:00System config value onlyoffice => jwt_secret set to string xxx
2023-12-20 21:24:35.355503+01:00System config value onlyoffice => jwt_header set to string Authorization
2023-12-20 21:24:35.540812+01:00System config value allow_local_remote_servers set to string true
2023-12-20 21:24:35.546564+01:00## Making sure Collabora built-in app is not installed...
2023-12-20 21:24:35.546611+01:00Removing [richdocumentscode]...
2023-12-20 21:24:35.730604+01:00App [richdocumentscode] is not installed! Skipping...
2023-12-20 21:24:35.730656+01:002023-12-20T21:24:35.730656719+01:00
Application Configuration
Accessed through a Cloudflared Tunnel
Describe the bug
After Nextcloud reboots it isn't able to save files in Onlyoffice anymore.
It's possible to go into the Onlyoffice settings in Nextcloud admin account, and save the settings without changing anything. It works after that.
To Reproduce
-
Reboot Nextcloud
-
Edit Onlyoffice compatible document
-
Get error
-
Login to Nextcloud with an administrator account
-
Click picture in the top right
-
Click Settings
-
Go to Onlyoffice in the left bar
-
Click save under the configuration settings
Expected Behavior
No error.
Screenshots
Already did
Additional Context
None required.
I've read and agree with the following
- [X] I've checked all open and closed issues and my issue is not there.
Can you please check the config.php before and after you save without changes? I wanna see what’s changing
Can you please check the config.php before and after you save without changes? I wanna see what’s changing
Where would I find this config.php?
The same place it always is for nextcloud.
The same place it always is for nextcloud.
Right...I looked into my mapped Nextcloud data folder structure and it's not in there. That's where it was in my previous docker installation. Now I am using Truenas everything else is PVC storage.
The same place it always is for nextcloud.
Right...I looked into my mapped Nextcloud data folder structure and it's not in there. That's where it was in my previous docker installation. Now I am using Truenas everything else is PVC storage.
you can shell into the nextcloud container. It should be in /var/www/html... dir
The same place it always is for nextcloud.
Right...I looked into my mapped Nextcloud data folder structure and it's not in there. That's where it was in my previous docker installation. Now I am using Truenas everything else is PVC storage.
you can shell into the nextcloud container. It should be in
/var/www/html... dir
Before saving
<?php
$CONFIG = array (
'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,
),
),
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '28.0.0.11',
'overwrite.cli.url' => 'https://nc.example.com',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud-cnpg-main-rw',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'AfRzgBteYX4qGrCUiiCZW0FalJ5cDUuEQpdT26HN15DM5tiEar8JTYtt8Tr4K1',
'installed' => true,
'instanceid' => 'ocscw6to40vj',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => 'sI4RiLLa20HlY9hpBgxBp3j8oXVsDhkRg2RRYHlwf5ynOcltwT',
'port' => '6379',
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'upgrade.disable-web' => true,
'default_phone_region' => 'NL',
'share_folder' => 'Shared',
'log_type' => 'file',
'log_type_audit' => 'file',
'loglevel' => '2',
'logfile' => '/var/www/html/data/logs/nextcloud.log',
'logfile_audit' => '/var/www/html/data/logs/audit.log',
'logdateformat' => 'd/m/Y H:i:s',
'logtimezone' => 'Europe/Amsterdam',
'overwritehost' => 'nc.example.com',
'overwriteprotocol' => 'https',
'activity_expire_days' => '90',
'trashbin_retention_obligation' => 'auto',
'versions_retention_obligation' => 'auto',
'preview_imaginary_url' => 'http://nextcloud-imaginary:9090',
'enable_previews' => 'true',
'jpeg_quality' => '60',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'preview_max_memory' => '1024',
'preview_max_filesize_image' => '50',
'onlyoffice' =>
array (
'jwt_secret' => 'xxx',
'jwt_header' => 'Authorization',
),
'allow_local_remote_servers' => 'true',
'app_install_overwrite' =>
array (
0 => 'openotp_auth',
1 => 'holiday_calendars',
),
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'maintenance' => false,
'trusted_domains' =>
array (
0 => '127.0.0.1',
1 => 'localhost',
2 => 'nextcloud',
3 => 'nextcloud-*',
4 => 'kube.internal.healthcheck',
5 => 'nc.example.com',
6 => '192.168.1.13',
7 => 'oo.example.com/',
),
'trusted_proxies' =>
array (
0 => '172.16.0.0/16',
1 => '172.17.0.0/16',
),
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Imaginary',
1 => 'OC\\Preview\\BMP',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\JPEG',
4 => 'OC\\Preview\\Krita',
5 => 'OC\\Preview\\MarkDown',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\OpenDocument',
8 => 'OC\\Preview\\PNG',
9 => 'OC\\Preview\\TXT',
10 => 'OC\\Preview\\XBitmap',
),
);
After saving
$CONFIG = array (
'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,
),
),
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'datadirectory' => '/var/www/html/data',
'dbtype' => 'pgsql',
'version' => '28.0.0.11',
'overwrite.cli.url' => 'https://nc.example.com',
'dbname' => 'nextcloud',
'dbhost' => 'nextcloud-cnpg-main-rw',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'AfRzgBteYX4qGrCUiiCZW0FalJ5cDUuEQpdT26HN15DM5tiEar8JTYtt8Tr4K1',
'installed' => true,
'instanceid' => 'ocscw6to40vj',
'redis' =>
array (
'host' => 'nextcloud-redis',
'password' => 'sI4RiLLa20HlY9hpBgxBp3j8oXVsDhkRg2RRYHlwf5ynOcltwT',
'port' => '6379',
),
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'upgrade.disable-web' => true,
'default_phone_region' => 'NL',
'share_folder' => 'Shared',
'log_type' => 'file',
'log_type_audit' => 'file',
'loglevel' => '2',
'logfile' => '/var/www/html/data/logs/nextcloud.log',
'logfile_audit' => '/var/www/html/data/logs/audit.log',
'logdateformat' => 'd/m/Y H:i:s',
'logtimezone' => 'Europe/Amsterdam',
'overwritehost' => 'nc.example.com',
'overwriteprotocol' => 'https',
'activity_expire_days' => '90',
'trashbin_retention_obligation' => 'auto',
'versions_retention_obligation' => 'auto',
'preview_imaginary_url' => 'http://nextcloud-imaginary:9090',
'enable_previews' => 'true',
'jpeg_quality' => '60',
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'preview_max_memory' => '1024',
'preview_max_filesize_image' => '50',
'onlyoffice' =>
array (
'jwt_secret' => 'xxx',
'jwt_header' => 'Authorization',
),
'allow_local_remote_servers' => 'true',
'app_install_overwrite' =>
array (
0 => 'openotp_auth',
1 => 'holiday_calendars',
),
'twofactor_enforced' => 'false',
'twofactor_enforced_groups' =>
array (
),
'twofactor_enforced_excluded_groups' =>
array (
),
'maintenance' => false,
'trusted_domains' =>
array (
0 => '127.0.0.1',
1 => 'localhost',
2 => 'nextcloud',
3 => 'nextcloud-*',
4 => 'kube.internal.healthcheck',
5 => 'nc.example.com',
6 => '192.168.1.13',
7 => 'oo.example.com/',
),
'trusted_proxies' =>
array (
0 => '172.16.0.0/16',
1 => '172.17.0.0/16',
),
'enabledPreviewProviders' =>
array (
0 => 'OC\\Preview\\Imaginary',
1 => 'OC\\Preview\\BMP',
2 => 'OC\\Preview\\GIF',
3 => 'OC\\Preview\\JPEG',
4 => 'OC\\Preview\\Krita',
5 => 'OC\\Preview\\MarkDown',
6 => 'OC\\Preview\\MP3',
7 => 'OC\\Preview\\OpenDocument',
8 => 'OC\\Preview\\PNG',
9 => 'OC\\Preview\\TXT',
10 => 'OC\\Preview\\XBitmap',
),
);
is "jwt_secret" the same on both?
Try removing the / from the oo.example.com from ui aswell
is "jwt_secret" the same on both?
Yes, it is.
Try removing the
/from the oo.example.com from ui aswell
Same thing happens.
is "jwt_secret" the same on both?
Yes, it is.
Try removing the
/from the oo.example.com from ui aswellSame thing happens.
Can you check what this returns?
occ config:system:get onlyoffice
Run it both before and after you save
is "jwt_secret" the same on both?
Yes, it is.
Try removing the
/from the oo.example.com from ui aswellSame thing happens.
Can you check what this returns?
occ config:system:get onlyofficeRun it both before and after you save
Sorry for my extremely late reply. I've moved across the country and needed some time to get settled.
I ran the command for you:
Before and after returned the same result.
$ occ config:system:get onlyoffice jwt_secret: 🤫 jwt_header: Authorization
I'm going to close this and forward you to support staff.