selfoss icon indicating copy to clipboard operation
selfoss copied to clipboard

New Install of 2.18 - Can not refresh source: Internal Server Error

Open daprofessa19 opened this issue 6 years ago • 8 comments

I have checked everything I can think of, but I still can't update any feeds. I don't see any errors in the logs, but the webpage returns "Can not refresh source: Internal Server Error".

Corresponding entry in access.log is "POST /selfoss/source/1/update HTTP/1.1" 500 -

DEBUG level logging is not giving me any leads to follow.

daprofessa19 avatar Jun 02 '18 04:06 daprofessa19

Can you also change DEBUG to 1 in common.php?

jtojnar avatar Jun 02 '18 08:06 jtojnar

Sure, done. When running an update, I see the curl response in default.log and it ends in thumbnail generated and icon generated, but no items.

daprofessa19 avatar Jun 02 '18 14:06 daprofessa19

So it does not produce Error 500 any more? Could you check the response for the request in your browser network inspector? Setting DEBUG to one should produce more than error occurred in the response. Alternately, could you share the source in question?

jtojnar avatar Jun 03 '18 20:06 jtojnar

No, I still get an Error 500 from update. I checked in Chrome Inspect and it shows the 500 error, with all.js in the initiator column.

I have gotten the same error with different source types, such as RSS feed or Youtube channel page.

daprofessa19 avatar Jun 04 '18 17:06 daprofessa19

If you click the row with the error, what does the Response in the opened pane say?

jtojnar avatar Jun 04 '18 17:06 jtojnar

"This request has no response data available"

Following the initiator link brings me to this line.

xhr.send(options.hasContent && options.data || null);

daprofessa19 avatar Jun 04 '18 17:06 daprofessa19

I cannot reproduce. Does refreshing all sources work?

niol avatar Jun 06 '18 12:06 niol

No, I'm not able to refresh any sources. I just don't see any errors in the logs, except for this internal server error. I'm not sure if this has to do with my server config, but I am able to run other php scripts.

daprofessa19 avatar Jun 10 '18 02:06 daprofessa19

Sorry, this fell into the cracks. We have released selfoss 2.19, which features a significant rewrite so hopefully, the issue got fixed. Please reopen if you are still willing and able to reproduce with the latest version.

jtojnar avatar Oct 16 '22 00:10 jtojnar