• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Albatros
    3. Posts
    A
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 92
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Albatros

    • RE: Latest FOG 0.33b

      For $this I got this error: PHP Fatal error: Using $this when not in object context in /var/www/fog/service/snapins.file.php on line 48
      I think this error occurse, because the file snapins.file.php is no class.

      I had to remove the /, because I had as path /opt/fog/snapins/ in the database, you add there /, then the path is /opt/fog/snapins//<filename>.

      For line 53, I got this warning: PHP Warning: filesize(): stat failed for 1.7.0_40_32.sfx.exe in /var/www/fog/service/snapins.file.php on line 53. I changed it to this line, then the could be found
      [CODE]header("Content-Length: " . filesize( $FOGCore->getSetting(‘FOG_SNAPINDIR’).‘’.$snapinTask->getSnapin()->get(‘file’)));[/CODE]

      Edit: Ops was writing a answer to your post before. Will test the new revision.

      Edit 2: I tested it, here is a error from the apache log: PHP Fatal error: Call to undefined method SnapinTask::get() in /var/www/fog/lib/fog/ClientServiceManager.class.php on line 61
      I don’t see that the class SnapinTask extends from a other class.

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Hello Tom.

      I tested the new revision and I was able to upload a Windows xp image to the server. I think you still working on downloading a image from the server to the client?

      I have tested snapins and had a few errors that I fixed. After this fixes I could install snapins, without any problems.

      [CODE]packages\web\lib\fog\ClientServiceManager.class.php

      • On line 33, 44, 53 and 61 replaced get(‘id’) with getId(), because there is no method named get(‘value’), but a method named getId() in file packages\web\lib\fog\SnapinTask.class.php

      packages\web\service\snapins.file.php

      • On line 48 replaced $this->FOGCore with $FOGCore
      • Removed the / in all lines containing $FOGCore->getSetting(‘FOG_SNAPINDIR’). ‘/’ .$snapinTask->getSnapin()->get(‘file’)
      • On line 53 replaced $snapinTask->getSnapin()->get(‘file’) with $FOGCore->getSetting(‘FOG_SNAPINDIR’). ‘’ .$snapinTask->getSnapin()->get(‘file’)
        [/CODE]
      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Yes, I have linked to that post in my post.

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Tested new revision, checked start sector from debug mode it shows now 63. Tried to upload image, get the error shown in the image of this [URL=‘http://fogproject.org/forum/threads/latest-fog-0-33b.6476/page-12#post-20738’]post[/URL].

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 20740, member: 7271”]r1013 is out. Please try this and let me know.

      Thanks,[/quote]

      I can not test this now, will test it tomorrow. Thanks for your quick response.

      Edit:
      I looked into the current revision. You didn’t fixed the syntax error, here:
      [CODE]if [ “$partitionStart” == “” || “$partitionStart” == “1” ]; then[/CODE]

      Is in file src/buildroot/package/fog/scripts/bin/fog on line 837. Please fix.

      Ty,
      Albatros

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Ty, Tom.

      I tested it and got syntax error on line 837. Had to change
      [CODE]if [ “$partitionStart” == “” || “$partitionStart” == “1” ]; then[/CODE]
      to
      [CODE]if [ “$partitionStart” == “” ] || [ “$partitionStart” == “1” ]; then[/CODE]

      After I fixed that , I get this error
      [IMG]http://i.imgur.com/ifmTWSi.png[/IMG]

      Sorry that I have now the next error.
      Ty very much for your great work, will try to test snapins tomorrw and will will report back.

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      I upgraded the fog server, tried to upload an image from the client to the server and get this error:
      [IMG]http://i.imgur.com/a6XlaEh.png[/IMG]

      Tried this wth other computers, same problem. I am not sure what’s now wrong there, sorry Tom.

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      I started from debug mode, and typed in fdisk -l, it shows me start sector 1. The disk has only 1 partition, there is only /dev/sda1.

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Hello!

      I have updated fog 0.33b to the latest revision on my test server, then I started to test a few things. I tried to upload the image from the client to the server and got this error: “FOG requires your Windows XP’s partition start sector to be 63 but is 1”. I checked the start sector from a linux live cd and it shows me 63, tested with vmware and winxp, same problem. To be sure that this problem has nothing to do with the update, I did a complete reinstall of ubuntu 12.04.03 and from the fog server, the error still appears.

      If you need more informations or want me to test me something, write it down here and I will test it.

      posted in General
      A
      Albatros
    • RE: Where are you located ? Please Reply..

      Schwendi, Germany

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      [quote=“Tom Elliott, post: 19574, member: 7271”]@Albatros,
      If you delete the Active Task for the host, but leave the snapin task, for now, it will deploy the snapin’s as expected. I haven’t figured out a good method yet to getting the snapin deployment only to operate.[/quote]

      If I removed the task from the active tasks and let the snapin tasks running, I get an error in the fog service log file, that the file couldn’t be downloaded. Looks like that the parameters aren’t that are given to download the file aren’t correct.

      To the tasks, couldn’t be possible to write a method that counts all task that are not snapins tasks?

      posted in General
      A
      Albatros
    • RE: Latest FOG 0.33b

      Hello!

      I have tested snapin deployment in fog 0.33 beta and it doesn’t work properly.

      1. Creating a single snapin deployment will create a task with all snapins, who are associated to the host.
      2. If the fog Service client on the host tries to install snapins, the server respons with the error that a image task is running. I looked into the php files and find out that a method named getCountOfActiveTasksForHost from class FOGManagerController counts the active tasks for the hosts and snapin tasks are there counted too.

      Hope that this informations will help fixing the snapins deployment and make fog 0.33 beta better.

      posted in General
      A
      Albatros
    • 1
    • 2
    • 3
    • 4
    • 5
    • 5 / 5