Exited (42) * Another setup is currently running

Hi there,

my docker-compose is

        version: '3'
        services: 
          db:
            container_name: ps_mysql
            image: mysql:5.7
            volumes:
              - ./data:/var/lib/mysql
            environment:
              MYSQL_ROOT_PASSWORD: admin
              MYSQL_DATABASE: ps
              MYSQL_USER: ps
              MYSQL_PASSWORD: ps
            ports:
              - "3306:3306"
            networks:
              - my_net
          
          ps:
            container_name: ps_web
            volumes:
              - ./html:/var/www/html
            depends_on:
              - db
            image: prestashop/prestashop:latest
            ports: 
              - 8080:80
            environment:
              DB_SERVER: db
            networks:
              - my_net
        networks:
          my_net:

But always I get Exited with code 42. In ps_web container shows message Another setup is currently running…
I have tried several times but I don´t find any solution.
Could you help me?
Thanks in advance

This is clearly a prestashop error (see this issue), so you probably won’t get an answer here in a general Docker forum.

I would recommend to start with a clean install, remove all existing prestashop files, especially ones created during setup.

I did it without compose and worked.
I thought it could be compose.
I have lost lot of time with this issue, I was going crazy.
Thank you very much for your answer

Hi,
It’s real crazy error, I try everything, I find files in local, drop all and start install again, all work now.
In my case:
volumes:
- /local/modules:/var/www/html/modules
- /local/themes:/var/www/html/themes
- /localPreformatted text:/var/www/html