Coolify Ghost blog shows 404 after restart

⚠️
After restarting my Ghost instance on Coolify v4.0.0-beta.366, my blog started showing 404 Not Found Errors.

There is a bug in this Coolify version which causes this.

Solution:

The fix for me was to go Configuration → Edit Compose File and to add this line to my ghost service:

    labels:
      - traefik.http.middlewares.redir-ghost.compress=true

Fix Ghost 404 Not Found in Coolify v4 Beta

The entire Ghost docker compose file on Coolify now should look like this:

services:
  ghost:
    image: 'ghost:5'
    volumes:
      - 'ghost-content-data:/var/lib/ghost/content'
    labels:
      - traefik.http.middlewares.redir-ghost.compress=true
    environment:
      - url=$SERVICE_FQDN_GHOST_2368
      - database__client=mysql
      - database__connection__host=mysql
      - database__connection__user=$SERVICE_USER_MYSQL
      - database__connection__password=$SERVICE_PASSWORD_MYSQL
      - 'database__connection__database=${MYSQL_DATABASE-ghost}'
      - mail__transport=SMTP
      - 'mail__options__auth__pass=${MAIL_OPTIONS_AUTH_PASS}'
      - 'mail__options__auth__user=${MAIL_OPTIONS_AUTH_USER}'
      - 'mail__options__secure=${MAIL_OPTIONS_SECURE:-true}'
      - 'mail__options__port=${MAIL_OPTIONS_PORT:-465}'
      - 'mail__options__service=${MAIL_OPTIONS_SERVICE:-Mailgun}'
      - 'mail__options__host=${MAIL_OPTIONS_HOST}'
    depends_on:
      mysql:
        condition: service_healthy
    healthcheck:
      test:
        - CMD
        - echo
        - ok
      interval: 5s
      timeout: 20s
      retries: 10
  mysql:
    image: 'mysql:8.0'
    volumes:
      - 'ghost-mysql-data:/var/lib/mysql'
    environment:
      - 'MYSQL_USER=${SERVICE_USER_MYSQL}'
      - 'MYSQL_PASSWORD=${SERVICE_PASSWORD_MYSQL}'
      - 'MYSQL_DATABASE=${MYSQL_DATABASE}'
      - 'MYSQL_ROOT_PASSWORD=${SERVICE_PASSWORD_MYSQLROOT}'
    healthcheck:
      test:
        - CMD
        - mysqladmin
        - ping
        - '-h'
        - 127.0.0.1
      interval: 5s
      timeout: 20s
      retries: 10

Read more

Bitnami Discourse 3.3.2 update error

Problem: Do you get this error trying to update your Bitnami Discourse installation? NameError: uninitialized constant ChatMessageSerializer::BasicUserWithStatusSerializer (NameError) has_one :user, serializer: BasicUserWithStatusSerializer, embed: :objects ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Did you mean? BasicUserSerializer /opt/bitnami/discourse/plugins/chat/app/serializers/chat_message_serializer.rb Solution: You can fix this error and finalize the

By Cristian Buleandra