Updated to 1.0.3 & Now I'm Getting 500 Internal Server Error
Updated to 1.0.3 from 1.0.1 and now I’m getting a 500 internal server error on every page except if I go to my site with the live configurator. Am I missing something?
Also, when I was using the updater module, I chose to backup my files the first time but it said it had 1,700,000 files to backup. After about a half hour it got down to around 1,500,000 but then I just exited out. I then ran the updater without backing up my files and it finished fine within a few minutes.
vzex last edited by
Yeah, the updater/backup/rollback is sorely missed
It worked great a few months ago, hoping it returns.
If you check your cpanel admin>autoupgrade>backup folder you might find the backup there if you let it run long enough.
I let mine run over night and even though the updater was still running next morning after I killed it there was a backup.
Never checked if it was complete but it was there.
You might want to check folder permissions for the 500 error, some hosts are stricter on those settings.
Thanks. I have a VPS so it’s not my host. It’s just a test site so not a big deal if I have to reinstall but was hoping the 500 internal server error was a known issue and easy to fix.
Ok, so my URL’s in 1.0.1 didn’t have back-slashes at the end. I added in the back-slash in my browser window and now I’m getting a 404 Page Not Found. So I think it has something to do with the URL rewriting. Any ideas?
I’d check your server error log first to see if it gives you any clues
Yeah I never seem to know how to find it, even in SSH. I’ve found the folder before but the log is always empty. I’ve then brought this up to my server management company and they never seem to be able to fix it. I’ll try again when I have some time.
What admin panel do they use? Like cpanel/plesk/directadmin etc.
If you login to that it will be much easier for you to find it
I have WHM for my server as well as cPanel access for the domain.
If you login and have a look around you should see the server logs somewhere. Then look for the error log. Refresh the website to give you the 500 error then check the latest entries in the error log
Ok, checked the Apache logs in WHM for my test domain and it says “The requested log file for the domain “123.com” is empty.”
Yeah and I restarted Apache as well. Still says the log file is empty.
It’s probably just something I don’t have setup properly. It’s an unmanaged VPS that I’ve had for almost 4 or 5 years with no issues. Their website is https://ioflare.com/ and the response time on tickets from the owner is exceptional.
But I started using this server management company platinumservermanagement.com to monitor my servers for downtime, etc so I will see if they can figure out the log issue for me.
Will provide an update once I have one.
[Fri Aug 18 12:29:15 2017] [error] [client 188.8.131.52] FastCGI: incomplete headers (0 bytes) received from server “/dev/shm/foxmicro-php.fcgi”, referer: https://domain.com/thirtybees/admin/index.php?controller=AdminModules&token=7ffdd76ae0df3d4308d37365f61c7b8d&configure=tbupdater&tab_module=administration&module_name=tbupdater&putUnderMaintenance
I got an internal server error as well right at the start of the upgrade, but luckily it went away and I haven’t had any problems yet. However, I get a lot of these messages on line 52, 47, and 39.
[18-Aug-2017 14:02:34 US/Central] PHP Notice: Trying to get property of non-object in /…/thirtybees/cache/smarty/compile/6a/af/2d/6aaf2de8c8ae9fc866c5c0806f35e631e96c9b7b.file.tree_header.tpl.php on line 52
[18-Aug-2017 12:46:50 US/Central] PHP Notice: Undefined index: base_url in /…/thirtybees/cache/smarty/compile/6a/af/2d/6aaf2de8c8ae9fc866c5c0806f35e631e96c9b7b.file.tree_header.tpl.php on line 39
lol, my php log. I keep getting those in my logs. I got the first one when I went to upgrade and got a internal server error, but it went away. thought maybe it had to do with that.
DaoKakao last edited by
TB updater wrote me this at the very begin of backup: " Backup files in progress. 3591760 files left. "
Can’t even imaginge where it get so many files. Does it tries to backup all my system image?
Why don’t you do a manual backup instead with mysql for database and ssh or cpanel to zip your files in tar.gz? Much faster and 100% guarantee you get a good backup.
DaoKakao last edited by
Just because i’d like to test it.
IRL i do the way you’ve figured out, i even published my own backup script here, in the topic related to 1.0.2 upgrade.
So the owner of my hosting provider looked at this for me and here’s what he said:
"It has to be an issue in the script and it’s not reporting errors properly. I’ve installed all required modules, updated quite a bit of your software/server packages, optimized everything, and made sure the php configuration was compatible with the script as per https://docs.thirtybees.com/installation/
All I recommend at this point is try a new installation or restore the old."
Ace mcputer last edited by
Hi I have had this problem (Internal Server error 500) using 1.0.2 since launcing on a2 hosting, using cloudlinux.
@lesley had a look at it once and couldn’t recreate the problem
I find it can be intermitent.
This is the error I got: Cannot allocate memory: couldn’t create child process: /opt/suphp/sbin/suphp
This is a link that discusses the problem.https://www.cloudlinux.com/forum/forum11/topic442
I hope this info can help someone track the problem.
ajensen27 last edited by ajensen27
@mdekker said in Updated to 1.0.3 & Now I'm Getting 500 Internal Server Error:
Here is something you can do to isolate the problem.
This simple json file contains all the changes that the patch applies: https://api.thirtybees.com/updates/packs/thirtybees-file-actions-v1.0.3.json
You can grab these files from a 1.0.2 zip and copy them to your server one by one, basically manually reverting it and see if that solves the problem, if not it must be something else.
In case that does solve the problem could you share the exact file with us?
Tried this and still got the 500 internal server error every time.
How can I reinstall TB without deleting my database or overriding the data?