docker icon indicating copy to clipboard operation
docker copied to clipboard

All interface enrichments are erased

Open asitemade4u opened this issue 4 years ago • 4 comments

  • I have installed the SQLite docker version of Wallabag.

  • I attach the docker-compose.yml file I am using (I convert it to a TXT file + and I obfuscate the server name): docker-compose.txt

  • I can connect using the wallabag/wallabag login and password.

  • But all decorations in the interface are erased: no images, no page setup...

Screenshot-20200321-122638

Concurrently, the container log issues an error:

Screenshot-20200321-123123

Please help because the current version of the application is really barren...

asitemade4u avatar Mar 21 '20 16:03 asitemade4u

@asitemade4u I had the same problem. Setting the correct SYMFONY__ENV__DOMAIN_NAME solves it for me

flyingnobita avatar Mar 22 '20 13:03 flyingnobita

Which I had done. But still does not work.

On 3/22/20 9:45 AM, Flying Nobita wrote:

@asitemade4u https://github.com/asitemade4u I had the same problem. Setting the correct SYMFONY__ENV__DOMAIN_NAME solves it for me

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/wallabag/docker/issues/184#issuecomment-602203182, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXN4CTPHU3T2RKBTCBDEF3RIYJADANCNFSM4LQ673ZA.

asitemade4u avatar Mar 22 '20 16:03 asitemade4u

with https://… (http does not work - i'm using lets encrypt)

sductor avatar May 01 '20 20:05 sductor

I'm going to add to this existing issue because it seems that I have the same problem, and I think I found what's causing it.

In my case, it looks like when exposing a port other than what's used by Nginx, the port is not getting translated all across. So while some requests go to the exposed host port (my case 5841), others (like loading javascript) go to the internal container port (80).

2021-02-20_19-01

Changing the exposed port to '80' fixes it for me (going to try changing the default Nginx port).

Here's my working docker-compose.yml:

version: '3'
services:
  wallabag:
    image: wallabag/wallabag
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
      - SYMFONY__ENV__DATABASE_DRIVER=pdo_mysql
      - SYMFONY__ENV__DATABASE_HOST=db
      - SYMFONY__ENV__DATABASE_PORT=3306
      - SYMFONY__ENV__DATABASE_NAME=wallabag
      - SYMFONY__ENV__DATABASE_USER=wallabag
      - SYMFONY__ENV__DATABASE_PASSWORD=wallapass
      - SYMFONY__ENV__DATABASE_CHARSET=utf8mb4
      - SYMFONY__ENV__MAILER_HOST=127.0.0.1
      - SYMFONY__ENV__MAILER_USER=~
      - SYMFONY__ENV__MAILER_PASSWORD=~
      - SYMFONY__ENV__FROM_EMAIL=
      - SYMFONY__ENV__DOMAIN_NAME=http://wallabag.localdomain.com
      - SYMFONY__ENV__SERVER_NAME="Docker wallabag instance"
    ports:
      # - 5841:80
      - 80:80
    volumes:
      - ./images:/var/www/wallabag/web/assets/images
  db:
    image: mariadb
    environment:
      - MYSQL_ROOT_PASSWORD=wallaroot
    volumes:
      - ./data:/var/lib/mysql
  redis:
    image: redis:alpine

victorbrca avatar Feb 21 '21 00:02 victorbrca