GithubHelp home page GithubHelp logo

Comments (19)

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

Try to not mount /app/onlyoffice/DocumentServer/lib or change permissions for /app/onlyoffice/DocumentServer/lib
I think there is Error: EACCES: permission denied, mkdir '/var/lib/onlyoffice/documentserver' error in logs, because /app/onlyoffice/DocumentServer/lib folder have no permissions to user onlyoffice to write into

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Hi,
i have the same problem. I have mounted the ../lib Dir and permissions for root correct. i have no user with name onlyoffice. What i do not understand is, where should the directory created? On localhost or in Docker?

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

@Taste-IT Hi.
Directory /app/onlyoffice/DocumentServer/lib should be present on host machine, not inside docker.

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Hi ShockwaveNN,
yes /lib, /data and /logs exists. I got this problem since latest update of OO, before it works well. I delted the docker image and redownloaded newest OO, copied Certs into correct Dir and cant now start Document Server "Something went wrong..." is the message on Document Server Side. Any Idea?

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

@Taste-IT I think something interesting should be in logs - see inside /var/log/onlyoffice in docker, or in host /app/onlyoffice/DocumentServer/logs if you mounted volume if like said earlier

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Hi,
in nginx log - "..[crit] 411#0: *57 connect() to [::1]:8000 failed (99: Cannot assign requested address) while connecting to upstream, client .."
in out.log "..Error: EACCES: permission denied, mkdir '/var/lib/onlyoffice/documentserver' .."

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

I use OO Installation guide for docker and Document Server installation. Is there missing some fact i have todo before, perhaps?

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

It same error as from topic starter.
If you don't need use separate PostreSQL server - you can remove -v /app/onlyoffice/DocumentServer/lib:/var/lib/onlyoffice and I hope everything will be fine

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Yes it is. I cant use a seperate PostgreSQL Server. A way up you said User OnlyOffice has no permission. On Host i have no user like this. Perhaps thats the problem. How to solve this. I wonder that no other have this problem, since i use the office Howto and my System is Debian stable with OO in Subdomain and Port Forward from 443 -> 8888. ?!

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

No, no, you need mount lib IF you use separate Postgre, in your case you can remove this volume.
Also you can change permission to /var/lib/onlyoffice to something like 777, but it's not secure

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Forgett to write - i dont have this directory

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

Oh, sorry, I meant /app/onlyoffice/DocumentServer/lib on host

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Hi,
i did and Document Server starts, but the Security is a problem. How to correct this finaly? It seems that the User in Dockerimage must have rights on this local directory, right? So how to solve this? Another major problem still exists and thats since the beginning of the integration in NextCloud -> Changes in an existing document didnt write back to the cloud.
in out.log i see "...Error: Error response: statusCode:400 ;body:
{"error":1} ... "
Thanks for your help.

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Oh new documents will also not write back to nc, too.

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Backup to permissions - this happend not before actual version of OO, seems they changed something...

from docker-documentserver.

ShockwaveNN avatar ShockwaveNN commented on August 14, 2024

but the Security is a problem. How to correct this finally

We long aware of this, and understand that is a problem, but currently have no perfect solution. We working on it.

NextCloud -> Changes in an existing document didnt write back to the cloud.

Please ask all question about NextCloud in https://github.com/ONLYOFFICE/onlyoffice-owncloud/issues

from docker-documentserver.

Taste-IT avatar Taste-IT commented on August 14, 2024

Ok, i will do and wait for an update... Thanks so far.

from docker-documentserver.

igwyd avatar igwyd commented on August 14, 2024

Hello @cromulus and @Taste-IT, sorry for the late reply, the error is not repiting.

from docker-documentserver.

Rita-Bubnova avatar Rita-Bubnova commented on August 14, 2024

I close this issue. Feel free to comment or reopen it if you got further questions.

from docker-documentserver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.