codeoutin / seafile7

All in one Docker image for Seafile 7. Includes MariaDB, Memcached and NGINX. Works with Synology!
20 stars 12 forks source link

Looks like seafile install never starts? #1

Open KipourosV opened 4 years ago

KipourosV commented 4 years ago

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

sk33z3r commented 4 years ago

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.

skotti71 commented 1 year ago

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