How to check apache2 error logs at Github Actions failure? #41497
-
Select Topic AreaQuestion BodyOur github actions pipeline suddenly started to fail this morning and we're not sure why. We always tested the setup with a simple
Link to test run: https://github.com/LimeSurvey/LimeSurvey/actions/runs/3675217376/jobs/6214370211 We're using the Ubuntu 18.04 image. Switching to Ubuntu 20.04 seems to break the connection to MySQL. Dunno if that matters for the error tho. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
How are you running the web server? Exactly how to do it will depend on that, but in general writing the server's error log to standard output (so it appears in the workflow log) or uploading it as an artifact should work. Edit: I found your Apache config. It seems to be lacking an |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
How are you running the web server? Exactly how to do it will depend on that, but in general writing the server's error log to standard output (so it appears in the workflow log) or uploading it as an artifact should work.
Edit: I found your Apache config. It seems to be lacking an
ErrorLog
directive. Add one and then use the file you configured. 🙂