Your comments

makes sense, not ideal though..

if the user accesses via webdav, will the folder I shared with her be visible? Or is it only visible via the FileRun UI?

sidenote: 

(I ditched the NextCloud app, it's useless. CX File Explorer is a better webdav file manager. FolderSync is the only good webdav sync app. NextCloud doesn't have a sync feature at all, it only has something that will sync files from server to some Android system folder (single direction, no sync) that other apps can't access normally. Makes it unusable. Also no way to sync the other direction: folders in Android userspace with the server. so no reason to use that app).

maybe I'm mistaken, during generation of the 2nd user it looked like it skipped all files in that mounted asterix folder because a thumb already existed :)

good stuff!

i testedNNextCloud last week and can't believe it's so popular. FileRun works so fast. Instant. And having a dedicated folder on the host machine for each user is much better. I like FR more and more!

@cracksilver did you manage to solve this issue?

And do you also use Traefik?

have a look at my topic, especially the last few posts. I think I have come further than you as your screenshot shows 2 errors and I am certain one of those will be described in the err.log of OnlyOffice.

My err.log is empty yet I am still stuck, waiting for Vlad.


https://feedback.filerun.com/communities/1/topics/1039-onlyoffice-docker-runs-successfully-open-as-blank-website

I am having other issues, namely it seems impossible to get OnlyOffice DocumentServer to work with FileRun (see my other topic).

I believe (but can't confirm) you have to make sure www-data user is not just part of the group that owns the ENTIRE folder structure, but ALSO the owner. I tested, even with www-data group having all rights, if user www-data isn't the owner, files will be read-only and I believe NextCloud app>Home folder stays empty.

But it's a crappy sensitve app and I wish FileRun had a better alternative. For now I am just waiting for support to get OnlyOffice Documentserver to work. 

OK completely redid everything, my compose is now nearly identical to the one from github: 

https://github.com/ONLYOFFICE/Docker-DocumentServer/blob/master/docker-compose.yml

Just with added Traefik labels and DNS 1.1.1.1 and my own JWT and domain.

This is the full startup log. I also did a couple of attempts opening documents, no errors are shown in the log, but I still get "Unknown Error".

I opened a ticket with onlyoffice-documentserver. They were helpful but now point to FileRun being the issue here:

https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/299

This is the full log after setting up new container/image. So now I am stuck with an unknown error that is not shown in a logfile. 

Waiting for connection to the onlyoffice-postgresql host on port 5432

Waiting for connection to the onlyoffice-postgresql host on port 5432

Waiting for connection to the onlyoffice-postgresql host on port 5432

Waiting for connection to the onlyoffice-rabbitmq host on port 5672

Starting supervisor: supervisord.

 * Starting periodic command scheduler cron        
[ OK ]

 * Starting nginx nginx        
[ OK ]

Generating AllFonts.js, please wait...Done

Generating presentation themes, please wait...Done

ds:docservice: stopped

ds:docservice: started

ds:converter: stopped

ds:converter: started

 * Reloading nginx configuration nginx        
[ OK ]

==> /var/log/onlyoffice/documentserver/converter/err.log <==


==> /var/log/onlyoffice/documentserver/converter/out.log <==

[2020-10-09T10:29:29.535] [WARN] nodeJS - update cluster with 1 workers

[2020-10-09T10:29:29.541] [WARN] nodeJS - worker 303 started.

[2020-10-09T10:29:29.542] [WARN] nodeJS - update cluster with 1 workers

[2020-10-09T10:29:41.295] [WARN] nodeJS - update cluster with 1 workers

[2020-10-09T10:29:41.301] [WARN] nodeJS - worker 361 started.

[2020-10-09T10:29:41.302] [WARN] nodeJS - update cluster with 1 workers


==> /var/log/onlyoffice/documentserver/docservice/err.log <==


==> /var/log/onlyoffice/documentserver/docservice/out.log <==

[2020-10-09T10:29:29.696] [WARN] nodeJS - Express server starting...

[2020-10-09T10:29:29.699] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability

[2020-10-09T10:29:29.758] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode

[2020-10-09T10:29:39.957] [WARN] nodeJS - Express server starting...

[2020-10-09T10:29:39.959] [WARN] nodeJS - Failed to subscribe to plugin folder updates. When changing the list of plugins, you must restart the server. https://nodejs.org/docs/latest/api/fs.html#fs_availability

[2020-10-09T10:29:39.984] [WARN] nodeJS - Express server listening on port 8000 in production-linux mode


==> /var/log/onlyoffice/documentserver/metrics/err.log <==


==> /var/log/onlyoffice/documentserver/metrics/out.log <==

9 Oct 10:29:29 - [264] reading config file: ./config/config.js

9 Oct 10:29:29 - server is up INFO


==> /var/log/onlyoffice/documentserver/nginx.error.log <==


==> /var/log/onlyoffice/documentserver/spellchecker/err.log <==


==> /var/log/onlyoffice/documentserver/spellchecker/out.log <==

[2020-10-09T10:29:29.385] [WARN] nodeJS - start cluster with 1 workers

[2020-10-09T10:29:29.391] [WARN] nodeJS - worker 293 started.

[2020-10-09T10:29:29.672] [WARN] nodeJS - Express server starting...

[2020-10-09T10:29:29.702] [WARN] nodeJS - Express server listening on port 8080 in production-linux mode

I also do not understand why it is listening to port 8080 as that port is not defined in the default docker-compose on github nor is it in mine. I posted this too in my issue report on github. Note that in my Traefik Labels, I added "oo-header" middlewares but those are just extra, they are not needed. I have the same result when I remove those.

##_____________________ OnlyOffice Document Server [Cloud/Office]
  onlyoffice:
    image: onlyoffice/documentserver
    container_name: onlyoffice
    depends_on:
      - onlyoffice-postgresql
      - onlyoffice-rabbitmq
    stdin_open: true
    restart: always
    tty: true
    ports:
      - "8889:80"
    volumes:
      - /var/www/onlyoffice/Data
      - /var/log/onlyoffice
      - /var/lib/onlyoffice/documentserver/App_Data/cache/files
      - /var/www/onlyoffice/documentserver-example/public/files
      - /usr/share/fonts
    dns: 1.1.1.1
    environment:
      - JWT_ENABLED="true"
      - JWT_SECRET=$ONLYOFFICEJWT
      - DB_TYPE=postgres
      - DB_HOST=onlyoffice-postgresql
      - DB_PORT=5432
      - DB_NAME=onlyoffice
      - DB_USER=onlyoffice
      - AMQP_URI=amqp://guest:guest@onlyoffice-rabbitmq
    labels:
      - traefik.enable=true
      - traefik.http.middlewares.onlyoffice-redirect.redirectscheme.scheme=https
      - traefik.http.routers.onlyoffice-redirect.entrypoints=web
      - traefik.http.routers.onlyoffice-redirect.middlewares=onlyoffice-redirect
      - traefik.http.routers.onlyoffice-redirect.rule=Host(`office.$DOMAIN`)
      - traefik.http.routers.onlyoffice.entrypoints=websecure
      - traefik.http.routers.onlyoffice.rule=Host(`office.$DOMAIN`)
      - traefik.http.routers.onlyoffice.tls.certresolver=letsencrypt
      - traefik.http.services.onlyoffice.loadbalancer.server.port=80
      - traefik.http.middlewares.oo-header.headers.referrerPolicy=no-referrer
      - traefik.http.middlewares.oo-header.headers.stsSeconds=31536000
      - traefik.http.middlewares.oo-header.headers.forceSTSHeader=true
      - traefik.http.middlewares.oo-header.headers.stsPreload=true
      - traefik.http.middlewares.oo-header.headers.stsIncludeSubdomains=true
      - traefik.http.middlewares.oo-header.headers.browserXssFilter=true
      - traefik.http.middlewares.oo-header.headers.customRequestHeaders.X-Forwarded-Proto=https
##____________________ Onlyoffice rabbitmq [CLOUD/Office]
  onlyoffice-rabbitmq:
    container_name: onlyoffice-rabbitmq
    image: rabbitmq
    restart: always
    expose:
      - '5672'
##____________________ Onlyoffice database [CLOUD/Office]
  onlyoffice-postgresql:
    container_name: onlyoffice-postgresql
    image: postgres:9.5
    environment:
      - POSTGRES_DB=onlyoffice
      - POSTGRES_USER=onlyoffice
      - POSTGRES_HOST_AUTH_METHOD=trust
    restart: always
    expose:
      - '5432'
    volumes:
      - postgresql_data:/var/lib/postgresql

volumes:
  postgresql_data:

Simply changing the DNS of Onlyoffice in Compose solved it. But now I get another Unknown Error when opening doc or docx files:

In its logfile Onlyoffice complains about onlyoffice TypeError: ic.YJb is not a function Script:

==> /var/log/onlyoffice/documentserver/docservice/out.log <==

[2020-10-09T09:03:11.409] [ERROR] nodeJS - changesError: docId = 1397544d805598245930 Error: TypeError: ic.YJb is not a function Script: https://office.obelix.cloud/5.6.5-3/sdkjs/common/libfont/wasm/fonts.js Line: 37:318 userAgent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:81.0) Gecko/20100101 Firefox/81.0 platform: Linux x86_64 isLoadFullApi: false isDocumentLoadComplete: false StackTrace: @https://office.obelix.cloud/5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:318

@https://office.obelix.cloud/5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:325
==> /var/log/onlyoffice/documentserver/nginx.error.log <== 2020/10/09 09:05:36 [error] 4693#4693: *37 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:325" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:325 HTTP/1.1", host: "office.obelix.cloud" 2020/10/09 09:05:36 [error] 4693#4693: *37 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:318" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:318 HTTP/1.1", host: "office.obelix.cloud" 2020/10/09 09:10:05 [error] 4693#4693: *38 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:325" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:325 HTTP/1.1", host: "office.obelix.cloud" 2020/10/09 09:10:05 [error] 4693#4693: *39 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:318" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:318 HTTP/1.1", host: "office.obelix.cloud" 2020/10/09 09:10:05 [error] 4693#4693: *40 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:32" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:32 HTTP/1.1", host: "office.obelix.cloud" 2020/10/09 09:10:05 [error] 4693#4693: *41 open() "/var/www/onlyoffice/documentserver/sdkjs/common/libfont/wasm/fonts.js:37:31" failed (2: No such file or directory), client: 172.19.0.11, server: , request: "GET /5.6.5-3/sdkjs/common/libfont/wasm/fonts.js:37:31 HTTP/1.1", host: "office.obelix.cloud" ==> /var/log/onlyoffice/documentserver/metrics/out.log <== Flushing stats at Fri Oct 09 2020 09:12:00 GMT+0000 (Coordinated Universal Time) { counters: { 'statsd.bad_lines_seen': 0, 'statsd.packets_received': 0, 'statsd.metrics_received': 0 }, timers: {}, gauges: {}, timer_data: {}, counter_rates: { 'statsd.bad_lines_seen': 0, 'statsd.packets_received': 0, 'statsd.metrics_received': 0 }, sets: {}, pctThreshold: [ 90 ] }

Something with fonts? But I tried multiple different and simple doc and docx files..

Got https working successfully with onlyoffice-documentserver: https://office.obelix.cloud

Now when I try to create a new docx via context menu in FileRun or edit an existing doc, I get this message after loading for a while:

Onlyoffice-documentserver docker log. The 

checkIpFilter error

Appears during every attempt I try to open a file in OnlyOffice.

Can you please point me in the direction where I should look? Because I don't understand what is going wrong here.

==> /var/log/onlyoffice/documentserver/docservice/out.log <==

[2020-10-08T22:12:17.349] [ERROR] nodeJS - dnsLookup error: hostname = files.obelix.cloud

Error: getaddrinfo EAI_AGAIN files.obelix.cloud

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)

[2020-10-08T22:12:17.350] [WARN] nodeJS - checkIpFilter error: docId = 12350da9d36507367981;url = https://files.obelix.cloud/wl/?id=7rfVWzZKKOA4F4z6b97TUyorWzCo36UF&action=onlyoffice&save=1

[2020-10-08T22:16:16.449] [ERROR] nodeJS - dnsLookup error: hostname = files.obelix.cloud

Error: getaddrinfo EAI_AGAIN files.obelix.cloud

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)

[2020-10-08T22:16:16.449] [WARN] nodeJS - checkIpFilter error: docId = 12350da9d36507367981;url = https://files.obelix.cloud/wl/?id=FWz0eEjhSMQtkM6tcNQSL2qgPsPXXBcn&action=onlyoffice&save=1

[2020-10-08T22:18:00.050] [ERROR] nodeJS - dnsLookup error: hostname = files.obelix.cloud

Error: getaddrinfo EAI_AGAIN files.obelix.cloud

at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:56:26)

[2020-10-08T22:18:00.050] [WARN] nodeJS - checkIpFilter error: docId = 11724430668707367981;url = https://files.obelix.cloud/wl/?id=pWOwBlsIhabARE3Vp10pjP4sOMjRuIHW&action=onlyoffice&save=1

Snippet of my compose:

https://raw.githubusercontent.com/zilexa/Homeserver/master/docker-compose-filerun-docserver.yml

EDIT: I did wget https://files.obelix.cloud inside console in the OnlyOffice container and it hangs on Resolving files.obelix.cloud (files.obelix.cloud)...

Strangely, although I can access that url just fine remotely and within my LAN, OnlyOffice can't seem to resolve it. No idea how to solve it. Any ideas?

I think my previous comment is a bit unclear. Users should have edit/delete rights in their own UserAAA, UserBBB etc folders. Just no edit/delete right for the Asterix and Collections folder itself. They should have edit/delete rights for the contents of those folders. 

I just do not want users to be able to delete the folders that I am 'mapping in' their folders, while keeping full rights on the contents of those folders. 

Not sure if this is possible, I have been playing with permissions for 2 hours now..