Closed TechupBusiness closed 4 years ago
@lins05 @freeplant
It's a pity that there seems to be low interest by the developer company in China, to notice and take care of obvious bugs.
After digging deep into the manual and checking the installation scripts, I decided to stop the project "creating a proper seafile-ce docker image". The software is not made for easy configuration and automated deployment. No wonder it needs lot's of complicated scripts here in this docker github to make it running (and it still don't work then). And these scripts use undocumented features like adding the admin credentials via txt file etc, I don't get why it needs to be so complicated and undocumented. Again: a pity.
If this application would support a proper setup via environment variables in the core of the application, there would be no need for many complicated scripts here. For the moment I need to say goodbye to this project and will check later if it progressed further into the not-so-new world of containerization.
If you are new to launch an instance, I can't think of any reason for this problem. I tested it myself many times and not found such bug.
seafile | Now creating seahub database tables ...
seafile |
seafile | ----------------------------------------
seafile |
seafile | creating seafile-server-latest symbolic link ... done
seafile |
seafile |
seafile |
seafile |
seafile | -----------------------------------------------------------------
seafile | Your seafile server configuration has been finished successfully.
seafile | -----------------------------------------------------------------
seafile |
seafile | run seafile server: ./seafile.sh { start | stop | restart }
seafile | run seahub server: ./seahub.sh { start
I was not able to setup a new instance because of an unfortunate chicken-egg issue...
First issue is, that the missing folder
seafile-server-latest
, because it can't findsetup-seafile-mysql.py
. I thought I could fix it by placing a symlink:ln -s /opt/seafile/seafile-server-7.0.4 /opt/seafile/seafile-server-latest
It was not a solution (read further down why)...
Error was:
Temporary tried WORKAROUND:
Create a
Dockerfile
and add the content:In
docker-compose.yml
replacewith:
UNFORTUNATELY
start.py
is trying to create this symlink and kills all processes because it already exists: