Capone blank option
-
I logged into fog, removed and reinstalled the capone plugin. Capone still acts the same and these changes did not trigger anything new in the logs: (I waited to 14:54 to start the uninstall / reinstall)
mainMenu() on a non-object in /var/www/fog/management/index.php on line 70, referer: [url]http://192.168.0.33/fog/management/index.php?node=about&sub=pxemenu[/url]
[Tue Jun 10 13:59:50 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70
[Tue Jun 10 14:41:02 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70, referer: [url]http://fogproject.org/forum/threads/capone-blank-option.10748/[/url]
[Tue Jun 10 14:44:47 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70, referer: [url]http://192.168.0.33/fog/management/index.php?node=home[/url]
[Tue Jun 10 14:53:13 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70 -
Now I’m very confused. I just reinstalled Ubuntu 12.04 and fog 1.1.0 from scratch and capone still does not work. What am I doing wrong? (This clean install is on the hardware that has been my production fog server for 2+ years)
Here’s my install:Ubuntu 12.04 on raid 0+1
Logged in as root and did everything as root this time. I’ve never installed or used fog as root before, just did this time to be “safe”.wget -O fog_1.1.0.tar.gz [url]https://downloads.sourceforge.net/project/freeghost/FOG/fog_1.1.0/fog_1.1.0.tar.gz?r=https%3A%2F%2Fsourceforge.net%2Fprojects%2Ffreeghost%2F&ts=1402051465&use_mirror=superb-dca3[/url]
tar -xvzf fog_1.1.0.tar.gz
cd fog_1.1.0/bin
./installfog.shEverything installs and works as it should with no errors, just not capone. Please see the attached screen shots and let me know where I’m messing it up? Here are the errors in the apache2 logs:
[Tue Jun 10 17:52:32 2014] [error] [client 192.168.0.33] File does not exist: /var/www/favicon.ico
[Tue Jun 10 17:52:32 2014] [error] [client 192.168.0.33] File does not exist: /var/www/favicon.ico
[Tue Jun 10 17:52:45 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function get() on a non-object in /var/www/fog/lib/pages/DashboardPage.class.php on line 30, referer:[url]http://192.168.0.33/fog/commons/schemaupdater/index.php?redir=1[/url]
[Tue Jun 10 17:53:46 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:53:46 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:53:46 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:53:57 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:53:57 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:53:57 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:54:36 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:54:36 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:54:36 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 17:56:29 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70, referer: [url]http://192.168.0.33/fog/management/index.php?node=users&sub=list[/url]
[Tue Jun 10 18:02:23 2014] [error] [client 192.168.0.33] PHP Fatal error: Call to a member function mainMenu() on a non-object in /var/www/fog/management/index.php on line 70
[Tue Jun 10 18:02:35 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 18:02:35 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 18:02:35 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 18:03:40 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 18:03:40 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url]
[Tue Jun 10 18:03:40 2014] [error] [client 192.168.0.33] File does not exist: /var/www/fog/management/css/images, referer: [url]http://192.168.0.33/fog/management/css/jquery-ui.css[/url][url=“/_imported_xf_attachments/0/963_Settings.png?:”]Settings.png[/url][url=“/_imported_xf_attachments/0/964_Capone.png?:”]Capone.png[/url]
-
What is so strange to me is what’s actually happening.
It happens sporadically it seems, but you’ve been able to replicate it twice in a row?
-
Oh, I’m good!
That’s why I’m so confused and frustrated. I know it works, so why not now?
Do you have a step-by-step from fresh Ubuntu install to working capone…just in case I’m a knucklehead and am forgetting to do something? -
the best I could do is have you try to load the run.php from a real capone plugin in lib/plugins/capone/html/.
You could do this with:
[code]wget -O /var/www/fog/lib/plugins/capone/html/run.php http://sourceforge.net/p/freeghost/code/1419/tree/trunk/packages/web/management/plugins/capone/run.php?format=raw[/code]Hopefully this helps.
-
Now I have this. Please see attachment
[url=“/_imported_xf_attachments/0/965_Screenshot from 2014-06-10 19:06:02.png?:”]Screenshot from 2014-06-10 19:06:02.png[/url]
-
Wait a minute…How does this look?
-
Here is what I see now
[url=“/_imported_xf_attachments/0/967_Good.png?:”]Good.png[/url]
-
[quote=“Cavender, post: 29783, member: 3868”]Here is what I see now[/quote]
Hi,
I have the same.
-
[quote=“ch3i, post: 29788, member: 2513”]Hi,
I have the same.[/quote]
[url]http://fogproject.org/forum/threads/capone-blank-option.10748/#post-29780[/url]
-
[quote=“Tom Elliott, post: 29799, member: 7271”][url]http://fogproject.org/forum/threads/capone-blank-option.10748/#post-29780[/url][/quote]
It’s OK for me now ! Thx !
Regards, Ch3i
-
So the Capone page now loads and functions. Thank you for figuring this out for me! I imported all of my images from the .32 fog into the new 1.1.0, and when deploying and image I receive the “Not a Partclone Image” error. I’ve checked the Legacy flag in settings, and changed the image back to partimage and still get the error. What am I missing? Please see the attached screen shots.
Thank You!
[url=“/_imported_xf_attachments/0/975_Legacy Flag.png?:”]Legacy Flag.png[/url][url=“/_imported_xf_attachments/0/976_Image Manager Partimage.png?:”]Image Manager Partimage.png[/url]
-
I think I know what’s wrong here.
I may need to send another option back to the init to give the “legacy” flag enabling factor.
It’d probably be best, for now, if you download the image to a machine (that you register ONLY ONE THOUGH), re-upload it so it is in partclone format.
-
Update…Capone works great! Added all of the tools and utilities with the custom menu from .32 into the new installation. Everything works great! The techs really appreciate the speed boost with ipxe. Thank you Tom and jbsclm for directing me on how to get everything working!! I really appreciate all of you hard work!
Scott.
-
I had a go on my failing system today, when I rename run.php to something else I get the problem back, i.e. no options for capone.
I’ve tried clearing the browser cache, on both Firefox on the server and ie8 on xp, and it makes no difference.
My home system is fine, I’ll try building a new one and see if I can reproduce the problem.