Rescanig all with current watermark throws "500 Internal Server Error"
Permalink Browser Info Environment
Hi Emilly,
When I re-scan all thumbnails after making few changes in watermark, it throws 500 internal server error.
Is it issue with memory or something else ?
Attaching screenshot.
When I re-scan all thumbnails after making few changes in watermark, it throws 500 internal server error.
Is it issue with memory or something else ?
Attaching screenshot.
Type: | Pre-Sale |
---|---|
Status: | Resolved |
Hello, I just got a chance to look at it. Sorry about the long wait as I was on vacation!
I see the 500 errors when attempting to do many tasks in the Concrete5 install. Unfortunately the 500 errors look like they are coming directly from the server and not Concrete5. Without the server PHP logs there isn't much I can really see.
I attempted to uninstall and reinstall my add-on to see if the problem persisted without my add-on installed. The problem persisted even with my add-on uninstalled from the site, eliminating that as a cause. I can only presume that the server is encountering out of memory due to the GD library taking up the memory or the server is killing the large process. I encountered a 500 error when uninstalling my add-on as well, which appeared to be a time-out (I counted to exactly 30 seconds before it cut the script into a 500 error)
Unfortunately the website was not connected to the community at the time so I was unable to reinstall WatermarkNN for you...
So from here, this would depend on some factors such as:
Are you hosting on a Dedicated/VPS or a Shared Server?
Do you have access to the PHP/NGINX/Apache logs?
If you are on a Dedicated/VPS server that is managed, you might want to ask your host to look in it for you since you most likely pay for this service (or at least exrx.net does), if it is not managed, we will need the logs to move forward... If you have access to the php/server logs, you could try to rescan the images, capture the 500 error log when it happened and post it here so we can have a look to see if it is a correctable problem...
However, if you are on shared hosting it might be a lot trickier, again, I would contact the host and see what they can do.
Since there are a large amount of high resolution images I am guessing this is a server configuration/limitation issue rather than with Concrete5/my Watermark add-on, but we can see if I can help you figure out the source!
I see the 500 errors when attempting to do many tasks in the Concrete5 install. Unfortunately the 500 errors look like they are coming directly from the server and not Concrete5. Without the server PHP logs there isn't much I can really see.
I attempted to uninstall and reinstall my add-on to see if the problem persisted without my add-on installed. The problem persisted even with my add-on uninstalled from the site, eliminating that as a cause. I can only presume that the server is encountering out of memory due to the GD library taking up the memory or the server is killing the large process. I encountered a 500 error when uninstalling my add-on as well, which appeared to be a time-out (I counted to exactly 30 seconds before it cut the script into a 500 error)
Unfortunately the website was not connected to the community at the time so I was unable to reinstall WatermarkNN for you...
So from here, this would depend on some factors such as:
Are you hosting on a Dedicated/VPS or a Shared Server?
Do you have access to the PHP/NGINX/Apache logs?
If you are on a Dedicated/VPS server that is managed, you might want to ask your host to look in it for you since you most likely pay for this service (or at least exrx.net does), if it is not managed, we will need the logs to move forward... If you have access to the php/server logs, you could try to rescan the images, capture the 500 error log when it happened and post it here so we can have a look to see if it is a correctable problem...
However, if you are on shared hosting it might be a lot trickier, again, I would contact the host and see what they can do.
Since there are a large amount of high resolution images I am guessing this is a server configuration/limitation issue rather than with Concrete5/my Watermark add-on, but we can see if I can help you figure out the source!
Are you able to rescan your images through the Concrete5 interface, rather than the WatermarkNN interface? You go to File Manager > Select a few images > Rescan
Let me know if that works, if it does could you please enable full debugging in System & Settings > Environment > Debug > Show Full Debug Error Output and capture the error.
Or you could give me login to the Concrete5 install backend and I can have a look for you (pm the credentials)! Thank you.