• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Partclone Progress Help

    Scheduled Pinned Locked Moved
    General
    1
    2
    1.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Hello everybody,

      While I’ve been fairly busy lately, I’ve been working on figuring out how to bring progress tracking back.

      I’ve gotten partclone figured out where at least it now writes the data to the /tmp/status.fog file, and this data writes to the database. What I can’t seem to figure out, hence my request here, is how to get that information displaying on the GUI. I’m sure I can figure it out given enough time, but I’m looking to see if there’s other methods of achieving the same thing.

      I don’t know exactly how the data was received with partimage, and right now I don’t really care (as sad as that sounds).

      From what I can tell, I have to have the active tasks display with a div and contain the id host- . This information, from what I can tell, is followed by an ID (which should be I think) that looks to be the task ID. So I had to make an edit to the FOGPage.class.php file to make it recognize if it’s a tasks lookup, adjust the div to change the name from task-<taskid> to host-<taskid> and lookup the task percentage data.

      From there, the fog.tasks.js file does the progress display for us, but it looks like the new div template never displays properly. I can’t tell if the method it’s using is supposed to be the host-<hostid> or host-<taskid> that I formally generate.

      I broadcast just hoping others have some understanding that I’m just missing.

      Thank you all.

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        As I stated, I have gotten this working finally.

        I figured it out and it took a lot of work. Hopefully it’s something that’s needed. Next phase to hopefully get multicast working.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post

        197

        Online

        12.1k

        Users

        17.3k

        Topics

        155.3k

        Posts
        Copyright © 2012-2024 FOG Project