How to change SERVICE_URL in database?

Hey there.

Using the Web Interface, I edited the Service URL. I wanted to change it from the Server IP to it’s hostname.

Without success.

Now after restarting I cannot access neither Seafile nor the Seahub Web Interface via the former IP anymore.

Every help is much appreciated!


How did you configure your nginx or apache?

Hey there. I use lighttpd in a pretty basic configuration. In fact there is no specific configuration for Seafile as I only use it in my internal network.

Well you really should configure nginx or apache for seafile. Also A record to your IP (from the domain names control panel) is necessary

It worked perfectly well before I changed the Service URL via the web GUI. Not sure if I really wanna switch the web server. I actually just need to change the service URL in the database back to the old IP.