Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes "nodeJS - error downloadFile" #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

armagankaratosun
Copy link

fixes the issue reported here ONLYOFFICE/Docker-DocumentServer#96 with self-signed certificates

fixes the issue reported here ONLYOFFICE/Docker-DocumentServer#96 with self-signed certificates
@ReinerNippes
Copy link
Owner

Thanks. I will look at this.
But I think I fixed that in the new version of the playbook already. But didn't backport.

USE_UNAUTHORIZED_STORAGE: "{% if (tls_certificate_type == 'selfsigned') or tls_certificate_test %}true{% else %}false{% endif %}"

@armagankaratosun
Copy link
Author

Hey, thanks for the reply. That looks actually a more elegant way to do it (if it actually works, didn't try that version). mine is a bit "quick and dirty" approach, to be honest.

@thomasbonsirven
Copy link

thomasbonsirven commented May 30, 2022

Hello,

I have this error,
On nextcloud :
image

Logs Docker Onlyoffice :
image

Every 3 weeks my Onlyoffice stops working.
I have to redo the whole installation.
I don't understand why.

So I have this error, with the scripts of the nextcloud-reloaded branch.

I am on ubuntu 20.04.
Certificate selfsigned.

Now, I would like to find the solution of why I have this problem.

Please help Me @ReinerNippes

@thomasbonsirven
Copy link

Ok, i found a solution but need to edit your ansible for that :

We need to use an AutorizationJwt.
So, in config nextcloud add this :
'onlyoffice' => array ( 'verify_peer_off' => true, 'jwt_header' => "AuthorizationJwt" ),

and in docker for onlyoffice :
-e JWT_HEADER=AuthorizationJwt
And is work, restart docker, and is work.

Other, i dont k,now why, but the port 8000 is already used after fresh install Nextcloud on a fresh installed Ubuntu Server 20.04
You say why ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants