Skip to content

fixes "nodeJS - error downloadFile"#101

Closed
armagankaratosun wants to merge 23 commits intoReinerNippes:masterfrom
armagankaratosun:patch-1
Closed

fixes "nodeJS - error downloadFile"#101
armagankaratosun wants to merge 23 commits intoReinerNippes:masterfrom
armagankaratosun:patch-1

Conversation

@armagankaratosun
Copy link
Copy Markdown

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

ReinerNippes and others added 23 commits November 3, 2019 09:07
* moved sudo for aarch64 dependencies

* nginx-extra for mp4 compatibility
Netxcloud doc recommends to add "/.well-known/webfinger" in webserver config file in addition of carddav and caldav:
https://docs.nextcloud.com/server/17/admin_manual/issues/general_troubleshooting.html#service-discovery
- Fix a few typos

Co-authored-by: Jens Friis-Nielsen <jef@evaxion-biotech.com>
This change is only cosmetic but makes the nginx configuration more readable.

Before:

         listen [::]:443 ssl http2;      server_name nc.example.org;

After:

         listen [::]:443 ssl http2;
         server_name nc.example.org;

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
The machine running Nextcloud may already be behind a firewall, so let the
user choose.

Co-authored-by: Baptiste Jonglez <git@bitsofnetworks.org>
usage example:

```
# Import nextcloud role
  pre_tasks:
  - name: "get ansible role with ansible-galaxy"
  command: |
    ansible-galaxy install
    --role-file=tools/requirements.yml
    --roles-path="vendor_roles"
    --force

# requirements.yml
---
- name: ReinerNippes.nextcloud
  src: git@github.com:ReinerNippes/nextcloud.git
  version: "master"
```
nc_db_prefix         = 'oc_' removed
--database-table-prefix {{ nc_db_prefix }} removed
Fix syntax error in inventory file
Added two php packages that nextcloud 19 likes to see installed. Unfortunately I don't know how the packages are named in the other distros
- change module systemd to service
- change MySQL name to Mariadb
fixes the issue reported here ONLYOFFICE/Docker-DocumentServer#96 with self-signed certificates
@ReinerNippes
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown

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 ?

@ReinerNippes ReinerNippes deleted the branch ReinerNippes:master April 2, 2026 20:14
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.