Error Installing ICA-Atom on Mac

133 views
Skip to first unread message

prathmesh

unread,
Oct 5, 2012, 11:35:48 AM10/5/12
to ica-ato...@googlegroups.com
I have been trying to install the latest version of ICA - Atom 1.3.0 on my Mac Mini and have been unsuccessful and getting error messages. I have a Mac OS X 10.6.8 and I am using MAMP Pro. 
First error I am getting is while Configuring Database Step :
500 | Internal Server Error | PropelException [wrapped: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qubit.object' doesn't exist]
I came across this forum post :https://groups.google.com/forum/#!msg/ica-atom-users/wZRUfW6vncY/vu0uQV6zCfAJ , and checked all the solutions mentioned there but I am still getting the error. 
Then I enabled the debug mode of the Qubit to get detailed Error Messages and I am getting the following error message while in the "Check System" stage of installation :
Notice: Undefined variable: htaccess in /Applications/MAMP/htdocs/icaatom-1.3.0/plugins/sfInstallPlugin/modules/sfInstallPlugin/actions/checkHtaccessAction.class.php on line 25How to get rid of the following error ?

I recently successfully installed the Atom 1.3.0 on another Mac Mini and was wondering what is wrong with this particular installations. The only difference between that machine and mine is that that Mini is running a "OS X Server Version " and my mini is a normal OS X version ( not server). Does this make a difference ?

I posted this on the Qubit Developers Forum before but didn't receive any responses there , so trying my Luck here !
Any help is appreciated, Thanks !

JBushey, ICA-AtoM Product Manager

unread,
Oct 5, 2012, 12:54:21 PM10/5/12
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Thank you for providing such a detailed report of your problem. I have forwarded your email to our developer team and one of them will respond early next week.

Regards,
Jessica Bushey

David at Artefactual

unread,
Oct 9, 2012, 2:32:50 PM10/9/12
to ica-ato...@googlegroups.com, prathmes...@gmail.com
On Friday, October 5, 2012 8:35:48 AM UTC-7, prathmesh wrote:
I have been trying to install the latest version of ICA - Atom 1.3.0 on my Mac Mini and have been unsuccessful and getting error messages. I have a Mac OS X 10.6.8 and I am using MAMP Pro. 
First error I am getting is while Configuring Database Step :
500 | Internal Server Error | PropelException [wrapped: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'qubit.object' doesn't exist]


Hi prathmesh,

If you check the MySQL database (using phpMyAdmin or the mysql command line tool), can you see the database 'qubit' and the table 'object'?  If either of these are missing from MySQL, then I would recommend deleting the entire ICA-AtoM directory, and the qubit database (if there is one).  Then download a fresh copy of the ICA-AtoM tarball, and start the installation again.   When the time comes to create the MySQL database, make sure that after you create the database, you that the MySQL user credentials you put in the installer have full permissions to create new tables.
 
I came across this forum post :https://groups.google.com/forum/#!msg/ica-atom-users/wZRUfW6vncY/vu0uQV6zCfAJ , and checked all the solutions mentioned there but I am still getting the error. 
Then I enabled the debug mode of the Qubit to get detailed Error Messages and I am getting the following error message while in the "Check System" stage of installation :
Notice: Undefined variable: htaccess in /Applications/MAMP/htdocs/icaatom-1.3.0/plugins/sfInstallPlugin/modules/sfInstallPlugin/actions/checkHtaccessAction.class.php on line 25How to get rid of the following error ?

This notice is not related to the problem you are having, but I have added a fix for the bug in our latest development branch:
https://github.com/artefactual/atom/commit/78a3a0fcc8c35d1902dfe0293f899a94b020e9ce
 

I recently successfully installed the Atom 1.3.0 on another Mac Mini and was wondering what is wrong with this particular installations. The only difference between that machine and mine is that that Mini is running a "OS X Server Version " and my mini is a normal OS X version ( not server). Does this make a difference ?


Mac OSX Server may come with PHP and MySQL already installed and running.   MAMP installs it's own version of PHP and MySQL, so you need to be careful that they don't conflict, in particular the default MySQL port may conflict with the the port MAMP MySQL is using.  This forum thread <http://forum.mamp.info/viewtopic.php?f=2&t=8062> recommends not using MAMP with OS X Server, as it is not tested.

In addition, several of the recommend libraries for AtoM <https://www.qubit-toolkit.org/wiki/Minimum_requirements#Other_dependencies_.28not_required.29> such as ImageMagick, ffmeg, and ghostscript can be very difficult to install in Mac OS X (server or normal version), so we don't recommend OS X for hosting a ICA-AtoM if you are uploading any digital objects.



Regards,
David

-- 
David Juhasz
Director, Technical Services

Artefactual Systems Inc.
www.artefactual.com

David at Artefactual

unread,
Oct 9, 2012, 2:37:30 PM10/9/12
to ica-ato...@googlegroups.com, prathmes...@gmail.com
On Tuesday, October 9, 2012 11:32:50 AM UTC-7, David at Artefactual wrote:

Mac OSX Server may come with PHP and MySQL already installed and running.   MAMP installs it's own version of PHP and MySQL, so you need to be careful that they don't conflict, in particular the default MySQL port may conflict with the the port MAMP MySQL is using.  This forum thread <http://forum.mamp.info/viewtopic.php?f=2&t=8062> recommends not using MAMP with OS X Server, as it is not tested.\

Here's another forum thread which describes how one user got MAMP working with OS X Server:
http://forum.mamp.info/viewtopic.php?f=2&t=13881

prathmes...@gmail.com

unread,
Oct 9, 2012, 4:49:19 PM10/9/12
to ica-ato...@googlegroups.com, prathmes...@gmail.com
Hi David , 
Thanks for the response . I'll try the soln you suggested for the Installation Error in the meantime we have one major question after reading your post.

Are you suggesting that Mac OS in general is not recommended for Atom if we intend to upload digital data, if so what platform we should use ?
Is the problem related to OS X Server, NOT OS X? The production installation, which went smoothly, is using OS X Server, ironically, it is the staging instance using normal OS X, which we are unable to get working.

We definitely intend to upload digital objects (mainly images) and selected a Mac mini based on available resources and the guidance provided on the wiki’s installation documentation, which suggests either manually recompiling PHP5 or installing MAMP to address the missing dependencies (source: https://www.qubit-toolkit.org/wiki/Installation#Mac_OS_X). which we did. Do we need to change platforms?

We also tested uploading digital images on the OS-X Server installation after your post just to test whether it can handle digital images which we intend to upload in the near future.We attempted to upload a 150+ MB .tif and a .jpg under 3 MB (both of which are acceptable file formats, https://www.ica-atom.org/doc/File_formats)  and wasn't able to import either. A quick search of the wiki yielded nothing regarding the error messages, but the user forum has two posts, in which users describe the exact messages we got and the responses detail how to resolve these.

Related posts :

https://groups.google.com/forum/?fromgroups=#!topic/ica-atom-users/Sm9stu0Jm9I 

https://groups.google.com/forum/?hl=en&fromgroups=#!searchin/ica-atom-users/%22file$20size$20upload$20limits%22/ica-atom-users/LDa2L2uCtbg/EF5BuJ4sNuYJ 


I have checked the php.ini files and the upload_max_filesize and post_max_size both are at 32Mb , which should have worked for the 3 Mb file we attempted. 

I wanted to know if these errors are related to the OS we are using which is Mac OS or is it something else which can be fixed within the installation ?

Our major concern is whether we need to switch platform from Mac OS to something else if its not recommended for digital objects within Atom. 


Thanks for the help !


-Prathmesh

David Juhasz

unread,
Oct 10, 2012, 4:23:53 PM10/10/12
to ica-ato...@googlegroups.com
When I was running Mac OS X (not server) several years ago I had an extremely difficult time installing the ffmpeg and Imagemagick libraries.  These packages were not bundled as Mac OS X installer packages, and the OS X package managers of the time (MacPorts, Fink) were difficult to install and cumbersome to use.   This was several years ago, so the situation may have improved since then.

Please see <https://www.qubit-toolkit.org/wiki/Minimum_requirements#Other_dependencies_.28not_required.29> for a list of optional packages that ICA-AtoM requires for creating some times of digital derivatives (e.g. thumbnails, flash movie (flv) files).



Regards,
David
--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To post to this group, send email to ica-ato...@googlegroups.com.
To unsubscribe from this group, send email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/ica-atom-users/-/UgCdNTYviaMJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 
Reply all
Reply to author
Forward
0 new messages