Comments (6)
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.
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.
Here is how I compile it from source step by step, maybe devs can point out my mistake:
- install Ubuntu Server 22.04.3 x86_64
- install yarn >=3
- install dotnet sdk 7.0
- install docker + docker-compose
- install latest nvm and node 18
- mkdir -p /app/onlyoffice
- git clone --recurse-submodules -b master https://github.com/ONLYOFFICE/DocSpace.git /app/onlyoffice/src
- modify /app/onlyoffice/src/build/build.backend.docker.sh
add "-sp /app/onlyoffice/src" to build-services.sh command - go into a build folder and replace "documentserver-de" to "documentserver" in .sh files so community version is compiled instead of development version
- modify /app/onlyoffice/src/build/install/docker/.env and set
INSTALLATION_TYPE=COMMUNITY - 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 - 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 - /app/onlyoffice/src/build/build.sh
- /app/onlyoffice/src/build/build.backend.docker.sh
- cd /app/onlyoffice/src && yarn build
- cd packages/client && yarn start-prod &
- cd ../login && yarn start-prod &
- cd ../editor && yarn start-prod &
- 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](https://private-user-images.githubusercontent.com/20492291/263525973-e243ddb0-5a73-44cc-a345-1828496baa9f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE3MjUwODEsIm5iZiI6MTcyMTcyNDc4MSwicGF0aCI6Ii8yMDQ5MjI5MS8yNjM1MjU5NzMtZTI0M2RkYjAtNWE3My00NGNjLWEzNDUtMTgyODQ5NmJhYTlmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzIzVDA4NTMwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTU1YzU4YjhiMzdjMWM5MTAxYzhiZmZjYzkwNGE4NjIxMzg4OTFiMmY2YTFkYWZmNjFkYzI4NzA0MzJhYjVhZmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.g50lrvHbcTtlilh8wU7sh6II10BpoPZ0bd938_gAct0)
So if anyone has a tip on how to start this onlyoffice-notify docker container, please let me know.
from docspace.
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.
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.
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.
fixed
from docspace.
Related Issues (16)
- How to use the AppServer project?Thanks! HOT 1
- web/asc-web-components HOT 1
- what should I do if I want to use it in Linux HOT 1
- How to build from source HOT 3
- Docspace Embed Code not working HOT 2
- DocSpace Embed Iframe is not working
- Selfhosted Docker - SMTP settings not applied
- Selfhosted Docker - Custom DNS (Alternate URL) not working. HOT 1
- Docker images keep restarting
- 切换了https 打开没有反应,
- Is there any docker-compose.yml provided to intall? HOT 1
- 504 Gateway Time-out HOT 2
- Access denied for user 'root'@'localhost' (using password: YES) HOT 1
- 使用docker安装onlyoffice docspace社区版后新建文件报错(无法新建word,excel等文件)
- error installing docspace using script
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docspace.