Hi,
I don’t understand what you don’t like.
I just try to prevent long error messages to be displayed in the post. So, it is the reason why some of them are masked. And I’ve just replaced the commas in the long lines from the nextcloud logs with carriage return as I think it is more readable.
You just have to click to display the contents. It shouldn’t be that difficult.
I can try another way. Not sure this is what you are looking for.
{"reqId":"ZX7rBqk7jJzEEMDmhH0BDwAAAAE","level":3,"time":"2023-12-17T12:35:18+00:00","remoteAddr":"192.168.0.254","user":"nextCloudAdmin","app":"PHP","method":"POST","url":"/index.php/apps/richdocuments/token","message":"Trying to access array offset on value of type null at /usr/share/nextcloud-27.1.2/apps/richdocuments/lib/WOPI/DiscoveryManager.php#132","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.5.1","data":{"app":"PHP"}}<br>
{"reqId":"ZX7rBqk7jJzEEMDmhH0BDwAAAAE","level":1,"time":"2023-12-17T12:35:26+00:00","remoteAddr":"192.168.0.254","user":"nextCloudAdmin","app":"richdocuments","method":"POST","url":"/index.php/apps/richdocuments/token","message":"Fetched discovery endpoint from https://nextcloud.my_domain.fr/apps/richdocumentscode/proxy.php?req=/hosting/discovery in 8.077 seconds","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:120.0) Gecko/20100101 Firefox/120.0","version":"27.1.5.1","data":{"app":"richdocuments"}}<br>
{"reqId":"ZX7rDgwROImwtl5CN8L4AAAAAAU","level":3,"time":"2023-12-17T12:35:27+00:00","remoteAddr":"192.168.0.254","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/161373_oc70b3n1ast2/contents?access_token=kqu6AE2oi8CnDp7MvI0fpnov0pxv7itx&access_token_ttl=0%2Fws%3FWOPISrc%3Dhttps%3A%2F%2Fnextcloud.my_domain.fr%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F161373_oc70b3n1ast2&compat=","message":"getFile failed","userAgent":"COOLWSD HTTP Agent 23.05.6.2","version":"27.1.5.1","exception":{"Exception":"OCA\\Encryption\\Exceptions\\PrivateKeyMissingException","Message":"Private Key missing for user: please try to log-out and log-in again","Code":0,"Trace":[{"file":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/KeyManager.php","line":478,"function":"getPrivateKey","class":"OCA\\Encryption\\Session","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/Crypto/Encryption.php","line":212,"function":"getFileKey","class":"OCA\\Encryption\\KeyManager","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":284,"function":"begin","class":"OCA\\Encryption\\Crypto\\Encryption","type":"->"},{"function":"stream_open","class":"OC\\Files\\Stream\\Encryption","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":212,"function":"fopen"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":187,"function":"wrapSource","class":"OC\\Files\\Stream\\Encryption","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Storage/Wrapper/Encryption.php","line":483,"function":"wrap","class":"OC\\Files\\Stream\\Encryption","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Storage/Wrapper/Wrapper.php","line":298,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/View.php","line":1159,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/View.php","line":987,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Node/File.php","line":116,"function":"fopen","class":"OC\\Files\\View","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/apps/richdocuments/lib/Controller/WopiController.php","line":401,"function":"fopen","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/Session.php","Line":90,"Hint":"Private Key missing for user: please try to log-out and log-in again","message":"getFile failed","CustomMessage":"getFile failed"}}
{"reqId":"ZX7rD79Xl_9gczcB7Ze0jwAAAAo","level":3,"time":"2023-12-17T12:35:27+00:00","remoteAddr":"192.168.0.254","user":"--","app":"richdocuments","method":"GET","url":"/index.php/apps/richdocuments/wopi/files/161373_oc70b3n1ast2/contents?access_token=kqu6AE2oi8CnDp7MvI0fpnov0pxv7itx&access_token_ttl=0&permission=edit%2Fws%3FWOPISrc%3Dhttps%3A%2F%2Fnextcloud.my_domain.fr%2Findex.php%2Fapps%2Frichdocuments%2Fwopi%2Ffiles%2F161373_oc70b3n1ast2&compat=","message":"getFile failed","userAgent":"COOLWSD HTTP Agent 23.05.6.2","version":"27.1.5.1","exception":{"Exception":"OCA\\Encryption\\Exceptions\\PrivateKeyMissingException","Message":"Private Key missing for user: please try to log-out and log-in again","Code":0,"Trace":[{"file":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/KeyManager.php","line":478,"function":"getPrivateKey","class":"OCA\\Encryption\\Session","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/Crypto/Encryption.php","line":212,"function":"getFileKey","class":"OCA\\Encryption\\KeyManager","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":284,"function":"begin","class":"OCA\\Encryption\\Crypto\\Encryption","type":"->"},{"function":"stream_open","class":"OC\\Files\\Stream\\Encryption","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":212,"function":"fopen"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Stream/Encryption.php","line":187,"function":"wrapSource","class":"OC\\Files\\Stream\\Encryption","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Storage/Wrapper/Encryption.php","line":483,"function":"wrap","class":"OC\\Files\\Stream\\Encryption","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Storage/Wrapper/Wrapper.php","line":298,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Encryption","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/View.php","line":1159,"function":"fopen","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/View.php","line":987,"function":"basicOperation","class":"OC\\Files\\View","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Files/Node/File.php","line":116,"function":"fopen","class":"OC\\Files\\View","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/apps/richdocuments/lib/Controller/WopiController.php","line":401,"function":"fopen","class":"OC\\Files\\Node\\File","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"getFile","class":"OCA\\Richdocuments\\Controller\\WopiController","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/usr/share/nextcloud-27.1.2/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/usr/share/nextcloud-27.1.2/index.php","line":38,"function":"handleRequest","class":"OC","type":"::"}],"File":"/usr/share/nextcloud-27.1.2/apps/encryption/lib/Session.php","Line":90,"Hint":"Private Key missing for user: please try to log-out and log-in again","message":"getFile failed","CustomMessage":"getFile failed"}}
From my apache error log file (after a systemctl restart httpd + trying to access a .ods file) :
frk-3490501-3490501 2023-12-17 13:43:31.522499 +0100 [ forkit ] TST UnitBase [uninit] (+0ms): Uninitializing unit-tests: SUCCESS| common/Unit.cpp:351
frk-3490501-3490501 2023-12-17 13:43:31.522554 +0100 [ forkit ] TST UnitKit [~UnitBase] (+0ms): UnitKit: ~UnitBase: SUCCESS| common/Unit.cpp:410
Security: coolmount incorrect user-name, other than 'cool'
Aborting.
wsd-3490470-3490470 2023-12-17 13:43:31.552712 +0100 [ coolwsd ] TST UnitBase [uninit] (+0ms): Uninitializing unit-tests: SUCCESS| common/Unit.cpp:351
wsd-3490470-3490470 2023-12-17 13:43:31.552756 +0100 [ coolwsd ] TST UnitWSD [~UnitBase] (+0ms): UnitWSD: ~UnitBase: SUCCESS| common/Unit.cpp:410
[Sun Dec 17 13:43:31.683794 2023] [ssl:warn] [pid 3491714] AH01909: office.nextcloud.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 17 13:43:31.724860 2023] [ssl:warn] [pid 3491714] AH01909: office.nextcloud.com:443:0 server certificate does NOT include an ID which matches the server name
[Sun Dec 17 13:43:31.730637 2023] [lbmethod_heartbeat:notice] [pid 3491714] AH02282: No slotmem from mod_heartmonitor
[Sun Dec 17 13:43:31.779760 2023] [mpm_prefork:notice] [pid 3491714] AH00163: Apache/2.4.58 (Unix) OpenSSL/3.0.12 mod_fcgid/2.3.9 mod_perl/2.0.12 Perl/v5.36.0 configured -- resuming normal operations
[Sun Dec 17 13:43:31.779878 2023] [core:notice] [pid 3491714] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Logging at warning level to file: /tmp/coolwsd.xnIHqNKnFG/coolwsd.log
Security: coolforkit incorrect user-name, other than 'cool'
Init vcl
preload: xsec_xmlsec merged ucpchelp1 wpftwriter wpftcalc wpftimpress wpftdraw writerfilter msforms ucppkg1 ucpcmis1 cached1 vbaswobj swd sw ucpdav1 smd sm pdfimport PresentationMinimizer sd scriptframe protocolhandler dlgprov date analysis vbaobj scfilt scd xmlsecurity sc expwrap oox LanguageTool ldapbe2 pcr storagefd log chartcore pdffilter migrationoo3 deploymentgui scn cui sdbt mozbootstrap bootstrap flat io animcore svgfilter embobj t602filter dbaxml stocservices chartcontroller namingservice cairocanvas invocadapt introspection migrationoo2 dbpool2 binaryurp mysql_jdbc pricing proxyfac calc invocation dba uuresolver solver reflection writer textconversiondlgs hwp msword graphicfilter emboleobj sdd slideshow dbase bib
Disabled: ucpftp1 rptxml rptui rpt dbp abp sdbc2 cmdmail PresenterScreen dbu odbc
Allowlisted languages: de_DE el en_GB en_US es_ES fr_FR hu it nl pt_BR pt_PT ru
Preloading dictionaries: de-DE en-US fr-FR it-IT nl-NL pt-BR ru-RU en-GB nl-BE pt-PT es-ES
Preloading thesauri: de-DE en-US fr-FR it-IT nl-NL pt-BR ru-RU en-GB nl-BE pt-PT es-ES
Preload icons
Preload short cut accelerators
Preload languages
Preload fonts
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Fontconfig error: No writable cache directories
Preload config
Ready to accept connections on port 9983.
my config.php
<?php
$CONFIG = array (
'instanceid' => 'OC instance id',
'passwordsalt' => 'passwordsalt',
'secret' => 'my_secret',
'trusted_domains' =>
array (
0 => 'nextcloud.my_domain.fr',
1 => '192.168.0.14',
2 => 'ip address 2',
),
'datadirectory' => '/export2/nextcloudData',
'overwrite.cli.url' => 'https://nextcloud.my_domain.fr',
'dbtype' => 'mysql',
'version' => '27.1.5.1',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextCloudAdmi',
'dbpassword' => 'my_password',
'logfile' => '/var/log/nextcloud/nextcloud.log',
'logtimezone' => 'UTC',
'loglevel' => 1,
'installed' => true,
'mail_from_address' => 'my_email_address',
'mail_smtpmode' => 'smtp',
'mail_domain' => 'free.fr',
'maintenance' => false,
'dbport' => '',
'theme' => '',
'mail_sendmailmode' => 'smtp',
'app_install_overwrite' =>
array (
0 => 'keeweb',
1 => 'templateeditor',
2 => 'nextant',
3 => 'files_texteditor',
4 => 'passwords',
5 => 'documentserver_community',
),
'mysql.utf8mb4' => true,
'memcache.local' => '\\OC\\Memcache\\APCu',
'cache_path' => '/export2/nextcloudData/cache',
'mail_smtphost' => 'smtp.free.fr',
'mail_smtpport' => '465',
'mail_smtpsecure' => 'ssl',
'mail_smtpauth' => 1,
'mail_smtpname' => 'my_email_address',
'mail_smtppassword' => 'my_password',
'twofactor_enforced' => 'true',
'twofactor_enforced_groups' =>
array (
0 => 'admin',
1 => 'famille',
),
'twofactor_enforced_excluded_groups' =>
array (
),
'encryption.legacy_format_support' => false,
'encryption.key_storage_migrated' => false,
'default_phone_region' => 'FR',
'tempdirectory' => '/usr/share/nextcloud/tmp',
'updater.secret' => 'my_secret',
);
I’ve noticed, that I can create a new odt or ods file. But once I’ve saved it, if I try to open it again, I get the same error message :
Xuo.