AVideo icon indicating copy to clipboard operation
AVideo copied to clipboard

Need help with deployment via docker

Open iamnsd opened this issue 2 years ago • 3 comments

Greetings,

I need some help in deploying docker container with AVideo services.

  1. I did a fresh git clone of repository
  2. ran docker compose up --build -d
  3. 3 containers with names avideo-web-1, avideo-phpmyyadmin-1 and avideo-database-1 were created successfully

Problem: Can't reach container's website via browser on any ports exposed by container avideo-web-1 Command sudo docker ps -a result: CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES d5e8da19300c avideo-web "/usr/local/bin/dock…" 18 minutes ago Up 18 minutes (unhealthy) 0.0.0.0:32773->80/tcp, :::32773->80/tcp, 0.0.0.0:32772->443/tcp, :::32772->443/tcp avideo-web-1 93dc05653894 phpmyadmin/phpmyadmin "/docker-entrypoint.…" 18 minutes ago Up 18 minutes 80/tcp avideo-phpmyadmin-1 edcd19ce3080 mariadb:latest "docker-entrypoint.s…" 18 minutes ago Up 18 minutes 3306/tcp avideo-database-1 Command sudo docker logs avideo-web-1 output: Waiting for database database to be up and running Checking database connection....OK Create new configuration... Installation: 9 {"systemRootPath":"\/var\/www\/html\/AVideo\/","databaseHost":"database","databasePort":"3306","databaseName":"avideo","databaseUser":"avideo","databasePass":"avideo","createTables":1,"contactEmail":"admin@localhost","systemAdminPass":"password","webSiteTitle":"AVideo","mainLanguage":"en_US","webSiteRootURL":"https:\/\/localhost\/"} Installation: 20 Installation: 33 Installation: 46 Installation: 56 Installation: 58 Installation: 67 Installation: 75 Installation: SQL ERROR Table 'category_type_cache' already exists Installation: SQL ERROR Duplicate key name 'categoryId' Installation: SQL ERROR Duplicate key name 'plugin_status' Installation: 101 Installation: 104 Installation: 116 Installation: 126 Installation: 135 Installation: 144 Installation: 153 Installation: 170 Installation: 179 Installation: 240 Installation: 244 Installation: 255 Installation: 259 AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.19.0.4. Set the 'ServerName' directive globally to suppress this message [Sat Feb 18 17:30:41.373007 2023] [mpm_prefork:notice] [pid 42] AH00163: Apache/2.4.54 (Ubuntu) OpenSSL/3.0.5 configured -- resuming normal operations

iamnsd avatar Feb 18 '23 17:02 iamnsd

Hi,

I just release a new docked that is supported by me

here is the release: https://github.com/WWBN/AVideo/wiki/Running-AVideo-with-Docker

DanielnetoDotCom avatar Feb 22 '23 11:02 DanielnetoDotCom

This issue is persistant in ubuntu about unhealthy container. what is the walkaround?

Rokit12 avatar Apr 07 '24 15:04 Rokit12