• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • This community is user driven. Be polite with other users.
    • We recommend purchasing a Chevereto license to participate in this community.
    • Purchase a Community Subscription to get even faster ticket response times.
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Issues updating from v4.2.5 --> v4.3.5

OwennewO

Chevereto Member
I had Chevereto v4.2.5 running perfectly. It's deployed on my TrueNAS Scale server, in a docker container. This is my current docker compose:

Code:
networks:
  chevereto:
    driver: bridge
services:
  database:
    environment:
      MYSQL_DATABASE: chevereto
      MYSQL_PASSWORD: REDACTED
      MYSQL_ROOT_PASSWORD: REDACTED
      MYSQL_USER: chevereto
    healthcheck:
      interval: 10s
      retries: 3
      test:
        - CMD
        - healthcheck.sh
        - '--su-mysql'
        - '--connect'
      timeout: 5s
    image: mariadb:jammy
    networks:
      - chevereto
    restart: always
    volumes:
      - database:/var/lib/mysql
  php:
    depends_on:
      database:
        condition: service_healthy
    environment:
      CHEVERETO_DB_HOST: database
      CHEVERETO_DB_NAME: chevereto
      CHEVERETO_DB_PASS: REDACTED
      CHEVERETO_DB_PORT: 3306
      CHEVERETO_DB_USER: chevereto
      CHEVERETO_HOSTNAME: REDACTED
      CHEVERETO_HOSTNAME_PATH: /
      CHEVERETO_HTTPS: 0
      CHEVERETO_LICENSE_KEY: >-
        REDACTED
      CHEVERETO_MAX_POST_SIZE: 2G
      CHEVERETO_MAX_UPLOAD_SIZE: 2G
      CHEVERETO_SERVICING: server
      HTTP_PORT: 80
    image: chevereto/chevereto:latest
    networks:
      - chevereto
    ports:
      - '8081:80'
    restart: always
    volumes:
      - storage:/var/www/html/images/
      - app:/var/www/html/
volumes:
  app:
    driver: local
    driver_opts:
      device: /mnt/Main/Chevereto/Chevereto_App
      o: bind
      type: none
  database:
    driver: local
    driver_opts:
      device: /mnt/Main/Chevereto/Chevereto_DB
      o: bind
      type: none
  storage:
    driver: local
    driver_opts:
      device: /mnt/Main/Chevereto/Chevereto_Storage
      o: bind
      type: none


When I click the upgrade button on the dashboard, it tries to upgrade but I get many of these errors:

Code:
[ERROR] ZipArchive::extractTo(/var/www/html/app/../app/.htaccess): Failed to open stream: Permission denied

I checked and the app directory has the right permissions, but the .htaccess file when I open it, it just says Require all denied.

After attempting an update, if I go the the url of my Chevereto server, I get this error:

1749056605029.png

I cannot figure out what is wrong, I hope you can help me. Thank you.
 
When you enable CHEVERETO_SERVICING=server with Docker what happens is that you are now in charge of the application filesystem, and when doing the upgrade in that context Chevereto will download and extract the package with www-data ownership permissions, if fails is because the current filesystem permission mask doesn't match that user.

You need to change the permissions running a command from the container itself.

 
I have performed an update before, and I think the permissions were correct. Now I am getting this error

1749326120172.png

Should I just delete and reinstall Chevereto?
 
Back
Top