linagora / linshare

LinShare
https://www.linshare.org/
GNU Affero General Public License v3.0
449 stars 84 forks source link

Some docker container not running during installation #280

Open firebeegit opened 11 months ago

firebeegit commented 11 months ago

Creating linshare_ui-upload-request ... done Creating linshare_thumbnail-server ... done Creating linshare_init ... done Creating linshare_mongodb ... done Creating linshare_docker-socket ... done Creating linshare_mail ... Creating linshare_documentation ... done Creating linshare_reverse-proxy ... Creating linshare_reverse-proxy ... error Creating linshare_ldap ... Creating linshare_clamav ... done Creating linshare_database ... Creating linshare_webmail ... error Creating linshare_mail ... error

Creating linshare_database ... done.0.0:443: bind: address already in use

ERROR: for linshare_webmail Cannot start service webmail: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/webmail_conf/config.inc.php" to rootfs at "/var/www/config/config.inc.php": mount /home/fbuser/Videos/conf/webmail_conf/config.inc.php:/var/www/config/config.inc.php (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for linshare_mail Cannot start service mail: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/mail_conf/main.cf" to rootfs at "/etc/postfix/main.cf": mount /home/fbuser/Videos/conf/mail_conf/main.cf:/etc/postfix/main.cf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type Creating linshare_backend ... error

ERROR: for linshare_backend Cannot start service backend: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/catalina.properties" to rootfs at "/usr/local/tomcat/conf/catalina.properties": mount /home/fbuser/Videos/conf/catalina.properties:/usr/local/tomcat/conf/catalina.properties (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for reverse-proxy Cannot start service reverse-proxy: driver failed programming external connectivity on endpoint linshare_reverse-proxy (63cc2ed304b12e4a16a65865a8ec2d4a83b19ad4d4772c4e2e42978f8ce8b0f6): Error starting userland proxy: listen tcp4 0.0.0.0:443: bind: address already in use

ERROR: for webmail Cannot start service webmail: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/webmail_conf/config.inc.php" to rootfs at "/var/www/config/config.inc.php": mount /home/fbuser/Videos/conf/webmail_conf/config.inc.php:/var/www/config/config.inc.php (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for mail Cannot start service mail: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/mail_conf/main.cf" to rootfs at "/etc/postfix/main.cf": mount /home/fbuser/Videos/conf/mail_conf/main.cf:/etc/postfix/main.cf (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

ERROR: for backend Cannot start service backend: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/fbuser/Videos/conf/catalina.properties" to rootfs at "/usr/local/tomcat/conf/catalina.properties": mount /home/fbuser/Videos/conf/catalina.properties:/usr/local/tomcat/conf/catalina.properties (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type ERROR: Encountered errors while bringing up the project.

wboudiche commented 9 months ago

Hello try those commands docker compose down -v docker compose -f .... up --force-recreate