R
Railway12mo ago
jedmund

Redis permission failed in PR environment

Hello, I'm trying to figure out how to get PR environments running for my Rails app that uses Redis, and I'm getting the following error constantly until the container crashes:
redis 02:20:54.81 INFO ==>
redis 02:20:54.81 INFO ==> Welcome to the Bitnami redis container
redis 02:20:54.81 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
redis 02:20:54.82 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
redis 02:20:54.82 INFO ==>
redis 02:20:54.82 INFO ==> ** Starting Redis setup **
redis 02:20:54.84 INFO ==> Initializing Redis
mkdir: cannot create directory '/bitnami/redis': Permission denied
redis 02:20:54.81 INFO ==>
redis 02:20:54.81 INFO ==> Welcome to the Bitnami redis container
redis 02:20:54.81 INFO ==> Subscribe to project updates by watching https://github.com/bitnami/containers
redis 02:20:54.82 INFO ==> Submit issues and feature requests at https://github.com/bitnami/containers/issues
redis 02:20:54.82 INFO ==>
redis 02:20:54.82 INFO ==> ** Starting Redis setup **
redis 02:20:54.84 INFO ==> Initializing Redis
mkdir: cannot create directory '/bitnami/redis': Permission denied
3 Replies
Percy
Percy12mo ago
Project ID: 4d5a4e32-8846-4b6d-8cf2-b7cd30a96946
jedmund
jedmundOP12mo ago
4d5a4e32-8846-4b6d-8cf2-b7cd30a96946
Brody
Brody12mo ago
make sure the redis service has a service variable RAILWAY_RUN_UID set to 0
Want results from more Discord servers?
Add your server