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

    FOG 1.5.7 install on Ubuntu 18.04.3 LTS fails at Schema install/update

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    16
    1.7k
    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
      TurkTownBlue @george1421
      last edited by

      @george1421
      No MariaDB logs, just a mysql in /var/log

      Nothing in that since Friday.

      Incidentally, I tried to ‘touch’ a couple of test files in /home/<myuser> and in /tmp, /var etc. Each time I get a "cannot touch ‘test’: Read-only file system.

      So it looks like my machine has decided to lock everything down. I don’t understand how it managed to download the FOG package in that case.

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @TurkTownBlue
        last edited by

        @TurkTownBlue Well you might need to do a sudo touch since even if you are an admin, you need sudo to do things to protected directories.

        Go ahead and run the mysql commands to create and drop the database. I did find something that we can test if the create fails.

        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!

        T 1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by

          @TurkTownBlue There is something terribly wrong with this installation.

          Please run mount and post the full output here.

          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

          T 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by george1421

            read only database directories and ubuntu
            ref:
            https://support.plesk.com/hc/en-us/articles/115004802373-MariaDB-does-not-start-after-upgrade-when-installation-directory-is-inside-home

            https://tom-chapman.uk/2016/09/26/mariadb-10-1-and-systemd-start-issue/

            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!

            T 1 Reply Last reply Reply Quote 0
            • T
              TurkTownBlue @george1421
              last edited by

              @TurkTownBlue

              Sudo makes no difference.

              The mysql command won’t create : Read-only file system.

              george1421G 1 Reply Last reply Reply Quote 0
              • T
                TurkTownBlue @Sebastian Roth
                last edited by

                @Sebastian-Roth said in FOG 1.5.7 install on Ubuntu 18.04.3 LTS fails at Schema install/update:

                @TurkTownBlue There is something terribly wrong with this installation.

                Please run mount and post the full output here.

                Bear with. I am logged onto the forum on a different machine. Firefox doesn’t render on the FOG device so I may be a while downloading an alternate Browser.

                1 Reply Last reply Reply Quote 0
                • george1421G
                  george1421 Moderator @TurkTownBlue
                  last edited by

                  @TurkTownBlue ok this will be the first time seeing this my self.

                  edit the following file /usr/lib/systemd/system/mariadb.service or /etc/systemd/system/mariadb.service you may need to launch the text editor as an administrator.

                  Search for a seciton that looks like thks:

                  ProtectSystem=full
                  ProtectHome=true
                  

                  Change them to this:

                  ProtectSystem=
                  ProtectHome=
                  

                  Then back to the linux command prompt and key in:

                  sudo systemctl daemon-reload
                  sudo systemctl start mariadb
                  

                  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
                  • T
                    TurkTownBlue @george1421
                    last edited by

                    @george1421

                    OK everyone. Now it refuses to download alternative browsers. Looks like my install is seriously flaky.

                    I’m going to reboot and attempt to re-install FOG.

                    george1421G 1 Reply Last reply Reply Quote 0
                    • george1421G
                      george1421 Moderator @TurkTownBlue
                      last edited by

                      @TurkTownBlue Sounds like a good next step.

                      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!

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        TurkTownBlue @george1421
                        last edited by

                        @george1421
                        It was worse than i thought.

                        Ubuntu wouldn’t start so it looks like a complete refresh 😞

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

                        133

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project