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

    Postdownloadscript help

    Scheduled Pinned Locked Moved
    Windows Problems
    4
    16
    6.8k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      Do you see any error messages???

      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
      • T
        TheKoR
        last edited by

        No error message

        and no error log

        Ubuntu 13.10 - Fog 1.3.0
        XEON E5630 - 16 Go - 6To raid 5
        Best download : 22Go in 23 sec
        Avg rate : 4.5G/min on 20 unicasts at same time

        1 Reply Last reply Reply Quote 0
        • Lee RowlettL
          Lee Rowlett Developer
          last edited by

          reason you don’t see any error logs is - [FONT=Consolas]&>/dev/null remove this temporarily from the end of the lines, you are best to do a download debug so you can see each step, if it does fail do the process manually[/FONT]

          1 Reply Last reply Reply Quote 0
          • T
            TheKoR
            last edited by

            i remove “- [FONT=Consolas]&>/dev/null” and still no error log. how can i do the process manually ?[/FONT]

            Ubuntu 13.10 - Fog 1.3.0
            XEON E5630 - 16 Go - 6To raid 5
            Best download : 22Go in 23 sec
            Avg rate : 4.5G/min on 20 unicasts at same time

            1 Reply Last reply Reply Quote 0
            • T
              TheKoR
              last edited by

              Is it possible errors come from the link directory ?

              Ubuntu 13.10 - Fog 1.3.0
              XEON E5630 - 16 Go - 6To raid 5
              Best download : 22Go in 23 sec
              Avg rate : 4.5G/min on 20 unicasts at same time

              1 Reply Last reply Reply Quote 0
              • Lee RowlettL
                Lee Rowlett Developer
                last edited by

                • [FONT=Consolas]&>/dev/null does not create log it stops it from supressing prints i.e. error messages/warnings.

                most likely educated guess link directory… i would change all [/FONT][FONT=Consolas]/fog/Drivers paths direct in script to [/FONT]/partages/Drivers (or wherever you have your drivers directory)

                also it’s case sensitive with model name (i never added any handling for directories) so best thing to do to rule that out is copy Model Name from FOG-> Hardware inventory

                and when i said manually i meant remove disable postscripts … On fog do… basic tasks-> advanced ->download deploy let it image and before it boots (when postscripts normally runs) press ctrl +C to go to command/terminal then do each line individually

                [FONT=Consolas]mkdir /ntfs &>/dev/null[/FONT]
                [FONT=Consolas]ntfs-3g -o force,rw $part /ntfs[/FONT]

                [FONT=Consolas]if it fails see what $part echo’s at (echo $part;)[/FONT]

                1 Reply Last reply Reply Quote 0
                • T
                  TheKoR
                  last edited by

                  “rsync: change_dir “/fog/Drivers/Win7/3113CW3” failed: no such files or directory(2)” Here the error i have

                  [CODE]root@Fog:/fog/Drivers/Win7/3113CW3# ls
                  x64 x86
                  [/CODE]

                  and in x64 i have my ethernet drivers

                  and my postdownloadscripts and /fog/Drivers are with 777 -R Chmod

                  Ubuntu 13.10 - Fog 1.3.0
                  XEON E5630 - 16 Go - 6To raid 5
                  Best download : 22Go in 23 sec
                  Avg rate : 4.5G/min on 20 unicasts at same time

                  1 Reply Last reply Reply Quote 0
                  • Lee RowlettL
                    Lee Rowlett Developer
                    last edited by

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • T
                      TheKoR
                      last edited by

                      mount : mounting 192.168.123.6:/fog on /fog : permission denied

                      and This rsync lacks old-style --compress due to its external zlib

                      and after i have
                      “rsync: change_dir “/fog/Drivers/Win7/3113CW3” failed: no such files or directory(2)”

                      Ubuntu 13.10 - Fog 1.3.0
                      XEON E5630 - 16 Go - 6To raid 5
                      Best download : 22Go in 23 sec
                      Avg rate : 4.5G/min on 20 unicasts at same time

                      1 Reply Last reply Reply Quote 0
                      • Lee RowlettL
                        Lee Rowlett Developer
                        last edited by

                        looks like /fog it not mountable - have you added /fog to exports?

                        1 edit: /etc/exports
                        2. add this line: /fog *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=4)
                        3. save file
                        4. run: exportfs -a

                        other thing to note: make sure fsid=4 is correct, as long as you haven’t modified the exports it should be but if not just make sure it’s the next unique number

                        also if you’re going to use /fog directory you will need to manually add this into exports everytime you upgrade as fog overwrites exports (removing this line in the process)

                        1 Reply Last reply Reply Quote 0
                        • T
                          TheKoR
                          last edited by

                          Oh nice, thanks.
                          fog mounted !!

                          still have the others errors lol

                          “This rsync lacks old-style --compress due to its external zlib”
                          “rsync: change_dir “/fog/Drivers/Win7/3113CW3” failed: no such files or directory(2)”

                          Ubuntu 13.10 - Fog 1.3.0
                          XEON E5630 - 16 Go - 6To raid 5
                          Best download : 22Go in 23 sec
                          Avg rate : 4.5G/min on 20 unicasts at same time

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            [quote=“TheKoR, post: 44040, member: 24285”]Oh nice, thanks.
                            fog mounted !!

                            still have the others errors lol

                            “This rsync lacks old-style --compress due to its external zlib”
                            “rsync: change_dir “/fog/Drivers/Win7/3113CW3” failed: no such files or directory(2)”[/quote]

                            Have you verified that this path exists? /fog/Drivers/Win7/3113CW3
                            Keep in mind that Linux is case sensitive for directories, and a lot of other stuff (it gives me woes sometimes!).
                            So, your script probably should be case-sensitive too.

                            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!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • Lee RowlettL
                              Lee Rowlett Developer
                              last edited by

                              Hi wayne,

                              sorted this out in the end through chat - was down to link to /fog… used existing location instead and change script to match and all working 🙂 but ur response was my first response too 🙂

                              1 Reply Last reply Reply Quote 0
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                [quote=“Lee Rowlett, post: 44082, member: 28”]Hi wayne,

                                sorted this out in the end through chat - was down to link to /fog… used existing location instead and change script to match and all working 🙂 but ur response was my first response too :)[/quote]

                                Awesome. That’s good.

                                AND, I’d like to say something about FOG in general…

                                FOG was an experiment for me. I was relentlessly pursuing an alternative for imaging. My work was using Ghost & Deploy Studio. My boss was considering Acronis Snap Deploy… which is really expensive.

                                I set out to prove that FOG would work in our environment. Now, mind you, I’ve taken a Linux class at college, we only worked in Terminal. But, I wasn’t savvy at it at all. I was “Comfortable” being an average user with Linux, nothing special really (still not anything special).

                                So, I spent weeks putting together FOG on Fedora in a VM. I learned sooo much about Linux during those weeks. I’ve slowly started helping people on here where I can. I’ve since become so comfortable that I’ve gone totally Fedora at home (using it now).

                                I’ve plummeted into learning C++, using Fedora. I’ve always said I wanted to learn it, but this was the prime moment because I was using Linux (I’m very, very proficient with VB.NET). I’ve been following online tutorials, doing online exercise problems, writing code, compiling, learned how to run executables from Terminal, Became really reliant on GREP and other Terminal commands in general.

                                And today, it really hit me. FOG opened the door to all of this for me, honestly. Just today, I blew through Terminal at work on OSX 10.6.8, navigating through directories like a pro, unpacking files, using CAT, GREP, all due to my recent learning of Linux.

                                SO,
                                Point of this little story is, an AMAZING solution like FOG, So amazing that it draws in people like me, ultimately, increases the numbers in the Linux community inevitably. That’s how good FOG is.

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • T
                                  TheKoR
                                  last edited by

                                  Thanks guy for help.

                                  We don’t really use fog like many of you.

                                  We are refurbisher, we buy lot of used professional stuff and sell to end customer with low cost.

                                  When i came in the company, they used a old Ghost server and we test fog, loved and adopted !

                                  I am not really good in english, and sometimes, it’s hard to follow technicals threads, but i learn lot of thing on linux.

                                  You are all devoted to this project, and it’s nice to be able to discuss and improve the project with you.

                                  Ubuntu 13.10 - Fog 1.3.0
                                  XEON E5630 - 16 Go - 6To raid 5
                                  Best download : 22Go in 23 sec
                                  Avg rate : 4.5G/min on 20 unicasts at same time

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

                                  212

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project