SYMFONY / THE SERVER RETURNED A 500 INTERNAL SERVER ERROR

1,036 views
Skip to first unread message

Museo del Carnaval

unread,
Aug 18, 2021, 6:05:44 PM8/18/21
to AtoM Users
Hola!
Al agregar un nuevo nivel de descripción de subfondo y guardar la acción me reporta el error que adjunto en captura de pantalla. 
Agradezco indicaciones, gracias!
Saludos
Captura de pantalla de 2021-08-18 18-58-40.png

Dan Gillean

unread,
Aug 19, 2021, 10:59:35 AM8/19/21
to ICA-AtoM Users
Hola, 

We will need more information about your installation to be able offer specific suggestions. Helpful information includes: 
  • Is this an AtoM 2.x or an ICA-AtoM 1.x installation?
  • What version of AtoM do you have installed? (You can usually see the full version number listed in Admin > Settings)
  • Have you followed the recommended installation instructions and requirements for your version? (e.g. Linux Ubuntu LTS operating system, MySQL, PHP, Elasticsearch, Nginx)?
  • If no, what changes have you made from the recommended installation instructions and dependencies?
  • Does your site include any local code changes, such as a custom theme or other custom development?
  • What is the default installation culture of your site
For recent versions of AtoM 2.x, please see this thread for the most common cause and solution for this issue: 
Otherwise, once we have more information we can hopefully provide additional suggestions for you! 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


--
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/fd05e515-1d17-4b9b-b008-c7814dbfd661n%40googlegroups.com.

Museo del Carnaval

unread,
Aug 19, 2021, 1:49:27 PM8/19/21
to AtoM Users
Hi Dan, thanks for the quick response. I'll answer your  questions:

  • Is this an AtoM 2.x or an ICA-AtoM 1.x installation?
It's an AtoM 2.x installation

  • What version of AtoM do you have installed? (You can usually see the full version number listed in Admin > Settings)
The installed version is 2.6.0 - 184

  • Have you followed the recommended installation instructions and requirements for your version? (e.g. Linux Ubuntu LTS operating system, MySQL, PHP, Elasticsearch, Nginx)?

  • If no, what changes have you made from the recommended installation instructions and dependencies?
---
  • Does your site include any local code changes, such as a custom theme or other custom development?
No

  • What is the default installation culture of your site
I didn't understand this question


I hope this can give you a clearer idea about what the problem may be.
Thanks

Dan Gillean

unread,
Aug 20, 2021, 4:09:15 PM8/20/21
to ICA-AtoM Users
Hi again, 

Thank you for providing this additional information. 

I would suggest you start by following the recommendations in the related thread I linked previously for the most common cause and solution for this issue:
However, I am also a little concerned by the error message screenshot you have shown as well. Normally AtoM has its own custom 500 error display page, that looks like this: 


What you have shown appears to be the default Symfony error message page (Symfony is the PHP framework we originally used to build AtoM). I have personally never seen the default Symfony error message displayed in AtoM before. 

One additional thing you could try doing is recompiling the default Dominion theme, to make sure all visual elements are displaying as expected. 

If you have installed using the downloadable tarball from our website (Option 1 in the installation documentation), there are a few additional steps. We normally provide the CSS pre-compiled in the tarball, so the dependencies needed to recompile the CSS are not installed. We can install them like so: 
  • sudo apt update
  • sudo apt -y install curl
  • sudo apt install npm make
  • sudo npm install -g "less@<4.0.0"
You should be able to ignore any warnings received during installation. Once installed, we can recompile the default themes with the following commands: 
  • sudo make -C /usr/share/nginx/atom/plugins/arDominionPlugin
  • sudo make -C /usr/share/nginx/atom/plugins/arArchivesCanadaPlugin
Additionally, there are some common maintenance tasks that can resolve many issues, and shouldn't do any harm even if they are not needed. Try regenerating slugs, rebuilding the nested set, clearing the application cache, and repopulating the search index. See: 
You can also try restarting PHP-FPM. Instructions for restarting the job scheduler have already been linked in the forum thread above. For PHP-FPM, see: 
Don't forget that your web browser has its own cache as well. I recommend either clearing this, or else testing in an incognito/private browser window (where the web browser cache is typically disabled by default) after you have run all maintenance tasks and service restarts. 

If this still does not resolve the issue, then please share with us what you find in the web server error logs, and we can go from there. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


Museo del Carnaval

unread,
Aug 23, 2021, 4:50:35 PM8/23/21
to AtoM Users
Dan, thank you very much! Thanks to your help we were able to find and solve the issue, it was with the atom-worker service (the file was empty).
Keep up the awesome job!

Dan Gillean

unread,
Aug 24, 2021, 8:57:09 AM8/24/21
to ICA-AtoM Users
Great!

Thank you for updating the thread to let us know what the issue was and how you resolved it!

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him

Luis Eduardo Infraestrutura SCBA

unread,
Aug 30, 2021, 4:28:54 PM8/30/21
to AtoM Users
Hello, everyone.

i'm having some problems migrating my ICA-Atom server 2.6.3 (apache) to a Ubuntu server 18.04 - ICA-ATOM 2.6.4 (nginx)

I started creating a new server and following the manual to the letter:

When i finished the configuration, the new server was working fine (but, without any files).

then i backed up the database from the old server:
mysql -u root -p atom > atombkp.sql
 
And copy the Upload folder to the new atom folder.

And restore the data to the new server:

mysql -u root -p atom < atombkp.sql


After restore, the login/password menu in the top-right corner was missing.
If i go to places, it shows the login menu, but when i try to log in:

Captura de tela de 2021-08-30 17-24-14.png

Old SQL version: mysql  Ver 14.14 Distrib 5.5.62
Old PHP: PHP 5.6.40

New SQL: mysql  Ver 8.0.26
New PHP Version: PHP 7.2.24-0ubuntu0.18.04.8

Can anyone help me?


Dan Gillean

unread,
Aug 31, 2021, 9:26:20 AM8/31/21
to ICA-AtoM Users
Hi Luis, 

What is the related error message found in the webserver logs? See: 
Have you followed all the steps in our upgrading guide? We often see errors upgrading if users do not first drop and recreate the new database, and then run the upgrade task and restart services after loading the sqldump from the older version. See this section, from step 3 onwards: 
Additionally, make sure in the new installation's MySQL database that you have chosen the legacy authentication method during installation, and have configured the correct SQL modes: 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him

Luis Eduardo Infraestrutura SCBA

unread,
Sep 3, 2021, 10:04:06 AM9/3/21
to AtoM Users
Hi, Dan.
I would like to thank you!
I did a rollback on the server and did everything again using the second link.
I just need to do the "theme step", but i already ask people to validate.

*I had to do the php symfony steps using sudo.

Reply all
Reply to author
Forward
0 new messages