What app is this about, and its version: Seafile v13.0.19~ynh1
What YunoHost version are you running: 12.1.39
What type of hardware are you using: Old laptop or computer
Describe your issue
Hi!
A couple of days ago I installed seafile. I intregrated OnlyOffice and it is mostly working, nice! But I am having a couple of issues I just can’t fix:
- Can not download individual files. When I try, an empty browser window opens and nothing happens. Downloading folders as zip work.
- Can not preview pdf files: When I try, I see what appears to be the UI of the pdf preview, with the title of the pdf at the top, but in the middle where the content should be I just see an spinning wheel.
Some notes:
-
Trying this on two different browsers (Librewolf + Chromium), with and without VPN to make sure it’s not a local networking quirk.
-
both seafile and onlyoffice are installed on the main .noho.st domain, like: “example,noho,st/seafile” and “example,noho,st/onlyoffice”
-
I have already received one seafile update through yunohost web interface some days ago.
-
In the yunohost web interface → Applications → onlyoffice, I am told how to integrate OnlyOffice into Seafile: by adding some lines to “seahub_settings.py”. I found two files with that name on my system:
/var/www/seafile/conf/seahub_settings.py
/etc/yunohost/apps/seafile/conf/seahub_settings.py
Both files start with the warning:
“WARNING: Don’t edit this file. All change will be removed after each app upgrade”
I added the onlyoffice lines to /var/www/seafile/conf/seahub_settings.py, it works, but is reset after an upgrade. So my first question is: How do I change seahub settings persistently? Or do I just have to re-add the changes I made every update? (Same question goes for other config files like seafile.conf) -
I tried to set “use_go_fileserver” to “false” in /var/www/seafile/conf/seafile.conf, but then when trying to download a file, instead of an empty page I get a page just saying “Internal server error”
-
In /var/www/seafile/conf/seahub_settings.py I tried to set “USE_PDFJS” to “False” and add pdf to “ONLYOFFICE_FILE_EXTENSION” to get OnlyOffice to preview pdfs, but this changed nothing.
Any idea how to fix this? Thanks ![]()
Share relevant logs or error messages
Don’t know where to find relevant logs, please tell me if you know, I’ll post them.