Closed yajo closed 4 years ago
Check the path to volume directory in
~/.config/containers/libpod.conf
Variable "volume_path" can be adjusted.
If it doesn't match, its possible that there was system configuration change AFTER installation of podman itself. Also, its related to libpod
itself, not the podman-compose
.
It must have been some garbage from a previous silverblue installation.
Fixed with rm -Rf ~/.local/share/containers ~/.config/containers
, thanks.
I don't know why, but podman is trying to create volumes under
/var/home
instead of under/home
. Obviously it fails with permission problems:`docker-compose.yml` file
```yaml networks: default: internal: true public: {} services: cdnjs_cloudflare_proxy: environment: PRE_RESOLVE: 1 TARGET: cdnjs.cloudflare.com image: tecnativa/whitelist networks: default: aliases: - cdnjs.cloudflare.com public: null db: environment: CONF_EXTRA: 'work_mem = 32MB ' POSTGRES_DB: devel POSTGRES_PASSWORD: odoopassword POSTGRES_USER: odoo image: tecnativa/postgres-autoconf:10-alpine shm_size: 512mb volumes: - db:/var/lib/postgresql/data:z fonts_googleapis_proxy: environment: PRE_RESOLVE: 1 TARGET: fonts.googleapis.com image: tecnativa/whitelist networks: default: aliases: - fonts.googleapis.com public: null fonts_gstatic_proxy: environment: PRE_RESOLVE: 1 TARGET: fonts.gstatic.com image: tecnativa/whitelist networks: default: aliases: - fonts.gstatic.com public: null google_proxy: environment: PRE_RESOLVE: 1 TARGET: www.google.com image: tecnativa/whitelist networks: default: aliases: - www.google.com public: null gravatar_proxy: environment: PRE_RESOLVE: 1 TARGET: www.gravatar.com image: tecnativa/whitelist networks: default: aliases: - www.gravatar.com public: null odoo: build: args: AGGREGATE: "false" CLEAN: "false" COMPILE: "false" GID: '1000' ODOO_VERSION: '13.0' PIP_INSTALL_ODOO: "false" UID: '1000' context: /home/yajo/Documentos/prodevel/doodba-devel-13.0/odoo command: - odoo - --limit-memory-soft=0 - --limit-time-real-cron=9999999 - --limit-time-real=9999999 - --workers=0 - --dev=reload,qweb,werkzeug,xml depends_on: cdnjs_cloudflare_proxy: condition: service_started db: condition: service_started fonts_googleapis_proxy: condition: service_started fonts_gstatic_proxy: condition: service_started google_proxy: condition: service_started gravatar_proxy: condition: service_started smtp: condition: service_started wdb: condition: service_started environment: DB_FILTER: .* DOODBA_ENVIRONMENT: devel EMAIL_FROM: '' LIST_DB: "true" PGDATABASE: devel PGUSER: odoo PROXY_MODE: "true" PTVSD_ENABLE: '0' PYTHONOPTIMIZE: '' PYTHONPATH: /opt/odoo/custom/src/odoo SMTP_PORT: '1025' WITHOUT_DEMO: "false" hostname: example.com image: docker.io/myuser/myproject-odoo:13.0 labels: traefik.docker.network: inverseproxy_shared traefik.enable: "true" traefik.frontend.passHostHeader: "true" traefik.longpolling.port: '8072' traefik.port: '8069' tty: true volumes: - /home/yajo/Documentos/prodevel/doodba-devel-13.0/odoo/auto/addons:/opt/odoo/auto/addons:rw,z - /home/yajo/Documentos/prodevel/doodba-devel-13.0/odoo/custom:/opt/odoo/custom:ro,z - filestore:/var/lib/odoo:z odoo_proxy: depends_on: odoo: condition: service_started environment: PORT: 6899 8069 TARGET: odoo image: tecnativa/whitelist networks: default: null public: null ports: - 127.0.0.1:6899:6899/tcp - 127.0.0.1:13069:8069/tcp smtp: image: mailhog/mailhog networks: default: {} public: {} ports: - 127.0.0.1:8025:8025/tcp wdb: image: kozea/wdb networks: default: null public: null ports: - 127.0.0.1:1984:1984/tcp stop_signal: KILL version: '2.4' volumes: db: {} filestore: {} ```