Closed eh393 closed 5 years ago
You need to set the seafile
owner of the directory like here : https://github.com/YunoHost-Apps/seafile_ynh/blob/master/scripts/install#L153
So I ran the command to give that directory ownership: chown -R seafile:seafile /media/storage/seafile-data
Now instead of a "502 Bad Gateway" error when trying to load the web GUI, I get a "Page unavailable. Sorry, but the requested page is unavailable due to a server hiccup. Our engineers have been notified, so check back later." and a server internal error when using SeaDrive.
If I go to my domain /seafhttp then I get a "502 Bad Gateway" error.
Can you see the content of :
/opt/yunohost/seafile/logs/ccnet.log
/opt/yunohost/seafile/logs/gunicorn_error.log
/opt/yunohost/seafile/logs/seahub.log
/opt/yunohost/seafile/logs/seahub.init.log
/opt/yunohost/seafile/logs/controller.log
/opt/yunohost/seafile/logs/gunicorn_access.log
And see if your have any error.
Yes, lots of errors... gunicorn_error.log and gunicorn_access.log don't exist but here are the rest:
/opt/yunohost/seafile/logs/ccnet.log
[01/28/19 23:04:10] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf [01/28/19 23:04:10] ../common/session.c(484): Listen on /opt/yunohost/seafile/ccnet/ccnet.sock for local clients [01/28/19 23:04:10] ../common/session.c(290): Update pubinfo file [01/28/19 23:04:11] ../common/session.c(398): Accepted a local client [01/28/19 23:04:11] ../common/session.c(398): Accepted a local client [01/28/19 23:04:11] ../common/session.c(398): Accepted a local client [01/28/19 23:04:11] ../common/session.c(398): Accepted a local client [01/28/19 23:04:14] ../common/session.c(398): Accepted a local client [01/28/19 23:04:14] ../common/peer.c(943): Local peer down [01/28/19 23:04:19] ../common/session.c(369): Exit at Mon Jan 28 23:04:19 2019 [01/28/19 23:04:19] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf [01/28/19 23:04:19] ../common/session.c(455): socket file exists, delete it anyway [01/28/19 23:04:19] ../common/session.c(484): Listen on /opt/yunohost/seafile/ccnet/ccnet.sock for local clients [01/28/19 23:04:19] ../common/session.c(290): Update pubinfo file [01/28/19 23:04:20] ../common/session.c(398): Accepted a local client [01/28/19 23:04:20] ../common/session.c(398): Accepted a local client [01/28/19 23:04:20] ../common/session.c(398): Accepted a local client [01/28/19 23:04:20] ../common/session.c(398): Accepted a local client [01/28/19 23:04:22] ../common/session.c(398): Accepted a local client [01/28/19 23:04:22] ../common/peer.c(943): Local peer down [01/28/19 23:04:47] ../common/session.c(398): Accepted a local client [01/28/19 23:04:47] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:04:54] ../common/session.c(398): Accepted a local client [01/28/19 23:04:54] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:05:13] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:06:29] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:08:34] ../common/session.c(398): Accepted a local client [01/28/19 23:08:42] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:08:47] ../common/session.c(398): Accepted a local client [01/28/19 23:08:57] ../common/session.c(398): Accepted a local client [01/28/19 23:17:59] ../common/peer.c(943): Local peer down [01/28/19 23:17:59] ../common/peer.c(943): Local peer down [01/28/19 23:17:59] ../common/peer.c(943): Local peer down [01/28/19 23:17:59] ../common/peer.c(943): Local peer down [01/28/19 23:18:07] ../common/session.c(369): Exit at Mon Jan 28 23:18:07 2019 [01/28/19 23:29:11] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf [01/28/19 23:29:11] ../common/session.c(455): socket file exists, delete it anyway [01/28/19 23:29:11] ../common/session.c(484): Listen on /opt/yunohost/seafile/ccnet/ccnet.sock for local clients [01/28/19 23:29:11] ../common/session.c(290): Update pubinfo file [01/28/19 23:29:12] ../common/session.c(398): Accepted a local client [01/28/19 23:29:12] ../common/session.c(398): Accepted a local client [01/28/19 23:29:12] ../common/session.c(398): Accepted a local client [01/28/19 23:29:12] ../common/session.c(398): Accepted a local client [01/28/19 23:29:17] ../common/session.c(398): Accepted a local client [01/28/19 23:29:17] ../common/peer.c(943): Local peer down [01/28/19 23:29:55] ../common/session.c(398): Accepted a local client [01/28/19 23:29:55] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:29:56] ../common/session.c(398): Accepted a local client [01/28/19 23:29:59] ../common/session.c(398): Accepted a local client [01/28/19 23:30:15] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:30:16] ../common/session.c(398): Accepted a local client [01/28/19 23:30:16] ../common/session.c(398): Accepted a local client [01/28/19 23:30:18] ../common/session.c(398): Accepted a local client [01/28/19 23:31:13] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:48:15] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:48:15] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:48:26] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:48:26] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:48:32] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/28/19 23:53:10] user-mgr.c(300): ldap_bind failed for user uid=eh393,ou=users,dc=yunohost,dc=org: Invalid credentials. [01/29/19 09:56:03] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf [01/29/19 09:56:03] ../common/session.c(455): socket file exists, delete it anyway [01/29/19 09:56:03] ../common/session.c(484): Listen on /opt/yunohost/seafile/ccnet/ccnet.sock for local clients [01/29/19 09:56:03] ../common/session.c(290): Update pubinfo file [01/29/19 09:56:03] ccnet-server.c(76): Failed to fopen() pidfile /opt/yunohost/seafile/pids/ccnet.pid: Permission denied [01/29/19 09:56:03] ccnet-server.c(352): Failed to write pidfile [01/29/19 10:21:00] ../common/session.c(132): using config file /opt/yunohost/seafile/conf/ccnet.conf [01/29/19 10:21:00] ../common/session.c(455): socket file exists, delete it anyway [01/29/19 10:21:00] ../common/session.c(484): Listen on /opt/yunohost/seafile/ccnet/ccnet.sock for local clients [01/29/19 10:21:00] ../common/session.c(290): Update pubinfo file [01/29/19 10:21:00] ccnet-server.c(76): Failed to fopen() pidfile /opt/yunohost/seafile/pids/ccnet.pid: Permission denied [01/29/19 10:21:00] ccnet-server.c(352): Failed to write pidfile
/opt/yunohost/seafile/logs/seahub.log This one is enormous so this is a beginning excerpt and from the end.
2019-01-28 23:59:43,230 [ERROR] django.security.DisallowedHost:80 response_for_exception Invalid HTTP_HOST header: '192.168.178.75:8000'. You may need to add u'192.168.178.75' to ALLOWED_HOSTS. 2019-01-29 09:56:59,360 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /seafile/api2/account/info/ Traceback (most recent call last): File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 249, in _legacy_get_response response = self._get_response(request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, *callback_args, callback_kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view return view_func(*args, *kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/views/generic/base.py", line 68, in view return self.dispatch(request, args, kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/base.py", line 23, in dispatch response = super(APIView, self).dispatch(*a, kw) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/views.py", line 483, in dispatch response = self.handle_exception(exc) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/base.py", line 20, in handle_exception return super(APIView, self).handle_exception(exc) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/views.py", line 443, in handle_exception self.raise_uncaught_exception(exc) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/views.py", line 471, in dispatch self.initial(request, *args, *kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/views.py", line 388, in initial self.perform_authentication(request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/views.py", line 314, in perform_authentication request.user File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/request.py", line 222, in user self._authenticate() File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/request.py", line 375, in _authenticate user_auth_tuple = authenticator.authenticate(self) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/authentication.py", line 62, in authenticate ret = self.authenticate_v2(request, key) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/authentication.py", line 98, in authenticate_v2 user = User.objects.get(email=token.user) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/base/accounts.py", line 94, in get emailuser = ccnet_threaded_rpc.get_emailuser(email) File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/pysearpc/client.py", line 110, in newfunc ret_str = self.call_remote_func_sync(fcall_str) File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/rpc.py", line 71, in call_remote_func_sync client = self.pool.get_client() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/pool.py", line 29, in get_client client = self._create_client() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/pool.py", line 21, in _create_client client.connect_daemon() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/client.py", line 131, in connect_daemon return self.connect_daemon_with_pipe() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/client.py", line 113, in connect_daemon_with_pipe raise NetworkError("Can't connect to daemon") NetworkError: Can't connect to daemon 2019-01-29 09:57:58,463 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /seafile/api2/auth/ping/ Traceback (most recent call last): File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/exception.py", line 41, in inner response = get_response(request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 249, in _legacy_get_response response = self._get_response(request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 187, in _get_response response = self.process_exception_by_middleware(e, request) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/core/handlers/base.py", line 185, in _get_response response = wrapped_callback(request, callback_args, callback_kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/views/decorators/csrf.py", line 58, in wrapped_view return view_func(*args, kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/Django-1.11.15-py2.7.egg/django/views/generic/base.py", line 68, in view return self.dispatch(request, *args, *kwargs) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/base.py", line 23, in dispatch response = super(APIView, self).dispatch(a, kw) (THIS FILE IS ENORMOUS SO HERE IS AN EXCERPT FROM THE END) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/request.py", line 222, in user self._authenticate() File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/thirdpart/djangorestframework-3.8.2-py2.7.egg/rest_framework/request.py", line 375, in _authenticate user_auth_tuple = authenticator.authenticate(self) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/authentication.py", line 62, in authenticate ret = self.authenticate_v2(request, key) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/api2/authentication.py", line 98, in authenticate_v2 user = User.objects.get(email=token.user) File "/opt/yunohost/seafile/seafile-server-6.3.4/seahub/seahub/base/accounts.py", line 94, in get emailuser = ccnet_threaded_rpc.get_emailuser(email) File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/pysearpc/client.py", line 110, in newfunc ret_str = self.call_remote_func_sync(fcall_str) File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/rpc.py", line 71, in call_remote_func_sync client = self.pool.get_client() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/pool.py", line 29, in get_client client = self._create_client() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/pool.py", line 21, in _create_client client.connect_daemon() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/client.py", line 131, in connect_daemon return self.connect_daemon_with_pipe() File "/opt/yunohost/seafile/seafile-server-6.3.4/seafile/lib/python2.7/site-packages/ccnet/client.py", line 113, in connect_daemon_with_pipe raise NetworkError("Can't connect to daemon") NetworkError: Can't connect to daemon
/opt/yunohost/seafile/logs/seahub.init.log
LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 ... Seahub is started Done. Stopping seahub ... Done. LC_ALL is not set in ENV, set to en_US.UTF-8 Warning: seafile-controller not running. Have you run "./seafile.sh start" ? LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 ... [33mError happened during creating seafile admin.[m Seahub is started Done. Seahub is not running Done. LC_ALL is not set in ENV, set to en_US.UTF-8 Starting seahub at port 8000 ... [33mError happened during creating seafile admin.[m Seahub is started Done.
/opt/yunohost/seafile/logs/controller.log
[01/28/19 23:04:10] seafile-controller.c(169): starting ccnet-server ... [01/28/19 23:04:10] seafile-controller.c(73): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid [01/28/19 23:04:10] seafile-controller.c(88): spawned ccnet-server, pid 9728 [01/28/19 23:04:11] seafile-controller.c(571): ccnet daemon connected. [01/28/19 23:04:11] seafile-controller.c(201): starting seaf-server ... [01/28/19 23:04:11] seafile-controller.c(73): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid [01/28/19 23:04:11] seafile-controller.c(88): spawned seaf-server, pid 9734 [01/28/19 23:04:11] seafile-controller.c(411): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist [01/28/19 23:04:11] seafile-controller.c(73): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost [01/28/19 23:04:11] seafile-controller.c(88): spawned /usr/bin/python2.7, pid 9735 [01/28/19 23:04:19] seafile-controller.c(582): shutting down ccnet-server ... [01/28/19 23:04:19] seafile-controller.c(169): starting ccnet-server ... [01/28/19 23:04:19] seafile-controller.c(73): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid [01/28/19 23:04:19] seafile-controller.c(88): spawned ccnet-server, pid 9849 [01/28/19 23:04:20] seafile-controller.c(571): ccnet daemon connected. [01/28/19 23:04:20] seafile-controller.c(201): starting seaf-server ... [01/28/19 23:04:20] seafile-controller.c(73): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /home/yunohost.app/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid [01/28/19 23:04:20] seafile-controller.c(88): spawned seaf-server, pid 9855 [01/28/19 23:04:20] seafile-controller.c(411): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist [01/28/19 23:04:20] seafile-controller.c(73): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost [01/28/19 23:04:20] seafile-controller.c(88): spawned /usr/bin/python2.7, pid 9856 [01/28/19 23:18:07] seafile-controller.c(582): shutting down ccnet-server ... [01/28/19 23:29:11] seafile-controller.c(169): starting ccnet-server ... [01/28/19 23:29:11] seafile-controller.c(73): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid [01/28/19 23:29:11] seafile-controller.c(88): spawned ccnet-server, pid 10776 [01/28/19 23:29:12] seafile-controller.c(571): ccnet daemon connected. [01/28/19 23:29:12] seafile-controller.c(201): starting seaf-server ... [01/28/19 23:29:12] seafile-controller.c(73): spawn_process: seaf-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -d /media/storage/seafile-data -l /opt/yunohost/seafile/logs/seafile.log -P /opt/yunohost/seafile/pids/seaf-server.pid [01/28/19 23:29:12] seafile-controller.c(88): spawned seaf-server, pid 10782 [01/28/19 23:29:12] seafile-controller.c(411): pid file /opt/yunohost/seafile/pids/seafdav.pid does not exist [01/28/19 23:29:12] seafile-controller.c(73): spawn_process: /usr/bin/python2.7 -m wsgidav.server.run_server runfcgi --log-file /opt/yunohost/seafile/logs/seafdav.log --pid /opt/yunohost/seafile/pids/seafdav.pid --port 8080 --host localhost [01/28/19 23:29:12] seafile-controller.c(88): spawned /usr/bin/python2.7, pid 10783 [01/29/19 09:56:03] seafile-controller.c(169): starting ccnet-server ... [01/29/19 09:56:03] seafile-controller.c(73): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid [01/29/19 09:56:03] seafile-controller.c(88): spawned ccnet-server, pid 1954 [01/29/19 10:16:27] seafile-controller.c(582): shutting down ccnet-server ... [01/29/19 10:21:00] seafile-controller.c(169): starting ccnet-server ... [01/29/19 10:21:00] seafile-controller.c(73): spawn_process: ccnet-server -F /opt/yunohost/seafile/conf -c /opt/yunohost/seafile/ccnet -f /opt/yunohost/seafile/logs/ccnet.log -d -P /opt/yunohost/seafile/pids/ccnet.pid [01/29/19 10:21:00] seafile-controller.c(88): spawned ccnet-server, pid 1907
Did you try to restart your server ?
Maybe you can also try set a new time the permission for the final path like:
chown -R seafile:seafile /opt/yunohost/seafile
I did try to restart it several times and just tried the chown command and restarting again but when loading the web GUI it gives a 502 Bad Gateway again
I just did the chown command for: chown -R seafile:seafile /opt/yunohost/seafile chown -R seafile:seafile /media/storage chown -R seafile:seafile /media/storage/seafile-data
And it's working! I hope it'll continue working correctly. Does this mean the cause of the problem is making sure that the seafile user owns the new seafile-data directory and root of the mounted HD?
It's just important that all file related to seafile is owned by seafile.
Great, thank you for the help!!
Seafile installs great but the data directory is pointed towards /home/yunohost.app/seafile-data. I'd like to point it to my mounted external HD at /media/storage/seafile-data/.
Anytime I try to fix this myself I get a slew of errors resulting in a 502 Gateway Error when trying to access the Seafile GUI. Am I missing something in my steps below?
Seafile works fine and will begin uploading files, but after I reboot the system then I get the 502 Gateway Error.