Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image not working with Azure storage mount #243

Open
xcellenceit opened this issue Jul 15, 2023 · 2 comments
Open

Image not working with Azure storage mount #243

xcellenceit opened this issue Jul 15, 2023 · 2 comments

Comments

@xcellenceit
Copy link

Getting error when I running it as Azure App for Container. I have enabled the WEBSITES_ENABLE_APP_SERVICE_STORAGE, and configured azure storage mount with file share in docker as described here MicrosoftDocs/azure-docs#55046

2023-07-15T07:20:25.335Z INFO  - docker run -d -p 9560:80 --name myhost_mautic_0_3cb64f5a -e WEBSITES_ENABLE_APP_SERVICE_STORAGE=true -e WEBSITE_SITE_NAME=myhost -e WEBSITE_AUTH_ENABLED=False -e WEBSITE_ROLE_INSTANCE_ID=0 -e WEBSITE_HOSTNAME=hostname.azurewebsites.net -e WEBSITE_INSTANCE_ID=7e65b7bfda61c0327cd6b05b68172e68b22e90752de61b8d5f6484746acfcd5d -e HTTP_LOGGING_ENABLED=1 -e WEBSITE_USE_DIAGNOSTIC_SERVER=False mautic/mautic:v4-apache  

2023-07-15T07:24:16.260Z ERROR - multi-container unit was not started successfully
2023-07-15T07:24:16.261Z INFO  - Container logs from myhost_mautic_0_3cb64f5a = 2023-07-15T07:20:25.831636447Z Mautic not found in /var/www/html - copying now...

2023-07-15T07:24:21.707Z INFO  - Stopping site myhost because it failed during startup.
2023-07-15T07:30:33.880Z INFO  - Starting multi-container app..

I see the files are copied to azure file storage but still getting this error.

image

Here is my docker-compose I added to the azure app for container.

version: "3"

services:
  mautic:
    image: mautic/mautic:v4-apache
    volumes:
      - mouticdatamount:/var/www/html
    environment:
      - MAUTIC_DB_HOST=mydb.mysql.database.azure.com
      - MAUTIC_DB_USER=mydbuser
      - MAUTIC_DB_PASSWORD=mydbpassword
      - MAUTIC_DB_NAME=mydbname
    restart: always
@umeshnb
Copy link

umeshnb commented Nov 4, 2023

Yes, even Im having same issue

@umeshnb
Copy link

umeshnb commented Nov 4, 2023

@xcellenceit I know in azure, there is limitation, that Azure storage does not work with docker compose or
multi-container.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants