2.6.1 instance corrupted after server crash?

48 views
Skip to first unread message

Grant Forrest

unread,
May 22, 2024, 1:56:05 PMMay 22
to AtoM Users
I have a 2.6.1 instance that is installed on an Ubuntu 20.04 virtual server. The server was crashing due to OOM issues, although it has 8GB RAM. I managed to solve the OOM problem, but the AtoM instance now returns this:

Fatal error: Uncaught Error: Call to undefined function render_title() in /home/servername/public_html/apps/qubit/modules/staticpage/templates/homeSuccess.php:4 Stack trace: #0 /home/ servername  /public_html/vendor/symfony/lib/view/sfPHPView.class.php(75): require() #1 /home/ servername  /public_html/vendor/symfony/lib/view/sfPHPView.class.php(185): sfPHPView->renderFile() #2 /home/servername  /public_html/vendor/symfony/lib/filter/sfExecutionFilter.class.php(155): sfPHPView->render() #3 /home/ servername  /public_html/vendor/symfony/lib/filter/sfExecutionFilter.class.php(116): sfExecutionFilter->executeView() #4 /home/ servername  /public_html/vendor/symfony/lib/filter/sfExecutionFilter.class.php(47): sfExecutionFilter->handleView() #5 /home/ servername  /public_html/vendor/symfony/lib/filter/sfFilterChain.class.php(53): sfExecutionFilter->execute() #6 /home/ servername  /public_html/lib/filter/QubitTransactionFilter.class.php(74): sfFilterChain->execute() #7 /home/ servername  /public_html/vendor/ in /home/ servername /public_html/apps/qubit/modules/staticpage/templates/homeSuccess.php on line 4

I've tried chown -R to ensure that the file ownership is correct.
Is there a way to refresh the AtoM core files? I've taken a DB backup and it looks okay.
My other option is to install a fresh 2.6 instance and try to import the DB but I thought I'd ask here first.
Thanks.

Alberto Pereira

unread,
May 24, 2024, 7:38:00 AMMay 24
to ica-ato...@googlegroups.com
Hi,

check this thread:

This happens sometimes. It's a weird behavior that I've not been able to pinpoint the origin exactly. Some configuration files are being read and when there's a crash they get truncated. If you have a backup just compare the files and replace them.

You can also try to check which ones changed with:
find /usr/share/nginx/atom -mtime -3

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/e099e1a1-6410-4de1-babf-daa43560cb26n%40googlegroups.com.

Grant Forrest

unread,
May 29, 2024, 2:36:36 PMMay 29
to AtoM Users
Thanks for the reply. I tried
find -mtime 28 and it was mostly files I changed for debugging (adding my source IP ) and the rest were all in /cache/qubit
Not sure how the cacheing works in AtoM but I'll see what cache files I have in my dev instance.

Reply all
Reply to author
Forward
0 new messages