Need Access To Apache Logs
I'm trying to make a template for Nextcloud, which is at https://github.com/msrumon/railwayapp-template-nextcloud. The deployment is successful, but I get (deleted)
- URL: https://nextcloud-production-0234.up.railway.app/ (removed)
500
status when I try to reach it. It says that detailed information about the error can be found in the server logs, but I can't get access to it. Can anyone from the core team help me please?
- Project ID: f58f914a-d00f-4ee2-9dd3-292599b66a19
25 Replies
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
'Cause only they have access to the underlying infrastructure.
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
Do you mind checking by yourself?
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
The issue is: the app only shows
500
, but detail logs is written somewhere in the server.the logs will be somewhere in your container right?
getting them will be tricky / impossible cus theres no ssh or suchlike.
does nextcloud not print errors to stdout?
Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
No. It just shows that an HTTP request has been made to a certain path, the user agent and the status code. Like so:
Are the paths correct as shown in the 1st answer here? You mentioned
/dev/stdout
, but I don't see that there. Do I just copy-paste the whole thing from there?Unknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
this is neat. dam.
Didn't work. Maybe Nextcloud uses a different path for writing the logs to.
use
find
or somthing to find the fileUnknown Userβ’3y ago
Message Not Public
Sign In & Join Server To View
find
where? I don't have access to the running container on Railway. start command
or somthing
but yeah cant you run this locally
wyz said railway run. which sounds like it just uses nixpacks to spin up a container
then you can exec onto that
docker exec -it $(docker ps -q | grep next-cloud) bash
or somthingYeah. That's what I'm trying to do.
neat
hows the railway run part going
Just downloaded the prebuilt binary. I'm on it.
noicee
LOL π
yea im not sure what railway run does
maybe just build it with nixpacks
Forget it. I'll wait for Railway to natively support deployment of Docker images directly.
Meanwhile, I'll continue using Easypanel.
not sure that will help. cus railway is just deploying your docker image made from your dockerfile
after this valo game ill find it for ya
nvm the dockefile is not working and im about to fall asleap
srryyy
No problem. See ya later.