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

Backing up database failed!

Scheduled Pinned Locked Moved Solved
FOG Problems
5
29
6.9k
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.
  • T
    Tom Elliott @drc0nc
    last edited by Feb 29, 2016, 5:16 PM

    @drc0nc Any errors?

    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

    M E D 4 Replies Last reply Feb 29, 2016, 5:17 PM Reply Quote 0
    • M
      moses @Tom Elliott
      last edited by Feb 29, 2016, 5:17 PM

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • E
        EAHarvey @Tom Elliott
        last edited by Feb 29, 2016, 5:20 PM

        @Tom-Elliott Sam error here Tom. Just updated and ran again. Still bombs on backing up database.

        1 Reply Last reply Reply Quote 0
        • D
          drc0nc @Tom Elliott
          last edited by drc0nc Feb 29, 2016, 11:21 AM Feb 29, 2016, 5:20 PM

          @Tom-Elliott new errors now after updating

          [Mon Feb 29 11:18:17.128137 2016] [:error] [pid 10943] [client 172.24.15.10:60110] PHP Fatal error:  Default value for parameters with a class type hint can only be NULL in /var/www/html/fog/lib/fog/fogftp.class.php on line 141
          

          looks like it moved to line 141

          }
              public function pasv(bool $pasv = false) {
                  if (!$pasv) $pasv = $this->get('passive');
                  return @ftp_pasv(self::$link,$pasv);
              }
          

          lines 140-144

          1 Reply Last reply Reply Quote 1
          • E
            EAHarvey @Tom Elliott
            last edited by Feb 29, 2016, 5:23 PM

            @Tom-Elliott

            A Permissions Error. In most cases, a 500 Internal Server Error is due to an incorrect permission on one or more files or folders. In most of those cases, an incorrect permission on a PHP and CGI script is to blame. These should usually be set at 0775 (-rwxr-xr-x).

            Maybe?

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 29, 2016, 6:06 PM

              Can you try again?

              I did miss the pasv function. It should all be fixed now, at least for that particular error series you were all seeing.

              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

              E D 4 Replies Last reply Feb 29, 2016, 6:09 PM Reply Quote 1
              • E
                EAHarvey @Tom Elliott
                last edited by Feb 29, 2016, 6:09 PM

                @Tom-Elliott updating now./

                1 Reply Last reply Reply Quote 0
                • D
                  drc0nc @Tom Elliott
                  last edited by drc0nc Feb 29, 2016, 1:08 PM Feb 29, 2016, 6:09 PM

                  @Tom-Elliott Fixed! thanks!
                  Edit: it only fixed the access to the web UI

                  1 Reply Last reply Reply Quote 1
                  • E
                    EAHarvey @Tom Elliott
                    last edited by EAHarvey Feb 29, 2016, 12:17 PM Feb 29, 2016, 6:14 PM

                    @Tom-Elliott seems good to go. Did you delete all the files in the /var/www/html/fog/lib with your script or move them?

                    NM, had to refresh the directory.

                    1 Reply Last reply Reply Quote 0
                    • E
                      EAHarvey @Tom Elliott
                      last edited by EAHarvey Feb 29, 2016, 12:22 PM Feb 29, 2016, 6:18 PM

                      @Tom-Elliott Turned it on or off? The PASV that is.

                      1 Reply Last reply Reply Quote 0
                      • M
                        moses
                        last edited by Feb 29, 2016, 7:06 PM

                        This update resolved getting to the web interface, but I still get a 500 error when trying to get to the Log Viewer.

                        D 1 Reply Last reply Feb 29, 2016, 7:07 PM Reply Quote 1
                        • D
                          drc0nc @moses
                          last edited by drc0nc Feb 29, 2016, 1:08 PM Feb 29, 2016, 7:07 PM

                          @moses @Tom-Elliott Same here, guess I should’ve looked.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Feb 29, 2016, 7:16 PM

                            What do you mean?

                            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 M 2 Replies Last reply Feb 29, 2016, 7:18 PM Reply Quote 0
                            • D
                              drc0nc @Tom Elliott
                              last edited by Feb 29, 2016, 7:18 PM

                              @Tom-Elliott

                              [Mon Feb 29 12:43:35.427068 2016] [:error] [pid 13203] [client 172.24.15.157:20393] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/bootmenu.class.php on line 115
                              [Mon Feb 29 12:43:35.427787 2016] [:error] [pid 13203] [client 172.24.15.157:20393] PHP Strict Standards:  Only variables should be passed by reference in /var/www/html/fog/lib/fog/bootmenu.class.php on line 116
                              [Mon Feb 29 13:07:14.747617 2016] [:error] [pid 13183] [client 172.24.15.109:8423] PHP Catchable fatal error:  Argument 1 passed to FOGFTP::nlist() must be an instance of string, string given, called in /var/www/html/fog/lib/pages/fogconfigurationpage.class.php on line 747 and defined in /var/www/html/fog/lib/fog/fogftp.class.php on line 138, referer: http://172.24.4.247/fog/management/index.php?node=about
                              
                              1 Reply Last reply Reply Quote 0
                              • M
                                moses @Tom Elliott
                                last edited by Feb 29, 2016, 7:18 PM

                                @Tom-Elliott I’m unable to load the FOG Configuration > Log Viewer page, specifically. I get a HTTP Error 500 in my browser.

                                I haven’t found any other pages where this error occurs, thus far.

                                T 1 Reply Last reply Feb 29, 2016, 7:24 PM Reply Quote 0
                                • T
                                  Tom Elliott @moses
                                  last edited by Feb 29, 2016, 7:24 PM

                                  @moses found the type hinting, really kind of wish the secondary bits would’ve been put in a separate posting, but all in all everything should be functional again.

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

                                  199

                                  Online

                                  12.0k

                                  Users

                                  17.3k

                                  Topics

                                  155.2k

                                  Posts
                                  Copyright © 2012-2024 FOG Project