-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
onlyoffice-documentserver: init at 7.1.1-23; nixos/onlyoffice: init #181258
Conversation
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
dc7e6ef
to
e0df58b
Compare
e0df58b
to
5249194
Compare
5249194
to
2dbac36
Compare
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: |
Tried to run this on my server and it looks already promising.
Is it possible to give the When trying to use the module like above I get an error for Nginx because the port 80 is already used by Caddy on my server. Is Nginx required if I just want to have
Could the postgresql backend created automatically on localhost unless specified otherwise? |
Adding an entry to the release notes would be cool too :) |
We would need to port (almost) all of nginx location rules over to Caddy. I currently don't have the time to look into this so for now you would need to use nginx.
I think the example server is disabled by default and also not fully functional yet but it is also only required for testing purposes and not for the nextcloud integration which is my main target. I am also not even sure if the spellchecker module is working or included in that package.
That should already happen. I've added a requires and after to make sure onlyoffice is started after postgresql.
I don't really want to because fixing bugs will probably be a pain. |
2dbac36
to
5e297d0
Compare
That makes sense. What do you think about adding an option like Edit: Okay probably this is not necessary because I can change the listening port for Nginx directly via
|
When trying to setup my OnlyOffice on Nextcloud,
Whereas the file seems to exist
user |
Oh this is though ... Nginx will now run Onlyoffice on http://office.example.org:8080. Now I'm using Caddy as a reverse proxy for the domain https://office.example.org. Unfortunately Nginx will always redirect to http and port 8080. Not sure how to fix this :( |
I'm now running your onlyoffice service in an isolated container with its own network and this works great ;) I have a Caddy web server which does the SSL certificate stuff for me. It has the domain Unfortunately the Nginx web server of the Onlyoffice module seems to redirect to Probably related to this issue ONLYOFFICE/docker-onlyoffice-nextcloud#22 |
If I drop this line
I get further, Onlyoffice starts loading but fails with an other error. The file The file seems to exist
|
I would recommend to only use nginx as a reverse proxy. Probably some of the Headers I set for the proxy are not set from caddy. Those headers are very important for onlyoffice and strange bugs will occur if they are missing. The url to AllFonts is supposed to be Also I would recommend to clear |
Hello ! Thank you very much for porting onlyoffice to NixOS ! |
Yes, it won't be backported. I am not using stable and I don't want to backport such a brittle software. |
Ok, I will use |
Could we do some systemd hardening on the service? |
Sure but I was happy to get it working in the first place and then wanted to take a break of it. |
Description of changes
Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes