RasaGPT icon indicating copy to clipboard operation
RasaGPT copied to clipboard

[Errno 13] Permission denied: '/var/lib/pgadmin/sessions'

Open Boburshoh-oss opened this issue 2 years ago • 3 comments

when i run from ubuntu i have this error in my pgadmin log how do i fix it

Boburshoh-oss avatar May 18 '23 09:05 Boburshoh-oss

Please share your docker-compose file which you are using.

resulraveendran avatar May 18 '23 09:05 resulraveendran

Please share your docker-compose file which you are using. I fixed it by the container User: root thanks for your interest. But I have another problem I can't access rasa shell how do I use model trained with rasa self data, and do I need open ai key permanently or after some time i can use it or in offline mode?

Boburshoh-oss avatar May 21 '23 16:05 Boburshoh-oss

i have same error. because pgadmin is not running root default. you can edit docker-comose.yaml. set pgadmin running root user. like this:

pgadmin: container_name: chat_pgadmin image: dpage/pgadmin4 user: root:root environment: PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]} PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin} PGADMIN_CONFIG_SERVER_MODE: 'False' volumes: - ./mnt/pgadmin:/var/lib/pgadmin ports: - "${PGADMIN_PORT:-5050}:80" restart: unless-stopped depends_on: - db networks: - chat-network

@Boburshoh-oss

fjcondy avatar May 30 '23 01:05 fjcondy