My files are no longer accessible through the web interface, only with the drive

Hello,

I have a strange problem. My files are no longer accessible through the web interface, only through the drive.
I have been using Seafile for more than a year without any problem. I have not made any changes recently. When something works I don’t touch it.

On the web interface, I can see the pictures but not download them. All the other files (PDF, Word, Excel, txt…) I can neither see nor download them.

When I want to download a file, I receive the message
Sorry, but the requested page is not found.

On the drive everything is fine. No problem at all.

Seadrive server 8.0.7
Linux debian 9.13
Docker 19.03.15

Hi, did you write Joplin?

Oh ok I know
In the Admin settings, your SERVICE URL might have gotten changed, it should be the same as your website or IP, maybe your IP got changed if it’s on local network.

1 Like

Thank you for your answer, but it is my domain name that is filled in SERVICE_URL and FILE_SERVER_ROOT. Nothing has changed.

hmm, it could be even a s missing from http?

I know it’s not a router but did u reboot ever?

and s everything is running fine when you type sudo docker-compose ps in the /yourDockerfolder/seafile

Mine shows

      Name                     Command               State                              Ports
------------------------------------------------------------------------------------------------------------------------
seafile             /sbin/my_init -- /scripts/ ...   Up      0.0.0.0:443->443/tcp,:::443->443/tcp,
                                                             0.0.0.0:80->80/tcp,:::80->80/tcp
seafile-memcached   memcached -m 256                 Up      11211/tcp
seafile-mysql       docker-entrypoint.sh mysqld      Up      3306/tcp

I appologize, if I give you the obvious to try, that probably is fine, just trying to figure it out.

Can you do docker-compose logs in the same directory where yml file is?

If we fix it, maybe we can even upgrade it. I just upgraded mine from latest(8) to 9

1 Like

Don’t apologize. You help me a lot.
The installation is a bit old, I don’t know how to do it anymore.
I am a beginner in Linux.
I don’t even know where my Docker directory is anymore…

root@ns3189558:~# sudo docker-compose ps
      Name                     Command               State                    Ports
-----------------------------------------------------------------------------------------------------
seafile             /sbin/my_init -- /scripts/ ...   Up      0.0.0.0:443->443/tcp, 0.0.0.0:80->80/tcp
seafile-memcached   memcached -m 256                 Up      11211/tcp
seafile-mysql       docker-entrypoint.sh mysqld      Up      3306/tcp

Here are the logs. But this is from 2021.
I hid the sensitive information.

Attaching to seafile, seafile-mysql, seafile-memcached
seafile      | *** Running /etc/my_init.d/01_create_data_links.sh...
seafile      | *** Booting runit daemon...
seafile      | *** Runit started as PID 13
seafile      | *** Running /scripts/enterpoint.sh...
seafile      | 2021-10-18 12:17:27 Nginx ready
seafile      | 2021-10-18 12:17:27 This is a idle script (infinite loop) to keep container running.
seafile      | Already up to date.
seafile      | Generating RSA private key, 4096 bit long modulus (2 primes)
seafile      | ....................................................................++++
seafile      | ........................++++
seafile-mysql | 2021-10-18 10:03:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile      | e is 65537 (0x010001)
seafile-mysql | 2021-10-18 10:03:45+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
seafile      | Generating RSA private key, 4096 bit long modulus (2 primes)
seafile-mysql | 2021-10-18 10:03:45+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile      | ....................................................................................................................................++++
seafile-mysql | 2021-10-18 10:03:45+00:00 [Note] [Entrypoint]: Initializing database files
seafile-mysql |
seafile      | ..++++
seafile-mysql |
seafile      | e is 65537 (0x010001)
seafile-mysql | PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
seafile      | Parsing account key...
seafile-mysql | To do so, start the server, then issue the following command:
seafile      | Parsing CSR...
seafile-mysql |
seafile      | Found domains: mydomaine.fr
seafile-mysql | '/usr/bin/mysql_secure_installation'
seafile      | Getting directory...
seafile-mysql |
seafile      | Directory found!
seafile-mysql | which will also give you the option of removing the test
seafile      | Registering account...
seafile-mysql | databases and anonymous user created by default.  This is
seafile      | Registered! Account ID: https://acme-v02.api.letsencrypt.org/acme/acct/243824190
seafile-mysql | strongly recommended for production servers.
seafile      | Creating new order...
seafile-mysql |
seafile      | Order created!
seafile-mysql | See the MariaDB Knowledgebase at https://mariadb.com/kb or the
seafile      | Verifying mydomaine.fr...
seafile-mysql | MySQL manual for more instructions.
seafile      | mydomaine.fr verified!
seafile-mysql |
seafile      | Signing certificate...
seafile-mysql | Please report any problems at https://mariadb.org/jira
seafile      | Certificate signed!
seafile-mysql |
seafile      | Nginx reloaded.
seafile-mysql | The latest information about MariaDB is available at https://mariadb.org/.
seafile      | Created a crontab to auto renew the cert for letsencrypt.
seafile-mysql | You can find additional information about the MySQL part at:
seafile      | nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/seafile.nginx.conf:20
seafile-mysql | https://dev.mysql.com
seafile      | Checking python on this machine ...
seafile-mysql | Consider joining MariaDB's strong and vibrant community:
seafile      |
seafile-mysql | https://mariadb.org/get-involved/
seafile      |
seafile-mysql |
seafile      | verifying password of user root ...  done
seafile-mysql | 2021-10-18 10:03:52+00:00 [Note] [Entrypoint]: Database files initialized
seafile      |
seafile-mysql | 2021-10-18 10:03:52+00:00 [Note] [Entrypoint]: Starting temporary server
seafile      | ---------------------------------
seafile-mysql | 2021-10-18 10:03:52+00:00 [Note] [Entrypoint]: Waiting for server startup
seafile      | This is your configuration
seafile-mysql | 2021-10-18 10:03:52 0 [Note] mysqld (mysqld 10.5.12-MariaDB-1:10.5.12+maria~focal) starting as process 105 ...
seafile      | ---------------------------------
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Uses event mutexes
seafile      |
seafile      |     server name:            seafile
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile      |     server ip/domain:       mydomaine.fr
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Number of pools: 1
seafile      |
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile      |     seafile data dir:       /opt/seafile/seafile-data
seafile-mysql | 2021-10-18 10:03:52 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile      |     fileserver port:        8082
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Using Linux native AIO
seafile      |
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile      |     database:               create new
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: 128 rollback segments are active.
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
seafile      |     ccnet database:         ccnet_db
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
seafile      |     seafile database:       seafile_db
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: 10.5.12 started; log sequence number 45106; transaction id 20
seafile      |     seahub database:        seahub_db
seafile-mysql | 2021-10-18 10:03:52 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile      |     database user:          seafile
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2021-10-18 10:03:52 0 [Note] InnoDB: Buffer pool(s) load completed at 211018 10:03:52
seafile      |
seafile-mysql | 2021-10-18 10:03:52 0 [Warning] 'user' entry 'root@xxxxxxxxxx' ignored in --skip-name-resolve mode.
seafile      |
seafile-mysql | 2021-10-18 10:03:52 0 [Warning] 'proxies_priv' entry '@% root@xxxxxxxxxx' ignored in --skip-name-resolve mode.
seafile      | Generating ccnet configuration ...
seafile-mysql | 2021-10-18 10:03:52 0 [Note] Reading of all Master_info entries succeeded
seafile      |
seafile-mysql | 2021-10-18 10:03:52 0 [Note] Added new Master_info '' to hash table
seafile      | Generating seafile configuration ...
seafile-mysql | 2021-10-18 10:03:52 0 [Note] mysqld: ready for connections.
seafile-mysql | Version: '10.5.12-MariaDB-1:10.5.12+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 0  mariadb.org binary distribution
seafile-mysql | 2021-10-18 10:03:53+00:00 [Note] [Entrypoint]: Temporary server started.
seafile-mysql | Warning: Unable to load '/usr/share/zoneinfo/leap-seconds.list' as time zone. Skipping it.
seafile      |
seafile-mysql | Warning: Unable to load '/usr/share/zoneinfo/leapseconds' as time zone. Skipping it.
seafile      | done
seafile-mysql | Warning: Unable to load '/usr/share/zoneinfo/tzdata.zi' as time zone. Skipping it.
seafile      | Generating seahub configuration ...
seafile-mysql | 2021-10-18 10:04:00 5 [Warning] 'proxies_priv' entry '@% root@xxxxxxxxxx' ignored in --skip-name-resolve mode.
seafile      |
seafile-mysql |
seafile      | ----------------------------------------
seafile-mysql | 2021-10-18 10:04:00+00:00 [Note] [Entrypoint]: Stopping temporary server
seafile      | Now creating ccnet database tables ...
seafile-mysql | 2021-10-18 10:04:00 0 [Note] mysqld (initiated by: root[root] @ localhost []): Normal shutdown
seafile      |
seafile-mysql | 2021-10-18 10:04:00 0 [Note] Event Scheduler: Purging the queue. 0 events
seafile      | ----------------------------------------
seafile-mysql | 2021-10-18 10:04:00 0 [Note] InnoDB: FTS optimize thread exiting.
seafile-mysql | 2021-10-18 10:04:01 0 [Note] InnoDB: Starting shutdown...
seafile-mysql | 2021-10-18 10:04:01 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
seafile-mysql | 2021-10-18 10:04:01 0 [Note] InnoDB: Buffer pool(s) dump completed at 211018 10:04:01
seafile      | ----------------------------------------
seafile-mysql | 2021-10-18 10:04:01 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
seafile      | Now creating seafile database tables ...
seafile-mysql | 2021-10-18 10:04:01 0 [Note] InnoDB: Shutdown completed; log sequence number 45118; transaction id 21
seafile      |
seafile-mysql | 2021-10-18 10:04:01 0 [Note] mysqld: Shutdown complete
seafile      | ----------------------------------------
seafile-mysql |
seafile-mysql | 2021-10-18 10:04:01+00:00 [Note] [Entrypoint]: Temporary server stopped
seafile      | ----------------------------------------
seafile-mysql |
seafile      | Now creating seahub database tables ...
seafile-mysql | 2021-10-18 10:04:01+00:00 [Note] [Entrypoint]: MariaDB init process done. Ready for start up.
seafile      |
seafile-mysql |
seafile      | ----------------------------------------
seafile-mysql | 2021-10-18 10:04:01 0 [Note] mysqld (mysqld 10.5.12-MariaDB-1:10.5.12+maria~focal) starting as process 1 ...
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Uses event mutexes
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Number of pools: 1
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile      | creating seafile-server-latest symbolic link ...  done
seafile-mysql | 2021-10-18 10:04:02 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Using Linux native AIO
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Completed initialization of buffer pool
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: 128 rollback segments are active.
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile      | -----------------------------------------------------------------
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
seafile      | Your seafile server configuration has been finished successfully.
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
seafile      | -----------------------------------------------------------------
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: 10.5.12 started; log sequence number 45118; transaction id 20
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile      | run seafile server:     ./seafile.sh { start | stop | restart }
seafile-mysql | 2021-10-18 10:04:02 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile      | run seahub  server:     ./seahub.sh  { start <port> | stop | restart <port> }
seafile-mysql | 2021-10-18 10:04:02 0 [Note] InnoDB: Buffer pool(s) load completed at 211018 10:04:02
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] Server socket created on IP: '::'.
seafile      | -----------------------------------------------------------------
seafile-mysql | 2021-10-18 10:04:02 0 [Warning] 'proxies_priv' entry '@% root@xxxxxxxxxx' ignored in --skip-name-resolve mode.
seafile      | If you are behind a firewall, remember to allow input/output of these tcp ports:
seafile-mysql | 2021-10-18 10:04:02 0 [Note] Reading of all Master_info entries succeeded
seafile      | -----------------------------------------------------------------
seafile-mysql | 2021-10-18 10:04:02 0 [Note] Added new Master_info '' to hash table
seafile      |
seafile-mysql | 2021-10-18 10:04:02 0 [Note] mysqld: ready for connections.
seafile      | port of seafile fileserver:   8082
seafile-mysql | Version: '10.5.12-MariaDB-1:10.5.12+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
seafile      | port of seahub:               8000
seafile-mysql | 2021-10-18 10:17:50 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'root' host: '172.xx.xx.xx' (Got an error reading communication packets)
seafile      |
seafile      | When problems occur, Refer to
seafile      |
seafile      |         https://download.seafile.com/published/seafile-manual/home.md
seafile-mysql | 2021-10-18 10:17:52 5 [Warning] Aborted connection 5 to db: 'ccnet_db' user: 'seafile' host: '172.xx.xx.xx' (Got an error reading communication packets)
seafile      |
seafile-mysql | 2021-10-18 10:17:59 6 [Warning] Aborted connection 6 to db: 'seafile_db' user: 'seafile' host: '172.xx.xx.xx' (Got an error reading communication packets)
seafile      | for information.
seafile-mysql | 2021-10-18 10:18:14 7 [Warning] Aborted connection 7 to db: 'seahub_db' user: 'seafile' host: '172.xx.xx.xx' (Got an error reading communication packets)
seafile      |
seafile-mysql | 2021-10-18 10:18:14 4 [Warning] Aborted connection 4 to db: 'unconnected' user: 'root' host: '172.xx.xx.xx' (Got an error reading communication packets)
seafile      |
seafile      | [10/18/2021 12:18:14][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks
seafile      | [10/18/2021 12:18:14][upgrade]: Running script /opt/seafile/seafile-server-8.0.7/upgrade/minor-upgrade.sh
seafile      |
seafile      | -------------------------------------------------------------
seafile      | This script would do the minor upgrade for you.
seafile      | Press [ENTER] to contiune
seafile      | -------------------------------------------------------------
seafile      |
seafile      |
seafile      | renaming the gunicorn.conf to gunicorn.conf.py ...
seafile      |
seafile      | Done
seafile      |
seafile      | ------------------------------
seafile      | migrating avatars ...
seafile      |
seafile      |
seafile      | DONE
seafile      | ------------------------------
seafile      |
seafile      |
seafile      | Moving the elasticsearch's configuration file ...
seafile      |
seafile      |
seafile      | updating seafile-server-latest symbolic link to /opt/seafile/seafile-server-8.0.7 ...
seafile      |
seafile      | DONE
seafile      | ------------------------------
seafile      |
seafile      |
seafile      | Starting seafile server, please wait ...
seafile      | ** Message: 12:18:14.651: seafile-controller.c(536): No seafevents.
seafile      |
seafile      | Seafile server started
seafile      |
seafile      | Done.
seafile      |
seafile      | Starting seahub at port 8000 ...
seafile      |
seafile      |
seafile      |
seafile      | ----------------------------------------
seafile      | Successfully created seafile admin
seafile      | ----------------------------------------
seafile      |
seafile      |
seafile      |
seafile      |
seafile      | Seahub is started
seafile      |
seafile      | Done.
seafile      |

I’m back. I don’t know what this is about, but password should be in yml file at two places.

PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !

If you can’t find the yml file, you can do as root find / -name docker-compose should tell you where it s, if there is only one :slight_smile: if you have many then good luck.

I don’t know if unix allows @ characters for users 'root@xxxxxxxxxx'

seafile-mysql | 2021-10-18 10:03:52 0 [Warning] 'user' entry 'root@xxxxxxxxxx' ignored in --skip-name-resolve mode.
1 Like

I guess logs look fine. The one’s from before, if you find the yml file, you will fine the folder, then you can run docke-compose logs again. Logs are stored inside the container but we can read them like this. I sound like a pro haha, i’m a noob also.

Since you ran the docker-compose ps, it means you found the folder.

Maybe the new logs will say something, but they might not.

1 Like

Thank you, but I am lost…

I restarted the server, but it’s still the same.

I can’t access the files when I’m on the web interface. But it works with the drive.

I don’t know what to do?

Doesn’t Seafile offer a paid technical service to solve technical problems?

Yeah they do for 2500$ per year.

I’ll do it for free since we’re Seafile homies, Seafile kind of grew on me qucik.

This is what I do on Upwork anyway.

If you want I can take a look, but those URL’s are what is responsible for the Web UI, if you change them and save them again, it might stick, but then idk.

If it really comes down to it, you can make an account on my Seafile and back it up there and we can reinstall it all over again to version 9, or on your computer. I have about 500GB, I’m not a data hoarder, $5.00 is expensive :slight_smile:

Your data actually might not be lost since we would be just upgrading to a newer version, but just in case.

I just upgraded mine from 8 to 9 and it’s fine, but there is always a possibility of trouble

The new logs:

seafile      |
seafile-mysql | 2022-01-20 21:00:23 0 [Note] mysqld (initiated by: unknown): Normal shutdown
seafile      |
seafile-mysql | 2022-01-20 21:00:23 0 [Note] Event Scheduler: Purging the queue. 0 events
seafile      |
seafile-mysql | 2022-01-20 21:00:23 0 [Note] InnoDB: FTS optimize thread exiting.
seafile      | ----------------------------------------
seafile-mysql | 2022-01-20 21:00:23 0 [Note] InnoDB: Starting shutdown...
seafile      | Successfully created seafile admin
seafile-mysql | 2022-01-20 21:00:23 0 [Note] InnoDB: Dumping buffer pool(s) to /var/lib/mysql/ib_buffer_pool
seafile      | ----------------------------------------
seafile      |
seafile-mysql | 2022-01-20 21:00:23 0 [Note] InnoDB: Buffer pool(s) dump completed at 220120 21:00:23
seafile      |
seafile-mysql | 2022-01-20 21:00:32 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
seafile-mysql | 2022-01-20 21:00:32 0 [Note] InnoDB: Shutdown completed; log sequence number 13038379; transaction id 95700
seafile      |
seafile-mysql | 2022-01-20 21:00:32 0 [Note] mysqld: Shutdown complete
seafile      |
seafile-mysql |
seafile      | Seahub is started
seafile-mysql | 2022-01-20 21:35:21+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile-mysql | 2022-01-20 21:35:23+00:00 [Note] [Entrypoint]: Switching to dedicated user 'mysql'
seafile      |
seafile-mysql | 2022-01-20 21:35:23+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:10.5.12+maria~focal started.
seafile      | Done.
seafile      |
seafile      | *** Shutting down /scripts/enterpoint.sh (PID 14)...
seafile      | *** Shutting down runit daemon (PID 13)...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] mysqld (mysqld 10.5.12-MariaDB-1:10.5.12+maria~focal) starting as process 1 ...
seafile      | *** Running /etc/my_init.post_shutdown.d/10_syslog-ng.shutdown...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Uses event mutexes
seafile      | *** Init system aborted.
seafile      | *** Killing all processes...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
seafile      | *** Running /etc/my_init.d/01_create_data_links.sh...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Number of pools: 1
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
seafile      | *** Booting runit daemon...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] mysqld: O_TMPFILE is not supported on /tmp (disabling future attempts)
seafile      | *** Runit started as PID 23
seafile      | *** Running /scripts/enterpoint.sh...
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Using Linux native AIO
seafile      | 2022-01-20 22:35:27 Nginx ready
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Initializing buffer pool, total size = 134217728, chunk size = 134217728
seafile      | 2022-01-20 22:35:27 This is a idle script (infinite loop) to keep container running.
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Completed initialization of buffer pool
seafile      | nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/seafile.nginx.conf:20
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: 128 rollback segments are active.
seafile      | Certificate will not expire
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Creating shared tablespace for temporary tables
seafile      | Found existing the script for renew the cert.
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
seafile      | Skip create the crontab for letscncrypt since maybe we have created before.
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
seafile      | nginx: [warn] the "ssl" directive is deprecated, use the "listen ... ssl" directive instead in /etc/nginx/sites-enabled/seafile.nginx.conf:20
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: 10.5.12 started; log sequence number 13038379; transaction id 95701
seafile      | [01/20/2022 22:35:28][upgrade]: The container was recreated, running minor-upgrade.sh to fix the media symlinks
seafile-mysql | 2022-01-20 21:35:24 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
seafile      | [01/20/2022 22:35:28][upgrade]: Running script /opt/seafile/seafile-server-8.0.7/upgrade/minor-upgrade.sh
seafile-mysql | 2022-01-20 21:35:24 0 [Note] Plugin 'FEEDBACK' is disabled.
seafile      |
seafile-mysql | 2022-01-20 21:35:25 0 [Note] Server socket created on IP: '::'.
seafile      | -------------------------------------------------------------
seafile-mysql | 2022-01-20 21:35:25 0 [Warning] 'proxies_priv' entry '@% root@f50c97c03355' ignored in --skip-name-resolve mode.
seafile      | This script would do the minor upgrade for you.
seafile-mysql | 2022-01-20 21:35:25 0 [Note] Reading of all Master_info entries succeeded
seafile      | Press [ENTER] to contiune
seafile-mysql | 2022-01-20 21:35:25 0 [Note] Added new Master_info '' to hash table
seafile      | -------------------------------------------------------------
seafile-mysql | 2022-01-20 21:35:25 0 [Note] mysqld: ready for connections.
seafile      |
seafile-mysql | Version: '10.5.12-MariaDB-1:10.5.12+maria~focal'  socket: '/run/mysqld/mysqld.sock'  port: 3306  mariadb.org binary distribution
seafile      |
seafile-mysql | 2022-01-20 21:35:26 0 [Note] InnoDB: Buffer pool(s) load completed at 220120 21:35:26
seafile      | renaming the gunicorn.conf to gunicorn.conf.py ...
seafile-mysql | 2022-01-20 21:35:28 3 [Warning] Aborted connection 3 to db: 'unconnected' user: 'root' host: '172.xx.x.x' (Got an error reading communication packets)
seafile      |
seafile      | Done
seafile      |
seafile      | ------------------------------
seafile      | migrating avatars ...
seafile      |
seafile      |
seafile      | DONE
seafile      | ------------------------------
seafile      |
seafile      |
seafile      | Moving the elasticsearch's configuration file ...
seafile      |
seafile      |
seafile      | updating seafile-server-latest symbolic link to /opt/seafile/seafile-server-8.0.7 ...
seafile      |
seafile      | DONE
seafile      | ------------------------------
seafile      |
seafile      |
seafile      | Starting seafile server, please wait ...
seafile      | ** Message: 22:35:29.070: seafile-controller.c(536): No seafevents.
seafile      |
seafile      | Seafile server started
seafile      |
seafile      | Done.
seafile      |
seafile      | Starting seahub at port 8000 ...
seafile      |
seafile      | Seahub is started
seafile      |
seafile      | Done.
seafile      |

it’s late in France. I’m going to sleep a little. Rest my mind.

I leave you the last logs. Tomorrow we’ll have a look. If you get me out of this problem I’ll pay you.

Ok get some rest. Look at it tomorrow, no worries.

Hi, I can hire you between 1 hour and 2h30 to solve the problem. Do we go through upwork ?

It may be a simple database connection problem. But this is beyond me, it’s not my job.

You can, I’m here now until late.

1 Like

Hi I had a problem with uploading files and i found out while setting up a new seafile server that the error came from Nginx

Go into Nginx/sites-enabled and edit the seafile.conf
you need to edit
server {
listen 443;
ssl on;

to

server {
listen 443 ssl;

and delete the "ssl on; "

Oh I didn’t know this would cause a problem. It works fine on mine, nginx -t just gives error is says it’s deprecated and to use the new syntax as you said.

So after that it worked? :slight_smile:

I don’t know how to edit files in docker yet so that they persist, will they persist after reboot? or after new version is installed, I’m new at docker

Yeah after i changed the syntax it works fine.

And sorry but i have never worked with docker so I cant help you.

Yeah it’s different with docker, but fun :slight_smile: