seafile7 icon indicating copy to clipboard operation
seafile7 copied to clipboard

Looks like seafile install never starts?

Open KipourosV opened this issue 5 years ago • 2 comments

  • Starting MariaDB database server mysqld ...done. --2020-04-21 08:41:59-- https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_ubuntu Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.64.133, 151.101.0.133, 151.101.192.133, ... Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.64.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 17959 (18K) [text/plain] Saving to: 'seafile_ubuntu'

    0K .......... ....... 100% 324K=0.05s

2020-04-21 08:41:59 (324 KB/s) - 'seafile_ubuntu' saved [17959/17959]

TERM environment variable not set. Stopping Seafile & Moving directories /root/setup.sh: line 12: /opt/seafile/seafile-server-latest/seahub.sh: No such file or directory /root/setup.sh: line 13: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory Move folders to /shared and create symlinks mv: cannot stat '/opt/seafile/ccnet': No such file or directory mv: cannot stat '/opt/seafile/conf': No such file or directory mv: cannot stat '/opt/seafile/logs': No such file or directory mv: cannot stat '/opt/seafile/seafile-data': No such file or directory mv: cannot stat '/opt/seafile/seahub-data': No such file or directory

  • Stopping MariaDB database server mysqld ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory") ...done. Path /shared/seafile/ccnet already exists. Create only symlinks
  • Starting MariaDB database server mysqld ...done. Setup complete. Login credentials saved in /shared/logs cp: cannot stat '/opt/seafile/aio_seafile-server.log': No such file or directory Starting Seafile services chown: cannot access '/opt/seafile': No such file or directory /root/setup.sh: line 89: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory /root/setup.sh: line 90: /opt/seafile/seafile-server-latest/seahub.sh: No such file or directory

KipourosV avatar Apr 21 '20 08:04 KipourosV

It's just the TERM variable it seems. I can workaround this by setting the variable in my own Dockerfile.

FROM stegerpa/seafile7
ENV TERM xterm

Then do build and run while tailing the logs appears to go on without a hitch.

docker build -t seafile7 . && docker run -it seafile7

Probably just needs ENV TERM xterm added to the Dockerfile to fix.

madamegaymes avatar Jul 03 '20 23:07 madamegaymes

I tried to run this docker file, but after a few seconds running it stops immediately. Also also tried to add the environment variable TERM = xterm, but no change. I had this docker running two years ago and it worked. But for some reason now it does not.

It seems to me that this link at the beginning is not working anymore (404 not found): https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_ubuntu

Is @codeoutin still maintaining this container? Or is there possibly a newer version?

This is the protocol of this container running on my machine now:

* Starting MariaDB database server mysqld
[ OK ]
--2023-03-01 03:15:54--  https://raw.githubusercontent.com/haiwen/seafile-server-installer/master/seafile_ubuntu
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2023-03-01 03:15:54 ERROR 404: Not Found.
bash: ./seafile_ubuntu: No such file or directory
Stopping Seafile & Moving directories
/root/setup.sh: line 12: /opt/seafile/seafile-server-latest/seahub.sh: No such file or directory
/root/setup.sh: line 13: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory
Move folders to /shared and create symlinks
mv: cannot stat '/opt/seafile/ccnet': No such file or directory
mv: cannot stat '/opt/seafile/conf': No such file or directory
mv: cannot stat '/opt/seafile/logs': No such file or directory
mv: cannot stat '/opt/seafile/seafile-data': No such file or directory
mv: cannot stat '/opt/seafile/seahub-data': No such file or directory
 * Stopping MariaDB database server mysqld        ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
[ OK ]
Moving DB Folder...
 * Starting MariaDB database server mysqld        
[ OK ]
Setup complete. Login credentials saved in /shared/logs
cp: cannot stat '/opt/seafile/aio_seafile-server.log': No such file or directory
Starting Seafile services
chown: cannot access '/opt/seafile': No such file or directory
/root/setup.sh: line 89: /opt/seafile/seafile-server-latest/seafile.sh: No such file or directory
/root/setup.sh: line 90: /opt/seafile/seafile-server-latest/seahub.sh: No such file or directory

skotti71 avatar Mar 01 '23 03:03 skotti71