lionel
lionel
RRailway
Created by lionel on 10/12/2023 in #✋|help
Railway server cannot find images uploaded to postgresql database
I have a django website and is connected to a postgresql database on railway. When I upload photos to the database through the /admin page, and then I try to look at the pictures from admin page, i receive the error "Not Found: The requested resource was not found on this server.".
18 replies
RRailway
Created by lionel on 10/12/2023 in #✋|help
Railway server cannot find images uploaded to postgresql database
I have a django website and is connected to a postgresql database on railway. When I upload photos to the database through the /admin page, and then I try to look at the pictures from admin page, i receive the error "Not Found: The requested resource was not found on this server.".
4 replies
RRailway
Created by lionel on 9/6/2023 in #✋|help
Django app deployment crashes due to cffi and libffi
Trying to deploy a Django app to Railway. After it builds successfully the deployment crashes with this error: #10 378.9 Running setup.py install for cffi: started #10 378.9 Running setup.py install for cffi: finished with status 'error' #10 378.9 error: subprocess-exited-with-error #10 378.9 #10 378.9 × Running setup.py install for cffi did not run successfully. #10 378.9 │ exit code: 1 #10 378.9 ╰─> [60 lines of output] #10 378.9 Package libffi was not found in the pkg-config search path. #10 378.9 Perhaps you should add the directory containing libffi.pc' #10 378.9 to the PKG_CONFIG_PATH environment variable #10 378.9 No package 'libffi' found`
97 replies