Unable to properly install ATOM 2.1

337 views
Skip to first unread message

deviant.m...@gmail.com

unread,
Oct 7, 2014, 12:28:57 PM10/7/14
to ica-ato...@googlegroups.com
Hello,

I try to install ATOM 2.1 for two days. I followd every steps of the official installation guide :

I used a fresh install of Xubunu 14.04 in virtual Box.

I went through some install steps successfully (configure database and search properties). Then I get the site information configuration page which displays very weirdly (See attached image)

I've check the nginx error log :

2014/10/07 11:32:15 [error] 1006#0: *10 FastCGI sent in stderr: "PHP message: PHP Fatal error:  
Call to undefined function __() in /usr/share/nginx/atom/plugins/sfInstallPlugin/modules/sfInstallPlugin/templates/configureSiteSuccess.php on line 43
while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /index.php/sfInstallPlugin/configureSite HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.atom.sock:", host: "localhost", referrer: "http://localhost/index.php/sfInstallPlugin/configureSearch"

From what I understood after few searches on the internet, the __() function is used for translation. So I've edited the configureSiteSuccess.php file and removed the __() function. I tried a new installation and this time, I went through every installation steps. But when I clicked to "you may now visit your new site", I get a white page and the following error in the log :

2014/10/07 11:58:08 [error] 1006#0: *20 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Call to undefined function render_title() in /usr/share/nginx/atom/apps/qubit/modules/staticpage/templates/homeSuccess.php on line 4" while reading response header from upstream, client: 127.0.0.1, server: _, request: "GET /index.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.atom.sock:", host: "localhost", referrer: "http://localhost/index.php/sfInstallPlugin/finishInstall"

I assume some custom function are not reachable but I've no idea why.

Can someone help me ? 

Thank you very much !

Regards,

Joris 
Capture d’écran 2014-10-07 à 12.27.06.png

Jesús García Crespo

unread,
Oct 7, 2014, 12:37:55 PM10/7/14
to ica-ato...@googlegroups.com
Hi Joris,

I think that you are dealing with a permission issue in the filesystem. There is a step in the instructions where we ask to run "sudo chown -R www-data:www-data /usr/share/nginx/atom". That will allow the application installer to create a file called apps/qubit/config/settings.yml which is responsible of loading certain helpers at runtime like the i18n helper (which includes the __() function).

I would try again running the installer again, but before that make sure that permissions are set properly.

If you are stuck, feel free to come by the #openarchives chatroom @ irc.oftc.net. We may be able to offer you better support there, mostly during business hours (Pacific Time). You don't have to install a IRC client if you don't have one, you can use a web client like Kiwi IRC: https://kiwiirc.com/

Regards,

--
You received this message because you are subscribed to the Google Groups "ICA-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 http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/ebcf1525-29be-43ed-85d2-a917990d6590%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056

deviant.m...@gmail.com

unread,
Oct 7, 2014, 2:11:27 PM10/7/14
to ica-ato...@googlegroups.com, deviant.m...@gmail.com
Hi Jesùs,

Thank you for the quick reply !

I tried to run the sudo chown -R www-data:www-data /usr/share/nginx/atom command once more, unfortunately the problem persist.
I joined you a screenshot of the folder permissions, maybe it can helps.

By the way, the settings.yml file is successfully created during the first steps of the installation (I looked for it after your message) and the data is loaded in the database.

Thank you,

Joris 
Capture d’écran 2014-10-07 à 12.47.01.png

deviant.m...@gmail.com

unread,
Oct 7, 2014, 4:44:19 PM10/7/14
to ica-ato...@googlegroups.com, deviant.m...@gmail.com
I tried a new installation on a Ubuntu 14.04 VM (who knows...), I've got exactly the same issue. There must be something i'm doing wrong, but I can't figure it out.

deviant.m...@gmail.com

unread,
Oct 7, 2014, 6:47:55 PM10/7/14
to ica-ato...@googlegroups.com, deviant.m...@gmail.com
Ok, user <Sevein> of the chatroom resolved the issue by running the following commands :

$ cd /usr/share/nginx/atom
$ sudo -u www-data php symfony tools:purge

And then restarting the php-fpm service :

$ sudo service php5-fpm restart

Thanks to you two for the awesome support.

Regards,

Joris
Reply all
Reply to author
Forward
0 new messages