I had the same problem. I fixed it by changeing the host of my nextcloud domain.
Look into the interaction betwenn onlyoffice componnents. I had the same issue and solved it by noticing that the docservice could not connect to rabbitmq. So I set the password for rabbitmq one again and it was working. Look closely in your /var/log/rabbitmq files
Hope it helps
Fellows, Onlyoffice DocumentServer 5.5.1 seems to be broken. I have downgraded to Onlyoffice Document Server 5.5.0 using GitHub deb file and my Nextcloud instance is connecting back to the Document Server without issues.
Here is the link I used to download deb file. I followed all pre-requisites installation instructions including postgresql from the Onlyoffice forum.
I had the same issue, since my Nextcloud and my OnlyOffice share the same server and they are behind reverse proxies, I just add âtrusted_proxiesâ into my config.php file
Hope this can help.
this problem was my headache for a day, until out of options I disabled Cloudfrare proxy, then it finally worked.
hope this help anyone still on this. I will check back later to see if there is any way to solve it while still using cloudflare proxy, but I dont have any expectations
We had the same issue at my company, and the problem was that the secret text field placeholder was not really a placeholder, but really a text with the same text than the placeholder.
Since we had no secret, it generated the error. Removing the text fixed the issue.
Hi,
I hope I can still help. Iâve found out that the discord app and the onlyoffice-documentserver are not configured properly out of the box. The solution is this
Solution for docker
- In
docker-compose.yml
change the line- JWT_HEADER=Authorization
to- JWT_HEADER=AuthorizationJwt
- In Nextcloudâs
config.php
add this:
'onlyoffice' =>
array (
"jwt_secret" => "yourSecret",
"jwt_header" => "AuthorizationJwt"
)
- Then just go to Onlyoffice settings in Nextcloud, set the Onlyoffice serverâs addres, put in your secret and save
Solution for normal install
- In
/etc/onlyoffice/documentserver/local.json
change all"header": "Authorization",
lines to"header": "AuthorizationJwt",
- In Nextcloudâs
config.php
add this:
'onlyoffice' =>
array (
"jwt_secret" => "yourSecret",
"jwt_header" => "AuthorizationJwt"
)
- Then just go to Onlyoffice settings in Nextcloud, set the Onlyoffice serverâs addres, put in your secret and save
I Kiss you! It was the secret text âplaceholderâ which was NOT a placeholder, but real text. NOW it works!
1000Thanks
Strange, Onlyoffice document server and docker container, âAuthorizationâ works well and no need of adding extra code to the Nextcloud config file.
Thank you⌠You made my day!
Thank you for the post. Actual I us âdocker runâ for onlyoffice because my first try to create onlyoffice docker-compose.yml doesnât work like âdocker runâ. Can you send me you working docker-compose.yml please?
thx
Well, how am I supposed to change the config.php persistently with Nextcloud AIO?