Petra
Petra
RRailway
Created by Petra on 10/17/2023 in #✋|help
Writing permission
Ok, thanks!
11 replies
RRailway
Created by Petra on 10/17/2023 in #✋|help
Writing permission
Like this? $image->move(public_path('/app/storage/uploads'), $imageName);
11 replies
RRailway
Created by Petra on 10/17/2023 in #✋|help
Writing permission
Do I have to change this code in my Laravel controller? $image->move(public_path('uploads'), $imageName);
11 replies
RRailway
Created by Petra on 10/17/2023 in #✋|help
Writing permission
It didn't work. I created the volume, connected it to the service, mounted it to /app/storage and used the environment variables RAILWAY_VOLUME_NAME=storage and RAILWAY_VOLUME_MOUNT_PATH=/storage. I still get status 500 and the message "message": "Unable to write in the "/app/public/uploads" directory." Any solutions, please?
11 replies