After working
successfully for a few weeks my atom installation has failed.
Logging into the index page results in a 500 error
A server shut down
and restart occurred around the time of the failure, but I'm not
sure that it's related.
Apache has been restarted a number of times without noticeable
effect.
Following the procedures on the trouble shooting page I restarted all the services mentioned (except the job scheduler) with no obvious effect.
I'm running atom 2.40 using Apache on Ubuntu 14.04
I then
edited the index.php as shown at https://www.accesstomemory.org/en/docs/2.4/admin-manual/maintenance/debug/#debug-mode
restarted php : sudo service php5-fpm restart
restarted
apache
Still no change.
Attempting to access the index page results in records in the
access log, but nothing in the error log.
Note: I overlooked configuring the job scheduler after installation, but think it's better to get atom working again, and configure the job scheduler afterwards.
Any help would be much appreciated
Thanks
Tony
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/3e34b920-cc2f-2db3-48a1-840369d87b25%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZ%2By2hO0QWfCC80uAk5X-_0oTjvpcMSznwH9LDgvdPiM_Q%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZ%2By2hO0QWfCC80uAk5X-_0oTjvpcMSznwH9LDgvdPiM_Q%40mail.gmail.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZ%2By2hO0QWfCC80uAk5X-_0oTjvpcMSznwH9LDgvdPiM_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/ee0d6554-b454-c7b4-ba16-6ee147888a83%40sa.apana.org.au.
Hi Tony,
Hmmm, strange. I would be suprised if this was the issue, but what browser are you using, and have you tried a different one? Have you tried accessing the site using an incognito/private browser window, to make sure that the browser cache is not complicating the issue?
I've used both Firefox and Chromium ; Firefox doesn’t pick up the 500 error at all.
If there's nothing in the error logs, then we might see if a stack trace will get us more information. Have you tried putting the application into Debug mode? See:If you get a stack trace of the error when logging in, please feel free to share it here.
I would also suggest that you double-check if there are any firewalls or other local installation configurations that might be interfering with access.
Are you using an HTTPS connection? Does your site have a proper SSL configuration? If not, we have seen cases where people have accidentally turned on the "Require SSL" setting in Admin > Settings > Security when they do not in fact have SSL properly configured, and have as a result been locked out of their application. There is a post here that will tell you how to use SQL to check and change the setting, if this is the case:
I have no idea if this could be a cause or not, but I wonder if incorrect filesystem permissions somewhere could also result in this error? All of AtoM's files and subdirectories need to be owned by the www-data user if you've followed our recommended installation instructions. You can try resetting them with the following command:
- sudo chown -R www-data:www-data /usr/share/nginx/atom
Otherwise... I'm not sure. Just so we can cross off some of the obvious troubleshooting steps, I would suggest that you look into the sections on restarting services, and common maintenance tasks on our troubleshooting page:I'd suggest basically trying them all:
- Rebuild the nested set
- Generate slugs
- Clear the application cache
- Restart services (Nginx, memcached, PHP-FPM)
- Re-populate the search index
Finally, you could also try creating a new Admin user from the command-line, and logging in with that account, to make sure the issue with not with that particular user. See:See if any of that helps - mostly, we are starting with the common solutions to reoccuring problems, to see if we can narrow down the cause. Let us know what you find.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZJxskVb8RasG6GbFsMEDG8M8-f69koOA6yU_obO4srfCg%40mail.gmail.com.
Regards,
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZ%2By2hO0QWfCC80uAk5X-_0oTjvpcMSznwH9LDgvdPiM_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/ee0d6554-b454-c7b4-ba16-6ee147888a83%40sa.apana.org.au.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZJxskVb8RasG6GbFsMEDG8M8-f69koOA6yU_obO4srfCg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/766e962e-a7f9-9706-e339-9ca5c4f70e43%40gmail.com.
ini_set('display_errors', E_ALL);
ini_set('error_reporting', E_ALL);
Be sure to remove these lines after testing.
Cheers,
Mike Cantelon
Artefactual Systems
Hi Tony,
It is possible there is more than 1 php.ini file in your system. You might try running the checks to locate the file we suggest in this document?
I can see three occurrences of php.ini
We do define a PHP configuration pool during installation, so you might want to take a look at that and make sure everything is as it should be, and nothing is conflicting:
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/CAC1FhZKiU0OXpWhHk9Hx1TLxHOBpDwwKCZErcPAMeYUyTLLS_w%40mail.gmail.com.
Hi Tony,
If you put the following line above the line starting with "require_once" in the index.php file, what happens?
print "TEST"; exit();
If, removing the above line, you put the following two lines above the line starting with "sfContext::createInstance", do you see errors?
ini_set('display_errors', E_ALL);
ini_set('error_reporting', E_ALL);
Be sure to remove these lines after testing.
Cheers,
Mike Cantelon
Artefactual Systems
--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/83b93544-70d7-4978-847a-d3939ce5f4d4%40googlegroups.com.
Hi again, Tony,
Also, if you're running Apache with mod_proxy_fcgi, check for separate PHP ini files in one of the /etc directories relating to php5-fpm as, perhaps, one of those is effecting the display_errors setting.
Mike
On Thursday, June 28, 2018 at 11:32:22 AM UTC-7, mi...@artefactual.com wrote:Hi Tony,
So, to double check, after adding the line pertaining to error reporting, nothing ended up in Apache's error log?
Yes, that's correct
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/bb898083-83b7-41ab-962d-0b75d35e97d9%40googlegroups.com.