Saltar al contenido

Wordpress PHP error log access AWS Lightsail Multisite WP

0

I installed a plugin on my WordPress multisite website. It's not working correctly, so the developer asked for my PHP error logs. How do I obtain them? I'm running my WordPress on a Lightsail instance. I tried using SSH with some code I found through a Google search, but it didn't work. Plus, I'm a newbie who wants to do it yourself. Thanks in advance

preguntada hace 2 años1,3 mil visualizaciones

2 Respuestas
1
Respuesta aceptada

Hello.

If you just want to display the log for now, I think you can do it using the method introduced in the blog below.
https://precisefuture.com/en/tutorial/wordpress-logs-in-aws-lightsail/

If you want to download the log file, you will need to connect to Lightsail using an SSH command, copy the error log to the Linux user's home directory, and retrieve it using SCP, etc.
https://docs.aws.amazon.com/lightsail/latest/userguide/amazon-lightsail-ssh-using-terminal.html

I think the steps in the following document will be helpful for copying files to your home directory.
https://repost.aws/knowledge-center/lightsail-permission-denied-transferring

I think you could download it by copying it to your home directory and running the following SCP command on your PC.

scp -i lightsail-key.pem bitnami@lightsail-instance-public-ip:/home/bitnami/error_log ./
EXPERTO

respondido hace 2 años

EXPERTO

revisado hace 2 años

0

Thank you, I got them

respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.