I have no Seafile Log In page

Hi All,
Seafile was installed to VPS with Ubuntu 18.04

Seafile service is active.
Seahub service is active.
I’m trying _193.XXX.XXX.201:8000 or mydomain_net:8000 -> and nothing.
if_mydomain.net - Welcome to Nginx.
if _localhost:8000 (via rdp) - the log in page is appeared -> login/password -> Page unavailable

Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.

Where to start troubleshooting from?

Regards,
Andrey

Hi @Kortik, welcome to our community!

Would you post your nginx configuration? Normally, you should be able to access some log files at /var/log/nginx.

Did you setup the server in the way described in the official manual?

Hi jojo243,
Thank you for reply.
I’m sorry but I’m self-studding in Linux :).
I didn’t touch anything just install and adjust iRedmail (Nginx+Dovecot, SpamAssassin, Greylist, ClamAV, SOGo Roundcube, NetData, MariaDB, postfixadmin).
If you mean to post _/etc/nginx/nginx.conf :

user _www-data;
worker_processes 1;
pid _/var/run/nginx.pid;

events {

  • worker_connections 1024;*
    }

  • http {*

  • include _/etc/nginx/conf-enabled/.conf;

  • include _/etc/nginx/sites-enabled/.conf;

  • server_names_hash_bucket_size 64;*
    }

Just carried out your advice and did as described in the official manual]
Now, I have a Seafile Log in page from internet but when I tried to login I see:
# Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.

also the status of seahub service have one notice:

[root@mail ~]# systemctl status seahub
● seahub.service - Seafile

  • Loaded: loaded(/etc/systemd/system/seahub.service; enabled; vendor preset: enabled)*
  • Active: active (exited) since Mon 2019-12-16 03:05:56 MSK; 7h ago*
  • Main PID: 21380 (code=exited, status=0/SUCCESS)*
  • Tasks: 6 (limit: 2317)*
  • CGroup: /system.slice/seahub.service*
  •       ├─21419 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    
  •       ├─21469 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    
  •       ├─21470 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    
  •       ├─21471 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    
  •       ├─21472 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    
  •       └─21473 python2.7/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/gunicorn seahub.wsgi:application -c/opt/seafile/conf/gunicorn.conf --preload*
    

Dec 16 03:05:49mail.mynet.net systemd[1]: Starting Seafile…
Dec 16 03:05:49mail.mynet.net seahub.sh[21380]: Starting seahub at port 8000 …
Dec 16 03:05:50mail.mynet.net seahub.sh[21380]: Error happened during creating seafile admin.

Dec 16 03:05:56mail.mynet.net seahub.sh[21380]: Seahub is started
Dec 16 03:05:56mail.mynet.net seahub.sh[21380]: Done.
Dec 16 03:05:56mail.mynet.net systemd[1]: Started Seafile.

One more remarks:
when_https://seafile.mydomain.net/ => Welcome Nginx page
when_seafile.mydomain.net => seafile login page and then =>
# Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later.

Regards,
Andrey

Hi Andrey,

all right. You should be able to install the seafile server without deeper knowledge in linux :wink: Some things can be tricky, though. But don’t worry.
Ok, so with https, a welcome page is displayed => this means at least one nginx config file exists that includes a directive listen 443.

My guess is that your installation of seafile somehow interferes with dovecot. Please post the output of cat /etc/nginx/sites-enabled/*.

Hi jojo243,

Before seafile I tried to install Nextcloud using Snap and normal. But unsuccessfully.
I thied also install Nextcloud on my other VPS with Apache and there are no problem but not enough source there :).

see below:

 # cat /etc/nginx/sites-enabled/*
#
# Note: This file must be loaded before other virtual host config files,
#
# HTTP
server {
    # Listen on ipv4
    listen 80;

    # Listen on ipv6.
    # Note: this setting listens on both ipv4 and ipv6 with Nginx release
    #       shipped in some Linux/BSD distributions.
    #listen [::]:80;

    server_name _;

    # Redirect all insecure http:// requests to https://
    return 301 https://$host$request_uri;
}
#
# Note: This file must be loaded before other virtual host config files,
#
# HTTPS
server {
    listen 443;
    server_name _;

    root /var/www/html;
    index index.php index.html;

    include /etc/nginx/templates/misc.tmpl;
    include /etc/nginx/templates/ssl.tmpl;
    include /etc/nginx/templates/iredadmin.tmpl;
    include /etc/nginx/templates/roundcube.tmpl;
    include /etc/nginx/templates/sogo.tmpl;
    include /etc/nginx/templates/netdata.tmpl;
    include /etc/nginx/templates/php-catchall.tmpl;
    include /etc/nginx/templates/stub_status.tmpl;
}
server {
    listen 80;
    server_name nextcloud.mynet.net;

    # Add headers to serve security related headers
    add_header X-Content-Type-Options nosniff;
    add_header X-XSS-Protection "1; mode=block";
    add_header X-Robots-Tag none;
    add_header X-Download-Options noopen;
    add_header X-Permitted-Cross-Domain-Policies none;

    #This header is already set in PHP, so it is commented out here.
    #add_header X-Frame-Options "SAMEORIGIN";

    # Path to the root of your installation
    root /var/www/html/nextcloud/;

    location = /robots.txt {
        allow all;
        log_not_found off;
        access_log off;
    }

    # The following 2 rules are only needed for the user_webfinger app.
    # Uncomment it if you're planning to use this app.
    #rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
    #rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json
    # last;

    location = /.well-known/carddav {
        return 301 $scheme://$host/remote.php/dav;
    }
    location = /.well-known/caldav {
       return 301 $scheme://$host/remote.php/dav;
    }

    location ~ /.well-known/acme-challenge {
      allow all;
    }

    # set max upload size
    client_max_body_size 512M;
    fastcgi_buffers 64 4K;

    # Disable gzip to avoid the removal of the ETag header
    gzip off;

    # Uncomment if your server is build with the ngx_pagespeed module
    # This module is currently not supported.
    #pagespeed off;

    error_page 403 /core/templates/403.php;
    error_page 404 /core/templates/404.php;

    location / {
       rewrite ^ /index.php$uri;
    }

    location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
       deny all;
    }
    location ~ ^/(?:\.|autotest|occ|issue|indie|db_|console) {
       deny all;
     }

    location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+|core/tem                                        plates/40[34])\.php(?:$|/) {
       include fastcgi_params;
       fastcgi_split_path_info ^(.+\.php)(/.*)$;
       fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
       fastcgi_param PATH_INFO $fastcgi_path_info;
       #Avoid sending the security headers twice
       fastcgi_param modHeadersAvailable true;
       fastcgi_param front_controller_active true;
       fastcgi_pass unix:/run/php/php7.3-fpm.sock;
       fastcgi_intercept_errors on;
       fastcgi_request_buffering off;
    }

    location ~ ^/(?:updater|ocs-provider)(?:$|/) {
       try_files $uri/ =404;
       index index.php;
    }

    # Adding the cache control header for js and css files
    # Make sure it is BELOW the PHP block
    location ~* \.(?:css|js)$ {
        try_files $uri /index.php$uri$is_args$args;
        add_header Cache-Control "public, max-age=7200";
        # Add headers to serve security related headers (It is intended to
        # have those duplicated to the ones above)
        add_header X-Content-Type-Options nosniff;
        add_header X-XSS-Protection "1; mode=block";
        add_header X-Robots-Tag none;
        add_header X-Download-Options noopen;
        add_header X-Permitted-Cross-Domain-Policies none;
        # Optional: Don't log access to assets
        access_log off;
   }

   location ~* \.(?:svg|gif|png|html|ttf|woff|ico|jpg|jpeg)$ {
        try_files $uri /index.php$uri$is_args$args;
        # Optional: Don't log access to other assets
        access_log off;
   }
}
server {
    listen 80;
    listen [::]:80;

    root /var/www/nextcloud.mynet.net/html;
    index index.html index.htm index.nginx-debian.html nextcloud.mynet.net;
    server_name nextcloud.mynet.net www.nextcloud.mynet.net;

# include ssl.conf;
# ssl_certificate /etc/letsencrypt/live/nextcloud.myne.net/fullchain.pem;
#ssl_certificate_key /etc/letsencrypt/live/nextcloud.myne.net/privkey.pem;
#
# access_log /var/log/nginx/nextcloud.myne.net.access.log;
# error_log /var/log/nginx/nextcloud.myne.net.error.log;

    location / {
        try_files $uri $uri/ =404;
    }
}
server {
    listen 80;
    listen [::]:80;
    root /var/www/html/seafile;
    server_name  mynet.net;

     client_max_body_size 100M;

     autoindex off;

     access_log /var/log/nginx/mynet.net.access.log;
     error_log /var/log/nginx/mynet.net.error.log;

     location / {
            proxy_pass         http://127.0.0.1:8000;
            proxy_set_header   Host $host;
            proxy_set_header   X-Real-IP $remote_addr;
            proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header   X-Forwarded-Host $server_name;
            proxy_read_timeout  1200s;
        }

     location /seafhttp {
            rewrite ^/seafhttp(.*)$ $1 break;
            proxy_pass http://127.0.0.1:8082;
            proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_connect_timeout  36000s;
            proxy_read_timeout  36000s;
            proxy_send_timeout  36000s;
            send_timeout  36000s;
        }

    location /media {
            root /var/www/html/seahub;
        }
}
log_format seafileformat '$http_x_forwarded_for $remote_addr [$time_local] "$request" $status $body_bytes_sent "$h                                        ttp_referer" "$http_user_agent" $upstream_response_time';

server {
    listen 80;
    server_name seafile.mynet.net;

    proxy_set_header X-Forwarded-For $remote_addr;

    location / {
         proxy_pass         http://127.0.0.1:8000;
         proxy_set_header   Host $host;
         proxy_set_header   X-Real-IP $remote_addr;
         proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
         proxy_set_header   X-Forwarded-Host $server_name;
         proxy_read_timeout  1200s;

         # used for view/edit office file via Office Online Server
         client_max_body_size 0;

         access_log      /var/log/nginx/seahub.access.log seafileformat;
         error_log       /var/log/nginx/seahub.error.log;
    }

# If you are using [FastCGI](http://en.wikipedia.org/wiki/FastCGI),
# which is not recommended, you should use the following config for location `/`.
#
#    location / {
#         fastcgi_pass    127.0.0.1:8000;
#         fastcgi_param   SCRIPT_FILENAME     $document_root$fastcgi_script_name;
#         fastcgi_param   PATH_INFO           $fastcgi_script_name;
#
#         fastcgi_param  SERVER_PROTOCOL         $server_protocol;
#         fastcgi_param   QUERY_STRING        $query_string;
#         fastcgi_param   REQUEST_METHOD      $request_method;
#         fastcgi_param   CONTENT_TYPE        $content_type;
#         fastcgi_param   CONTENT_LENGTH      $content_length;
#         fastcgi_param  SERVER_ADDR         $server_addr;
#         fastcgi_param  SERVER_PORT         $server_port;
#         fastcgi_param  SERVER_NAME         $server_name;
#         fastcgi_param   REMOTE_ADDR         $remote_addr;
#        fastcgi_read_timeout 36000;
#
#         client_max_body_size 0;
#
#         access_log      /var/log/nginx/seahub.access.log;
#        error_log       /var/log/nginx/seahub.error.log;
#    }

    location /seafhttp {
        rewrite ^/seafhttp(.*)$ $1 break;
        proxy_pass http://127.0.0.1:8082;
        client_max_body_size 0;
        proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_connect_timeout  36000s;
        proxy_read_timeout  36000s;
        proxy_send_timeout  36000s;

        send_timeout  36000s;

        access_log      /var/log/nginx/seafhttp.access.log seafileformat;
        error_log       /var/log/nginx/seafhttp.error.log;
    }
    location /media {
        root /home/user/haiwen/seafile-server-latest/seahub;
    }
}server {
    listen 80;
    listen [::]:80;

    root /var/www/mynet.net/test_html;

    index index.html;

    server_name myne.net www.mynet.net;

    access_log /var/log/nginx/mynet.net.access.log;
    error_log /var/log/nginx/mynet.net.error.log;

    location / {
        try_files $uri $uri/ =404;
    }
}

Hi Andrew,
Okay, certainly, this is whats causing the problem. For completeness, would you please provide the output of

ls -la /etc/nginx/sites-enabled

so I can tell you which files to delete and which to preserve.

Hi jojo243,

Also I want to clean all of Nextcloud. Do I have to remove Nexcloud’s foulters?

-delete the web-directory (e.g. /var/www/nextcloud)
-delete the data directory (if in another folder)
-drop the database

Please, see below:

ls -la /etc/nginx/sites-enabled

total 8
drwxr-xr-x  2 root root 4096 Dec 16 10:23 .
drwxr-xr-x 13 root root 4096 Dec 15 01:10 ..
lrwxrwxrwx  1 root root   42 Dec  3 01:35 00-default2.conf -> /etc/nginx/sites-a  vailable/00-default.conf lrwxrwxrwx  1 root root   46 Dec  3 01:35 00-default-ssl.conf -> /etc/nginx/site s-available/00-default-ssl.conf
lrwxrwxrwx  1 root root   36 Dec 11 14:27 nextcloud -> /etc/nginx/sites-availabl e/nextcloud
lrwxrwxrwx  1 root root   48 Dec 15 01:08 nextcloud.mynet.net -> /etc/nginx/sites-available/nextcloud.mynet.net
 lrwxrwxrwx  1 root root   34 Dec 15 02:25 seafile -> /etc/nginx/sites-available/seafile
 lrwxrwxrwx  1 root root   39 Dec 16 10:23 seafile.conf -> /etc/nginx/sites-available/seafile.conf
 lrwxrwxrwx  1 root root   38 Dec  6 19:24 mynet.net -> /etc/nginx/sites-available/mynet.net

All right! As every file inside this directory is only a symlink to /etc/nginx/sites-available/, you may safely delete all the links except seafile.conf. Here is a shorthand script:

cd /etc/nginx/sites-enabled/
ls | grep -v seafile.conf | xargs rm

after that, list the contents in the directory -> only seafile.conf should be present

$ ls /etc/nginx/sites-enabled/
# => seafile.conf -> /etc/nginx/sites-available/seafile.conf

Then, reload nginx and see if any error messages occur:

$ sudo nginx -s reload

Regarding nextcloud, I don’t have any experience with that software. Deleting /var/www/nextcloud sounds reasonable to me. You don’t have to remove it to use seafile, though. Its not likely to cause any harm, other than spending disk space. On the other hand, if you remove it, you might circumvent future conflicts. Definitly remove those links from /etc/nginx/sites-enabled as I described above. Then you should be safe to go.
Greetings

Hi jojo234,

I did all and after 
$ ls /etc/nginx/sites-enabled/ 
I have no output:
# => seafile.conf  ->  /etc/nginx/sites-available/seafile.conf 
instead of it I have got:
seafile.conf
and after checking this is a link. Probably it's same.

$ sudo nginx -s reload
no any mistakes or errors.
Btw:
I tried various combination with http, https and without : myIP, myIP:8000, myIP:8082, mydomain.net, mydomain.net:8000, mydomain.net:8082 and nothing.
No Welcome Nginx,
No Saefile Login page ,
http://seafile.mydomain.net the result is :
This page isn’t working
seafile.mydomain.net is currently unable to handle this request.
HTTP ERROR 503

Regards,
Andrey

Hi Andrey,
Ok, now nginx should work fine. If you execute

sudo netstat -tuplen

you should see the nginx listening on 0.0.0.0:80, seafile on 127.0.0.1:8082 and seahub on 127.0.0.1:8000.

So, if you access http://seafile.mynet.net you should get proxied to seahub. If not, post the output of

tail /var/log/nginx/seahub.error.log
tail /var/log/nginx/seahub.access.log
# also
tail /var/log/nginx/seafhttp.error.log
tail /var/log/nginx/seafhttp.access.log

Hi jojo234,

Unfortunately, but now I have no access to any of my pages (mynet.net/mail, mynet.net/phpmyadmin, mynet.net/iredadmin) .

Strangely Nginx, seahub and seafile services are active.
*

you should see the nginx listening on 0.0.0.0:80, seafile on 127.0.0.1:8082 and seahub on 127.0.0.1:8000.

Only one are available in output of
#sudo netstat -tuplen :
tcp 0 0 0.0.0.0:8082 0.0.0.0:* LISTEN 0 29395 2134/seaf-server
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 2005 34847 2885/python2.7

I don’t see 0.0.0.0.80 or 127.0.0.1:8082 or 127.0.0.1:8000

Only one output is available, see below:

root@mail# tail /var/log/nginx/seahub.error.log
root@mail# tail /var/log/nginx/seahub.access.log
217.21.4.158 [16/Dec/2019:13:38:51 +0300] “GET / HTTP/1.1” 302 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko /20100101 Firefox/70.0” 0.232
217.21.4.158 [16/Dec/2019:13:38:51 +0300] “GET /accounts/login/?next=/ HTTP/1.1” 200 12260 “-” “Mozilla/5.0 (Windows NT 10.0;Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 0.104
217.21.4.158 [16/Dec/2019:13:41:16 +0300] “GET / HTTP/1.1” 302 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko /20100101 Firefox/70.0” 7.884
217.21.4.158 [16/Dec/2019:13:41:20 +0300] “GET /accounts/login/?next=/ HTTP/1.1” 200 3920 “-” “Mozilla/5.0 (Windows NT 10.0; W in64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 3.704
217.21.4.158 [16/Dec/2019:13:47:27 +0300] “GET / HTTP/1.1” 302 0 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko /20100101 Firefox/70.0” 0.032
217.21.4.158 [16/Dec/2019:13:47:27 +0300] “GET /accounts/login/?next=/ HTTP/1.1” 200 12260 “-” “Mozilla/5.0 (Windows NT 10.0;Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 0.080
217.21.4.158 [16/Dec/2019:13:47:41 +0300] “POST /accounts/login/?next=/ HTTP/1.1” 500 285 “http://seafile.mynet.net/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 0.296
217.21.4.158 [16/Dec/2019:13:47:41 +0300] “GET /favicon.ico HTTP/1.1” 404 8569 “-” “Mozilla/5.0 (Windows NT 10.0; Win64; x64;rv:70.0) Gecko/20100101 Firefox/70.0” 0.052
217.21.4.158 [16/Dec/2019:13:47:48 +0300] “GET /accounts/login/?next=/ HTTP/1.1” 200 12260 “-” “Mozilla/5.0 (Windows NT 10.0;Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 0.080
217.21.4.158 [16/Dec/2019:13:48:12 +0300] “POST /accounts/login/?next=/ HTTP/1.1” 500 285 “http://seafile.mynet.net/” “Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0” 13.596
root@mail# tail /var/log/nginx/seafhttp.error.log
root@mail# tail /var/log/nginx/seafhttp.access.log
root@mail#

FYI:

root@mail# systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-12-16 23:52:07 MSK; 1h 18min ago
Docs: man:nginx(8)
Process: 1265 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 1219 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 1311 (nginx)
Tasks: 2 (limit: 2317)
CGroup: /system.slice/nginx.service
├─1311 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
└─6525 nginx: worker process
Dec 16 23:52:07 mail.mynet.net systemd[1]: Starting A high performance web server and a reverse proxy server…
Dec 16 23:52:07 mail.mynet.net systemd[1]: nginx.service: Failed to parse PID from file /run/nginx.pid: Invalid argument
Dec 16 23:52:07 mail.mynet.net systemd[1]: Started A high performance web server and a reverse proxy server.
root@mail#

Regards,
Andrey

Hi jojo234,
Any ideas more?
Regards,
Andrey

Hi Andrey,
to get your original pages back, recreate the symlink mynet.conf.

ln -s /etc/nginx/sites-available/mynet.net /etc/nginx/sites-enabled/mynet.net

0.0.0.0 and 127.0.0.1 are almost interchangeable (if you don’t want to access the pages from outside directly), so if you see 127.0.0.1:8000 and 127.0.0.1:8082 thats fine. So seafile seems to run, regarding nginx, you could also see if it is running by filtering with grep:

sudo netstat -tulpen | grep nginx

You should see at least some output. You can also check the other log files from seafile directly under /opt/seafile/logs for anything erroneous.

Hi jojo243,

I thought already you left me struggling alone :).
If I’m using rdp I see the Login page when use 127.0.0.1:8000 but when I used 127.0.0.1:8082 I can also open the page but it’s empty.

root@mail ~ # netstat -tulpen | grep nginx
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 1133550 5401/nginx: master
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 1133551 5401/nginx: master
root@mail ~ #

Ok everything allright there. On rdp it is expected that you can access 127.0.0.1:8000. Can you log in from there with your admin username and password? If that is working, you can proceed.

If you open http://seafile.mynet.net/, you get the login page and then a 503 error? If that’s the case, you probably have to adjust some settings in /opt/seafile/conf/. But to further debug things, you’d have to look inside /opt/seafile/logs/ and go through the files, esspecially seahub-related stuff.
Good Luck :wink:

When I’m using rdp and 127.0.0.1:8000 I see the Login page and then I tried to login as root and see same as my first post:
# Page unavailable
Sorry, but the requested page is unavailable due to a server hiccup.
Our engineers have been notified, so check back later .
When I tried seafile.mynet.net I see Welcome Nginx.
the /opt/seafile/logs/ folder has 4 files : ccnet.log controller.log seafile.log seahub.log

seahub.log output (not all, so big):
2019-12-15 18:48:41,143 [ERROR] django.request:135 handle_uncaught_exception Internal Server Error: /accounts/login/
Traceback (most recent call last):
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/exception.py”, line 41, in inner
response = get_response(request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 249, in _legacy_get_response
response = self._get_response(request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/core/handlers/base.py”, line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/utils/decorators.py”, line 149, in _wrapped_view
response = view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/views/decorators/cache.py”, line 57, in _wrapped_view_func
response = view_func(request, *args, **kwargs)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/auth/views.py”, line 121, in login
if form.is_valid():
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/forms/forms.py”, line 183, in is_valid
return self.is_bound and not self.errors
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/forms/forms.py”, line 175, in errors
self.full_clean()
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/forms/forms.py”, line 385, in full_clean
self._clean_form()
File “/opt/seafile/seafile-server-7.0.5/seahub/thirdpart/django/forms/forms.py”, line 412, in _clean_form
cleaned_data = self.clean()
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/auth/forms.py”, line 55, in clean
password=password)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/auth/init.py”, line 56, in authenticate
user = backend.authenticate(**credentials)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/base/accounts.py”, line 579, in authenticate
user = self.get_user(username)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/base/accounts.py”, line 573, in get_user
user = self.get_user_with_import(username)
File “/opt/seafile/seafile-server-7.0.5/seahub/seahub/base/accounts.py”, line 544, in get_user_with_import

I think it would help if you upload the log files to a service like https://pastebin.com/ and provide a link here.
From the part you posted here it looks like an issue with seahub, but Im not ably to find the cause without the whole log.

Hi jojo243,

What kind of log?

regards,
Andrey

All the files inside /opt/seafile/logs/