Have been using seafile since version 6 without any major issues.
However, after upgrading to 9.0.2 the file sharing link shows the internal address instead of the public url??
I saw that this URL was moved in the config files, maybe this is causing the issues?
Btw, I am running sshl in front of nginx, but this didn’t cause any problems so far.
Just found the issue.
Obviously, the update script did not copy the service URL correctly.
Checked the script and did it manually, after a restart, everything is working now OK again.
Sorry for not trying first.
But perhaps this is helpful for other people experiencing the same issue.
Hello! Could you tell me what exactly you changed in the script? As far as I understand, we are talking about this code fragment?
I didn’t change the script, I just read the script and added the service URL accordingly to the config file manually.
Could you show what, specifically, you changed in the configuration file (in this file: seahub_settings.py ?). The URL of your site does not have to be specified or can be covered up in the screenshot. Thanks!
So in version 8 and before the service URL was in ccnet.conf like that:
SERVICE_URL = https://yourdomain.com
In Version 9 it has to bee in seahub_settings.py but the update script did not work in my case, so I added manually:
SERVICE_URL = ‘https://yourdomain.com’
Beware of the quotation mark at the beginning and the end of the domain name in the new file, that’s different from the old file.