Reinstalled my O/S. Now trying to restore seafile (v4.1.3 - I will update to newer versions when fixed. Or is it possible to deploy latest seafile files / config and it work with the backend database files, etc?)
The databases are restored, with the same user account.
The file structures have been replaced:
- Main seafile structure, untouched.
- Website “DocumentRoot” location. Moved this to a new directory on a RAID volume, then find&replace on the apache config file.
- “media” folder. Moved this under the DocumentRoot location as well.
The seafile and seahub processes start with the standard *.sh files.
I cannot get the web interface to work. If I browse to the home page (domain/home/my/) it errors.
http:///home/my = Forbidden You don’t have permission to access /home/my/ on this server
https:///home/my = Not Found The requested URL /home/my/ was not found on this server (though the certificate does load fine)
My apache file is available here:
any help at all please??
even if someone can tell me where the “/home/my/” directory is, as i cannot find it - so presuming its programmatically produced???
i think during my O/S reinstall, and upgrade to a newer version, i have gone from apache v2.2 to v2.4.
what impact does this have for seafile websites? and reconfiguration!
the previous seafile install was running v4.1.2.
can i restore to a newer version?
are the wiki / manual instructions suitable for all versions?
can i re-run the /seafile-server-4.1.2/setup-seafile-mysql.sh to try to fix? or will this overwrite things?
the repo’s are fine, as i have run a seaf-fsck.sh check and i can also see various 200 return codes when i start a seafile client on my laptop. its just the WebUI that i cannot get to run!
currently, when i restart services, nothing gets written to the django log file at all. most probably related… i have another thread for that, but just trying to get any community involvement.
I think you are missing the ProxyPass entry for ‘/’ in your apache config. DocumentRoot should not be your seafile install dir. Use /var/www or whatever is the standard dir for your distribution. https://manual.seafile.com/deploy/deploy_with_apache.html provides a sample apache config.