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

Updating DataBase Failed

Scheduled Pinned Locked Moved Solved
FOG Problems
4
14
2.4k
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.
  • Z
    zago123
    last edited by Oct 24, 2017, 6:00 PM

    Hi,

    I’m uploading my first image on fog, but when it arrives at 100% this error appears:

    updating database failed

    error type 8 file: /var/www/fog/lib/fog/fogcontroller.class.php

    help

    thanks

    1 Reply Last reply Reply Quote 0
    • Z
      zago123 @george1421
      last edited by Oct 25, 2017, 12:10 PM

      @george1421

      I was able to resolve it by disabling my firewall, which port does the fog ftp use for me to be able to free on my firewall?

      G 1 Reply Last reply Oct 25, 2017, 12:15 PM Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Oct 24, 2017, 7:27 PM

        @zago123 Which version of FOG do you use? See in the blue cloud on the web UI and post all the version numbers here.

        As well please take a picture of the error or post the full error message here. We are missing an important part of the message to be able to help.

        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
        • Z
          zago123
          last edited by zago123 Oct 25, 2017, 3:31 AM Oct 25, 2017, 9:23 AM

          0_1508923489519_35c03dde-3dbb-4dd7-b456-0124da634dde.jpg

          @Sebastian-Roth this error

          rules iptables maybe ? to cause this error?

          Version Fog : 1.4.4
          Ubuntu - Server 17

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Oct 25, 2017, 10:25 AM

            Interesting one I haven’t seen I think. Probably we need @Tom-Elliott to have a look.

            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
              Tom Elliott
              last edited by Oct 25, 2017, 10:48 AM

              Please get us the apache error logs and access logs while this error is happening. Last time this happened, it was because somebody had forgotten to turn of SELinux. This time, however, it’s ubuntu so I don’t know.

              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

              Z 1 Reply Last reply Oct 25, 2017, 11:28 AM Reply Quote 0
              • Z
                zago123 @Tom Elliott
                last edited by Oct 25, 2017, 11:28 AM

                @tom-elliott

                rules firewall maybe?

                G 1 Reply Last reply Oct 25, 2017, 11:49 AM Reply Quote 0
                • G
                  george1421 Moderator @zago123
                  last edited by Oct 25, 2017, 11:49 AM

                  @zago123 Do you have the ubuntu firewall enabled? sudo ufw status will tell you if its enabled.

                  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!

                  Z 1 Reply Last reply Oct 25, 2017, 12:10 PM Reply Quote 0
                  • Z
                    zago123 @george1421
                    last edited by Oct 25, 2017, 12:10 PM

                    @george1421

                    I was able to resolve it by disabling my firewall, which port does the fog ftp use for me to be able to free on my firewall?

                    G 1 Reply Last reply Oct 25, 2017, 12:15 PM Reply Quote 0
                    • Z
                      zago123
                      last edited by Oct 25, 2017, 12:14 PM

                      guys,

                      I was able to resolve it by disabling my firewall, which port does the fog ftp use for me to be able to free on my firewall?

                      1 Reply Last reply Reply Quote 0
                      • G
                        george1421 Moderator @zago123
                        last edited by Oct 25, 2017, 12:15 PM

                        @zago123 Managing firewall rules are going to be a bit trick especially since NFS is not really firewall friendly. But to answer your question one of the developers worked on a thread a while ago. This thread has the answers you seed: https://forums.fogproject.org/topic/6162/firewall-configuration

                        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!

                        Z 1 Reply Last reply Oct 25, 2017, 1:01 PM Reply Quote 0
                        • Z
                          zago123 @george1421
                          last edited by zago123 Oct 25, 2017, 7:01 AM Oct 25, 2017, 1:01 PM

                          @george1421

                          error firewall : this directory no exist

                          echo “IPTABLES_MODULES=“nf_conntract_tftp nf_conntrack_ftp nf_conntrack_netbios_ns”” >> /etc/sysconfig/iptables-config

                          T 1 Reply Last reply Oct 25, 2017, 1:08 PM Reply Quote 0
                          • T
                            Tom Elliott @zago123
                            last edited by Oct 25, 2017, 1:08 PM

                            @zago123 FTP is port 21.

                            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

                            G 1 Reply Last reply Oct 25, 2017, 1:38 PM Reply Quote 0
                            • Z
                              zago123
                              last edited by Oct 25, 2017, 1:30 PM

                              thanks guys.

                              1 Reply Last reply Reply Quote 0
                              • G
                                george1421 Moderator @Tom Elliott
                                last edited by Oct 25, 2017, 1:38 PM

                                @tom-elliott said in Updating DataBase Failed:

                                @zago123 FTP is port 21.

                                To add to what Tom posted, FTP actually uses 2 communications ports. From the fog server to the target (command channel) and then from the target back to the fog server (data channel). So ports 20 and 21 are used for a fully ftp connection.

                                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!

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

                                310

                                Online

                                12.0k

                                Users

                                17.3k

                                Topics

                                155.2k

                                Posts
                                Copyright © 2012-2024 FOG Project