Code Monkey home page Code Monkey logo

Comments (6)

Aesuib avatar Aesuib commented on July 23, 2024

How did you compile from the source?
I installed it by using the official installing script, after installation, invitations do not work either, the same trouble, waiting for any answer too

from docspace.

jlaguma avatar jlaguma commented on July 23, 2024

After official installation using build/install/OneClickInstall/install-Docker.sh, everything works.
But if you manually compile everything using build/build.backend.docker.sh, everything works other than user invitations.
I think it's either a bug in build scripts, or I'm doing something wrong. I know it's because onlyoffice-notify docker container is not running. But not sure how to get it to run from compiled files.

from docspace.

jlaguma avatar jlaguma commented on July 23, 2024

Here is how I compile it from source step by step, maybe devs can point out my mistake:

  1. install Ubuntu Server 22.04.3 x86_64
  2. install yarn >=3
  3. install dotnet sdk 7.0
  4. install docker + docker-compose
  5. install latest nvm and node 18
  6. mkdir -p /app/onlyoffice
  7. git clone --recurse-submodules -b master https://github.com/ONLYOFFICE/DocSpace.git /app/onlyoffice/src
  8. modify /app/onlyoffice/src/build/build.backend.docker.sh
    add "-sp /app/onlyoffice/src" to build-services.sh command
  9. go into a build folder and replace "documentserver-de" to "documentserver" in .sh files so community version is compiled instead of development version
  10. modify /app/onlyoffice/src/build/install/docker/.env and set
    INSTALLATION_TYPE=COMMUNITY
  11. modify /app/onlyoffice/src/build/build.backend.docker.sh and change the local_ip like to point to my ip:
    local_ip=192.168.0.36
  12. modify /app/onlyoffice/src/build/start/start.backend.docker.sh and change the local_ip like to point to my ip:
    local_ip=192.168.0.36
  13. /app/onlyoffice/src/build/build.sh
  14. /app/onlyoffice/src/build/build.backend.docker.sh
  15. cd /app/onlyoffice/src && yarn build
  16. cd packages/client && yarn start-prod &
  17. cd ../login && yarn start-prod &
  18. cd ../editor && yarn start-prod &
  19. http://192.168.0.36:8092

After this everything works, but notifications / invitations to user do not due to the fact that onlyoffice-notify docker container is not running. Here is what is running after my commands:

image

So if anyone has a tip on how to start this onlyoffice-notify docker container, please let me know.

from docspace.

jlaguma avatar jlaguma commented on July 23, 2024

Can one of the devs help with this? It's obviously a bug on Onlyoffice side.
The build/install/docker/docspace.overcome.yml has no entry for onlyoffice-notify container.
I've manually added the entry here:

onlyoffice-notify: <<: *x-profiles-local image: ${Baseimage_Dotnet_Run} working_dir: ${BUILD_PATH}/services/ASC.Notify/service/ command: ["ASC.Notify.dll", "ASC.Notify"] volumes: - ${SRC_PATH}/ASC.Notify/service:${BUILD_PATH}/services/ASC.Notify/service/ - ${SRC_PATH}/ASC.Files/service/:${BUILD_PATH}/products/ASC.Files/server/ - ${SRC_PATH}/ASC.People/service/:${BUILD_PATH}/products/ASC.People/server/ - ${ROOT_DIR}/config/appsettings.${ENV_EXTENSION}.json:/app/onlyoffice/config/appsettings.${ENV_EXTENSION}.json - ${ROOT_DIR}/config/apisystem.${ENV_EXTENSION}.json:/app/onlyoffice/config/apisystem.${ENV_EXTENSION}.json depends_on: onlyoffice-migration-runner: condition: service_completed_successfully

Basically a copy of "onlyoffice-studio-notify", with "Studio.Notify" replaced with "Notify".
After this nodification, onlyoffice-notify container starts up.
image

But things are still not working due to the fact that onlyoffice-notify stuck in restart loop.

Can we get any tips on how to resolve this?

from docspace.

jlaguma avatar jlaguma commented on July 23, 2024

I managed to fix everything my modifying “volumes” at the end of build/install/docker/docspace.profiles.yml to:
volumes: es_data: proxy_log: app_data: files_data: people_data: crm_data: project_data: calendar_data: mail_data:

Now everything works!

from docspace.

jlaguma avatar jlaguma commented on July 23, 2024

fixed

from docspace.

Related Issues (16)

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.