Atom Showing Blank Page After server migartion

178 views
Skip to first unread message

Stephen Innerarity

unread,
Nov 19, 2018, 11:00:03 AM11/19/18
to AtoM Users
Hey Team, 

I Recently Migrated my atom installation to a new cloud location. however when we spun up the server im only seeing a white screen. The IP address for the server has changed so has the DNS is there anything in the configuration of atom that needs to be updated 

Dan Gillean

unread,
Nov 20, 2018, 11:58:14 AM11/20/18
to ica-ato...@googlegroups.com
Hi Stephen, 

I would start by checking the web-server logs for any relevant error messages. See: 
You could also try placing the application in Debug mode to see if you can get a stack trace. See: 
Please feel free to share any relevant messages you find there. 

I would also suggest that you restart services and clear the application cache, to see if that resolves the issue. On Ubuntu 16.04, try: 
  • sudo systemctl reload nginx
  • php symfony cc
  • sudo systemctl restart php7.0-fpm
  • sudo systemctl restart memcached
Let us know if that helps. 


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


On Mon, Nov 19, 2018 at 11:00 AM Stephen Innerarity <sinne...@gmail.com> wrote:
Hey Team, 

I Recently Migrated my atom installation to a new cloud location. however when we spun up the server im only seeing a white screen. The IP address for the server has changed so has the DNS is there anything in the configuration of atom that needs to be updated 

--
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/bda098d9-4cc6-4b1b-aaea-2ac9e4ce028d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Stephen Innerarity

unread,
Jan 7, 2019, 9:16:28 AM1/7/19
to ica-ato...@googlegroups.com
hey dan, 

I  am running on Ubuntu 14.04.5 lts 

I tried those commands they don't seem to be compatible 

You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/y_KkoJ2aJK4/unsubscribe.
To unsubscribe from this group and all its topics, 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.

Stephen Innerarity

unread,
Jan 7, 2019, 12:18:04 PM1/7/19
to ica-ato...@googlegroups.com
Hey Dan, 

I'm seeing a lot of errors, see the attached Log  for more details 

On Tue, Nov 20, 2018 at 11:58 AM Dan Gillean <d...@artefactual.com> wrote:
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/y_KkoJ2aJK4/unsubscribe.
To unsubscribe from this group and all its topics, 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.
error.log

Corinne Rogers

unread,
Jan 7, 2019, 7:13:33 PM1/7/19
to AtoM Users
Hi Stephen,

To restart services in Ubuntu 14.04, please run the following commands:


To restart PHP-FPM:

  • sudo service php5-fpm restart

To restart memcached:

  • sudo service memcached restart

To restart the atom-workers:

  • sudo restart atom-worker (this restarts the workers)

  • sudo status atom-worker (this shows current running status)


With respect to the error log, is this a recent upgrade? Have you run the sql-upgrade task as part of that?

  • $ php symfony tools:upgrade-sql

You could also try remaking the css for the ArchivesCanada plugin using the following command:

  • make -C plugins/arArchivesCanadaPlugin

Followed by clearing the cache:

  • php symfony cc

And restarting services as above.


Let us know if that helps!

best,
Corinne

Corinne Rogers, MAS, PhD
Systems Archivist

Stephen Innerarity

unread,
Jan 11, 2019, 1:03:50 PM1/11/19
to ica-ato...@googlegroups.com
Hey Corrine, 

I'm currently grabbing at straws here but based on the info below it seems my installation is bugging out 

root@jard-atom:~# sudo service php5-fpm restart
php5-fpm stop/waiting
php5-fpm start/running, process 13124

root@jard-atom:~# sudo service memcached restart
Restarting memcached: memcached.

root@jard-atom:~# sudo restart atom-worker
restart: Unknown job: atom-worker

root@jard-atom:~# make -C plugins/arArchivesCanadaPlugin
make: *** plugins/arArchivesCanadaPlugin: No such file or directory.  Stop.
root@jard-atom:~# php symfony cc
Could not open input file: symfony

I've Tried all of the above the results are in bold. is it possible? to have one of your team look at it. 





Dan Gillean

unread,
Jan 11, 2019, 2:26:43 PM1/11/19
to ICA-AtoM Users
Hi Stephen, 

Are you running these commands from your root AtoM installation directory? If you've followed our recommended installation instructions, this is generally /usr/share/nginx/atom. It's possible that the last 2 commands (the make command and the cache:clear command) are failing because you are trying to run these from the root directory of your entire computer, rather than AtoM's root installation directory. Try changing to the installation directory (cd /usr/share/nginx/atom) and see if these commands will work from there. 

Looking back at your original message: if your IP address has changed, then generally, you will need to contact your domain name service provider and ask them to update your DNS record. You need to ensure that your DNS-A record points to the expected IP address of the system. If the domain name has changed as well, then you will probably want to add a permanent redirect to the new domain. 

Looking at your system and helping to troubleshoot it is beyond the level of free support we can provide via this forum. If you are interested in paid support options from Artefactual, feel free to email us

Regards, 

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

Stephen Innerarity

unread,
Feb 8, 2019, 12:14:26 PM2/8/19
to ica-ato...@googlegroups.com
Hey Dan , Corrine, 

So we have been trying to rectify the issue with the blank screen. so we opted to reinstall the application from scratch but then when we get the initial configuration page we get the following error message. 

URL: http://23.253.107.47/index.php/sfInstallPlugin/loadData


500 | Internal Server Error | sfInitializationException
You must have APC installed and enabled to use sfAPCCache class.
stack trace

    at ()
    in SF_ROOT_DIR/vendor/symfony/lib/cache/sfAPCCache.class.php line 36 ...

                if (!function_exists('apc_store') || !ini_get('apc.enabled'))

                {

                  throw new sfInitializationException('You must have APC installed and enabled to use sfAPCCache class.');

                }


                // APCu compatibility issues (solved in v4.0.7).
    at sfAPCCache->initialize(array())
    in SF_ROOT_DIR/vendor/symfony/lib/cache/sfCache.class.php line 35 ...
    at sfCache->__construct(array())
    in SF_ROOT_DIR/lib/QubitCache.class.php line 77 ...
    at QubitCache::getInstance()
    in SF_ROOT_DIR/plugins/arElasticSearchPlugin/lib/arElasticSearchPlugin.class.php line 79 ...
    at arElasticSearchPlugin->__construct(array('initialize' => ))
    in SF_ROOT_DIR/lib/search/QubitSearch.class.php line 39 ...
    at QubitSearch::getInstance(array('initialize' => ))
    in SF_ROOT_DIR/lib/search/QubitSearch.class.php line 49 ...
    at QubitSearch::disable()
    in SF_ROOT_DIR/plugins/sfInstallPlugin/lib/sfInstall.class.php line 410 ...
    at sfInstall::loadData()
    in SF_ROOT_DIR/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php line 5 ...
    at require('/usr/share/nginx/atom/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php')
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 3895 ...
    at sfPHPView->renderFile('/usr/share/nginx/atom/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php')
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 3954 ...
    at sfPHPView->render()
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 993 ...
    at sfExecutionFilter->executeView('sfInstallPlugin', 'loadData', 'Success', array())
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 980 ...
    at sfExecutionFilter->handleView(object('sfFilterChain'), object('sfInstallPluginLoadDataAction'), 'Success')
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 948 ...
    at sfExecutionFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR/vendor/symfony/lib/filter/sfCacheFilter.class.php line 65 ...
    at sfCacheFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1009 ...
    at sfRenderingFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php line 18 ...
    at sfHistoryPluginFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR/lib/filter/QubitTransactionFilter.class.php line 48 ...
    at QubitTransactionFilter->execute(object('sfFilterChain'))
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
    at sfFilterChain->execute()
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 686 ...
    at sfController->forward('sfInstallPlugin', 'loadData')
    in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 2392 ...
    at sfFrontWebController->dispatch()
    in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
    at sfContext->dispatch()
    in SF_ROOT_DIR/index.php line 6 ...

symfony settings ...
request ...
response ...
user ...
global vars ...

symfony v.1.4.20 - php 7.0.32-0ubuntu0.16.04.1
for help resolving this issue, please visit http://www.symfony-project.org/. 

we followed the instructions on the wiki step by step any feedback would be helpful 



Dan Gillean

unread,
Feb 8, 2019, 12:35:31 PM2/8/19
to ICA-AtoM Users
Hi Stephen, 

Is it possible you might have inadvertently skipped a step? In our instructions, php-apcu-bc needs to be installed separately, like so: 
  • sudo apt install php-dev
  • sudo pecl install apcu_bc-beta
  • echo "extension=apc.so" | sudo tee /etc/php/7.0/mods-available/apcu-bc.ini
  • sudo ln -sf /etc/php/7.0/mods-available/apcu-bc.ini /etc/php/7.0/fpm/conf.d/30-apcu-bc.ini
  • sudo ln -sf /etc/php/7.0/mods-available/apcu-bc.ini /etc/php/7.0/cli/conf.d/30-apcu-bc.ini
  • sudo systemctl restart php7.0-fpm
Make sure as well that you've added the PHP pool in the correct location, as described in this section: 
Let us know if that helps!
Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

Stephen Innerarity

unread,
Feb 9, 2019, 10:07:38 PM2/9/19
to ica-ato...@googlegroups.com
Hey dan we followed the instructions  now we have the following errors 

500 | Internal Server Error | sfException
The "i18n" object does not exist in the current context.
stack trace
at ()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 500 ...
  {

    if (!$this->has($name))

    {

      throw new sfException(sprintf('The "%s" object does not exist in the current context.', $name));

    }


    return $this->factories[$name];
at sfContext->get('i18n')
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 616 ...
at sfContext->__get('i18n')
in SF_ROOT_DIR/plugins/sfInstallPlugin/lib/sfInstall.class.php line 470 ...
at sfInstall::loadData()
in SF_ROOT_DIR/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php line 5 ...
at require('/usr/share/nginx/atom/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php')
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 3895 ...
at sfPHPView->renderFile('/usr/share/nginx/atom/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/loadDataSuccess.php')
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 3954 ...
at sfPHPView->render()
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 993 ...
at sfExecutionFilter->executeView('sfInstallPlugin', 'loadData', 'Success', array())
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 980 ...
at sfExecutionFilter->handleView(object('sfFilterChain'), object('sfInstallPluginLoadDataAction'), 'Success')
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 948 ...
at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1009 ...
at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/plugins/sfHistoryPlugin/lib/sfHistoryPluginFilter.class.php line 18 ...
at sfHistoryPluginFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/lib/filter/QubitTransactionFilter.class.php line 48 ...
at QubitTransactionFilter->execute(object('sfFilterChain'))
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 1045 ...
at sfFilterChain->execute()
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 686 ...
at sfController->forward('sfInstallPlugin', 'loadData')
in SF_ROOT_DIR/cache/qubit/prod/config/config_core_compile.yml.php line 2392 ...
at sfFrontWebController->dispatch()
in SF_ROOT_DIR/vendor/symfony/lib/util/sfContext.class.php line 170 ...
at sfContext->dispatch()
in SF_ROOT_DIR/index.php line 6 ...
symfony settings ...
request ...
response ...
user ...
global vars ...
symfony v.1.4.20 - php 7.0.32-0ubuntu0.16.04.1
for help resolving this issue, please visit http://www.symfony-project.org/.


What are we missing 


Dan Gillean

unread,
Feb 11, 2019, 10:50:30 AM2/11/19
to ICA-AtoM Users
Hi Stephen, 

Looking at a couple other forum posts with this same error message, in both cases it seems the issue was resolved by allocating more memory during the installation process - ideally, 1024MB or higher seems to have resolved the issue for most people. The following page on PHP execution limits might also help: 
In another thread, it was also suggested to double-check the file-system permissions. You can reset these with the following command: 
  • sudo chown -R www-data:www-data /usr/share/nginx/atom
I would suggest restarting PHP-FPM and memcached, and clearing the application cache as well. 

If neither of these solutions work: 

What version of MySQL/Percona do you have installed? There are some known issues with the default settings in 5.7 and higher, which is why we recommend 5.6.

Is your default installation culture English? You can always double check what is currently set in apps/qubit/config/settings.yml. See: 
Cheers, 

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

Stephen Innerarity

unread,
Feb 14, 2019, 9:58:50 AM2/14/19
to ica-ato...@googlegroups.com
Hey dan, 

I am at a loss  here follow your instructions  now  I Get this error 

504 Gateway Time-out


nginx/1.10.3 (Ubuntu)

any help you can offer is appreciated 

Dan Gillean

unread,
Feb 14, 2019, 10:38:57 AM2/14/19
to ICA-AtoM Users
Hi Stephen, 

I'm sorry you are running into so many issues! It's difficult to determine from afar what exactly is leading to all of these issues, but let's see what we can do. 

First, you said you followed my suggestions - but I made several without specifying exact instructions. Can you please tell me exactly what you've changed since your last post? Additionally, what page are you trying to access that leads to the 504 error?

I also asked a few questions in my last post that I am still curious about, as it could be impacting some of the issues you are seeing. I've copied them below again for reference: 

What version of MySQL/Percona do you have installed? There are some known issues with the default settings in 5.7 and higher, which is why we recommend 5.6.

Is your default installation culture English? You can always double check what is currently set in apps/qubit/config/settings.yml. See: 

I am also wondering how much memory the server has, and what the memory_limit value in your PHP settings are. This is what I was suggesting you increase with the PHP execution limits... but increasing the setting won't have any effect if the actual available memory on your server is not enough! 

 In terms of resolving this issue: I would start by trying to restart services and clear the application cache, to see if that resolves the issue. On Ubuntu 16.04, try: 
  • sudo systemctl reload nginx
  • php symfony cc
  • sudo systemctl restart php7.0-fpm
  • sudo systemctl restart memcached
If that doesn't work, then you might try increasing the max_execution_time and max_input_time values in your php.ini file. Remember that any time you change your PHP execution settings, you should restart services and clear the application cache before re-testing! 

If it still doesn't work, you might try using htop to monitor the active services and see if there is something causing a bottleneck. Do you have other applications or services installed and running on this server? If you run htop, do you see any processes spiking or maxing out, such as CPU or memory? See: 
Hopefully with further information from you, we will be able to offer additional suggestions to help you get AtoM installed. 

Cheers, 

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

Reply all
Reply to author
Forward
0 new messages