• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Tom Elliott
    • Profile
    • Following 27
    • Followers 83
    • Topics 117
    • Posts 19,088
    • Groups 0

    Tom Elliott

    @Tom Elliott

    5.1k
    Reputation
    39.0k
    Profile views
    19.1k
    Posts
    83
    Followers
    27
    Following
    Joined
    Last Online

    Tom Elliott Unfollow Follow

    Best posts made by Tom Elliott

    • Gratitudes

      I know I’ve been out of this for a little bit. I check in here or there, but just been extremely busy.

      I don’t want to stop contributing, I just am taking time for myself after my workly duties.

      I have to give a big gratitude and thanks for everyone here trying to help out whether by code, by helping the rest of the community, or documentation.

      @Sebastian-Roth I know you’re busy but you’ve kept the project rolling even with the minimal availability you have. Thank you.
      @george1421 I’m sure you’re busy, but I still see you posting and helping where possible and amenible. Thank you.
      @Wayne-Workman I know you’re helping where you can as well. (Of course I can’t exactly post everybody because I’ve been busy and honestly not keeping up with the forums as much as I probably should.)

      @everyone Thank you. Thank you for still believing in this project. We’re doing the best with what we have. Please understand in we’re lacking, it’s most likely unintentional. I know I’m just busy.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.3.5 and Client 0.11.11 Officially Released

      https://news.fogproject.org/fog-1-3-5-and-client-0-11-11-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.0 RC 11

      https://news.fogproject.org/fog-1-5-0-rc-11/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • Ubuntu is FOG's enemy

      TLDR; Rerun the fog installer if you have lost “Database Connectivity” to your fog server, or run the ALTER USER syntax shown below.

      So Ubuntu 16, among others I suppose, enable a “security updates” to be applied automatically as a “default” to things. Why, well it makes it simpler to ensure your Ubuntu systems are in compliance and patched for any potential exploits. This causes unknown and unexpected issues.

      I figured it’d be a safe thing to express that there could be problems (as many of you have already experienced) that when these updates go up (with or without your knowledge) it can break functionality in unexpected and inopportune ways.

      The quickest fix is to simply rerun the fog installer which should correct the problem.

      As a note, it seems this problem is specific only when the mysql account is the 'root' user AND the password is blank.

      The “fix” if you must do it manually is to open a terminal and obtain root:
      Super (Windows Key) + T then sudo -i (in most cases).

      From there, open mysql with mysql -u root

      NOTE: MySQL MUST be run with ROOT.

      Run:

      ALTER USER 'root'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY ''; AND
      ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '';

      It’s okay if one of them fails. This is going to fix Most people’s issues.

      I would highly recommend removing the unattended-upgrades as many of these “sudden” issues came as a security patch ubuntu pushed out. By default Ubuntu typically set’s this for you as enabled and it can cause havoc on you as you (the admin) may not have “done” anything.

      To prevent this problem from happening in the future you could run:

      apt-get -y remove unattended-upgrades (AS Root again).

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG Activity - Status

      FOG is still actively being developed. It’s not necessarily readily apparent, but we can assure you things are still being worked on. These updates may not be communicated in a way that everybody just knows, but can easily be seen if one were to look at our repository site.

      Between our own schedules and lives, we can get very busy. We try to keep things updated and help out on the forums even during lull periods. This might mean we aren’t pushing an RC or release as frequently. It may mean we’re working on other things for the project, such as can be seen if looking at our github site.

      Our forums are heavily active, and this should point as an indicator to our “status” as well.

      If anybody would like to see an increase in developers donating their time to making this free software, consider donating either with monetary support or by spending personal time to help with development.

      FOG is an open source project - it’s even in the name. It is driven by people donating their time and resources. The releases of FOG revolve around when developers can spare a few hours throughout the week. Sometimes that will mean releases will be further, sometimes that will mean releases will be faster. That’s just the nature of our project, and many other open source projects.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • I'm away, but back?

      Hey everybody,

      I know you see me here on occasion from time to time. Life decisions have made it more difficult for me to do things I would normally be doing. Rest assured, I am still around, and while I’m not quite as active as I was in the past, it’s not because I don’t want to be.

      I had to move, and as part of that I have none of my normal development stuff readily available. Part of the move made me not have a laptop, until today.

      I need to setup my dev environment again, so it may take a little bit, but I will be back up.

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.5.10.41 and forward

      https://news.fogproject.org/fog-1-5-10-41-officially-released/

      While this maybe spur of the moment, it should officially release 1.5.10 with all relevant bug/security fixes encapsulated (among a few other features.)

      This has brought a new methodology of releases in that bug/security releases should be done much more regularly.

      dev-branch, historically, was a place where new development occurred (hence its name) but over the last couple of years or so it’s mainly been a bug/security thing, not really a true development approach.

      This is OKAY, in my head. Why:

      Well we have the master branch which is the ‘baseline’ of a verions. We have the dev-branch, which allows us to work on bugs/security issues. We have the working branches for what will eventually become master. Working is our “dev branch” but keeps proper seperation of things in my opinion.

      Basically:
      master -> basis for dev-branch (which merges into stable on a regular cadence - still being worked out)
      working -> basis of forward development

      So we effectively have:
      production
      staging
      development well seperated.

      THis may mean on the regular automated releases, no announcement or news article will be created, and I think that’s okay.

      Hopefully exciting we have a release after 1.25 years 🙂

      Thank you!

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • RE: Release plan for FOG

      That’s correct. The main reason fog is constantly moving forward is because the codebase is improved upon. Major bugs tend to be addressed for the next release. We don’t do an LTS because there’s really two main people working on fog in a consistent manor. Those two are @Joe-Schmitt and myself. Debian and Libreoffice have the team too be able to perform such a feat. Their product is Opensource but they have an employment team which can afford them that luxury. FOG has a team but we make no money and as such are required to work full time jobs. We work on FOG in our free time. I’ve had the ability to even work on it from work because we used the software.

      Maintaining many different versions is difficult. And we don’t have a support team. WYSIWYG and I think we’ve done pretty well on support, even if we don’t have the ability to do dedicated support for our product. 1.5 was a major step toward modernizing the GUI. 1.6 will vastly improve on this. It was only recently we kind of came up with a road map on how best to proceed. Of note, 1.5 will be maintained until 1.6 is released. 1.6 is focused on making he GUI much more modern. 1.7 will be focused mostly toward fixing and refactoring the FOG client. 1.8 will focus on making the FOS system more modular and usable. I don’t know yet for 1.9. 2.0 will bridge the gap for our rewrite based on the work from 1.5 and up. While we do plan to try to do backports where possible, it’s much easier to ask people to update to the latest version than it is to try to maintain many different versions with backports in mind. At least for what FOG does.

      I doubt this will appease anybody, but it’s what I think needs to be said. We are working hard and provide support for our product as best we can. The community makes fogs support system, I think, one of the best around. Add to that and you can almost always have a developer working side by side to help and fix issues as they come up, I don’t think it’s unfair to ask users to update to a specific version. Even if there are bugs, we will always try to correct what we can, when we can. (And normally it’s a pretty quick turn around).

      I’m not perfect and I’ll give you that. We don’t even have a test suite to know if things are working as intended. We have to rely on the community and suggestions are great, just understand our answers won’t always be what people want to hear.

      posted in Feature Request
      Tom ElliottT
      Tom Elliott
    • FOG 1.4.0 Officially Released

      https://news.fogproject.org/fog-1-4-0-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott
    • FOG 1.4.4 Officially Released

      https://news.fogproject.org/fog-1-4-4-officially-released/

      posted in Announcements
      Tom ElliottT
      Tom Elliott

    Latest posts made by Tom Elliott

    • RE: Storage node availability check ignores `FOG_SSH_PORT` (hardcoded port 22)

      @Lucas26 Thanks for letting us know and should be fixed in the latest.

      Also found a similar class of bug for FTP ports and we are porting the FTP side to dev-branch as we speak.

      Please let us know if this is working now?

      posted in Bug Reports
      Tom ElliottT
      Tom Elliott
    • RE: 1.6 Database update issue

      @toschulz So I suspect the problem is due to a divergence of db schema between dev-branch/stable + working-1.6

      If you can update yoru Mysql directly:

      sudo mariadb -u root fog (if no root password of course - if you have a root password add -p

      UPDATE schemaVersion SET vVersion=0;

      Then refresh your screen, click the install/update, and hopefully the error will go away.

      The way the schema is configured is it will attempt (idempotently) to rerun every single SQL query in the schema chain.

      This should fix the problem you’re seeing.

      I believe there’s a column on the login history piece being requested that may just simply be missing which would cause the issue with datatables.

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Surface Laptop 7th Edition - PXE loads and then immediately reboot's

      @csurepair Have you tried one of the expermental (recent) kernels?

      They’re using 6.18 and use a lot more stuffs that might help you.

      posted in Hardware Compatibility
      Tom ElliottT
      Tom Elliott
    • RE: 1.6 Database update issue

      Is this preventing things from working in the UI?

      What version of 1.6 are you running (should tell you exactly at the bottom right of the UI)

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd Try another git pull please then try install again?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd IS your fog server actually having issues now?

      I know you have the schema testing stuffs, but that was less important.

      it seems you have a database and all that jazz

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd IT’s likely the \ character in the line that casued the error you saw.
      Either way it seems like it’s working now?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd Simply put:

      Please try a repull and install:

      cd /root/fogproject
      git pull
      cd bin
      sudo ./installfog.sh -y
      

      should work?

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd @Strahd Those logs were exactly what I needed, thank you. Two separate things going on
      and neither one is your fault.

      First, this line is your 500:

      [proxy:error] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
      [proxy_fcgi:error] AH01079: failed to make connection to backend: 127.0.0.1
      

      Apache was trying to hand PHP off on port 9000 and php-fpm wasn’t listening there yet.
      Notice apache came back up at 08:57:16 and there are no more of those errors after it.
      So before you do anything else, just reload the page:

      http://10.46.10.40/fog/management
      

      There’s a decent chance it works now.

      Second, “Updating Database…Failed!” is the part I still need to see. That curl’s
      output goes into the install log, so please post:

      sudo grep -A5 -i "schema\|Updating Database" /root/fogproject/bin/error_logs/fog_error_1.6.0-beta.3050.log | tail -60
      

      That’ll tell me why the schema update itself came back an error, which is the last piece.

      Third - you found a real bug. On 1.6 the schema page makes you log in first, but the
      login reads a database column that doesn’t exist until the schema update runs. So it
      asks you to sign in, sign in can’t work, and there’s no way out. That hits everyone
      upgrading from any released FOG, not just you. I’ve fixed it and pushed it, tracked in
      #927.

      If the page is still dead, here’s the manual way to force the database update. Get your
      token:

      sudo grep FOG_SCHEMA_INSTALL_TOKEN /var/www/html/fog/lib/fog/config.class.php
      

      Then paste it into this:

      sudo curl -X POST -H "X-Fog-Install-Token: PASTE_TOKEN_HERE" -d "schemaupdate=1" \
        "http://10.46.10.40/fog/management/index.php?node=schema"
      

      You want to see:

      {"msg":"Schema updated successfully!","title":"Schema Update Success"}
      

      I tested that against a real 1.5.9 database on PHP 7.4 here, it works.

      And to put your mind at ease - none of this touches /images or your tftpboot files. You
      are not going to lose your images over this, so please don’t rebuild the box yet.

      One last thing. Your install log still had these:

      ln: failed to create symbolic link '/lib/systemd/system/mysql.service': File exists
      

      I fixed those on the 27th and the current code can’t print them anymore, so I don’t think
      your checkout took. Run this and show me what it says:

      cd /root/fogproject
      git rev-parse --abbrev-ref HEAD
      git log -1 --oneline
      

      Thanks for sticking with this one. You’ve found two real bugs so far

      posted in FOG Problems
      Tom ElliottT
      Tom Elliott
    • RE: Upgraded from FOG 1.5.9 to 1.5.10.1903 and having issues

      @Strahd Do this:

      cd /root/fogproject
      git checkout working-1.6
      git pull
      cd bin
      sudo ./installfog.sh -y
      
      posted in FOG Problems
      Tom ElliottT
      Tom Elliott