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

Syntax error

Scheduled Pinned Locked Moved Solved
Bug Reports
5
7
533
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.
  • D
    dforce
    last edited by Feb 3, 2020, 8:40 AM

    Hi,

    I just updated to version 1.5.7.103 and during capture I receive the syntax error on resizing ext partition. The syntax error is set on “awk : cmd line 1”.

    Is it possible to solve that problem ?

    Thanks
    Miguël

    1 Reply Last reply Reply Quote 0
    • D
      dforce
      last edited by Feb 3, 2020, 10:03 AM

      More info
      “Check extfs volume --> Done”
      “/^Block[”
      “^ unterminated regexp”
      “error : Invalid regular expression : /^Block[/”
      "BEGIN {PRINTF “%.0f\n”, 2153085
      }"
      “syntax error”
      "BEGIN {PRINTF “%.0f\n”, 5/100
      }"
      “syntax error”
      “BEGIN {PRINTF “%.0f\n”, +}”
      “syntax error”
      “Init version 20200201”
      “Error calculating the new size of extfs (shrinkPartition)”**

      What went wrong and how can I solve this problem ?

      Thanks
      Miguël

      1 Reply Last reply Reply Quote 0
      • S
        shruggy
        last edited by shruggy Feb 3, 2020, 7:07 AM Feb 3, 2020, 1:04 PM

        @Quazz @Sebastian-Roth
        The two awk lines changed in this commit are underquoted:
        https://github.com/FOGProject/fos/commit/5f0e7b5f7d77986b0e0019dd23c875c6d40ec869

        Q 1 Reply Last reply Feb 3, 2020, 1:11 PM Reply Quote 1
        • T
          Tom Elliott
          last edited by Feb 3, 2020, 1:09 PM

          I’ve made the required changes to quote the awk statements properly. This will take a while to build of course.

          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

          D 1 Reply Last reply Feb 3, 2020, 1:38 PM Reply Quote 1
          • Q
            Quazz Moderator @shruggy
            last edited by Quazz Feb 3, 2020, 7:12 AM Feb 3, 2020, 1:11 PM

            @shruggy Indeed, I didn’t catch that last time. Because we use square brackets now it needs to start the quote earlier. (though really it should always do that for clarity)

            1 Reply Last reply Reply Quote 0
            • D
              dforce @Tom Elliott
              last edited by Feb 3, 2020, 1:38 PM

              @Tom-Elliott
              Will you post a message if the update will be ready ?

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Feb 3, 2020, 6:23 PM

                @dforce New inits are build and you can simply re-run the installer to pull the new files. Tom also pushed some changes to dev-branch so you might want to do a git pull as well though it’s not needed. If you do so, don’t wonder about a decreased version number. Seems like we had that advanced a little too high at some point and Tom pulled it back now.

                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
                1 / 1
                • First post
                  1/7
                  Last post

                236

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project