Giter Site home page Giter Site logo

/opt/Gooby gone about gooby HOT 11 CLOSED

techperplexed avatar techperplexed commented on May 21, 2024
/opt/Gooby gone

from gooby.

Comments (11)

HitsvilleUK avatar HitsvilleUK commented on May 21, 2024 1

"Seems others don't have the problem"
Oh dear, they do now. :-(
I just set up one of the German servers and Opt/Gooby is gone on each and every reboot.

from gooby.

deedeefink avatar deedeefink commented on May 21, 2024 1

Nope, I got the newest version using the snippets above and I still have my folder :-) It just happened one time

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Oh that is odd.... does it only happen after a reboot (not after a manual system clean)? Is it random or does it follow a pattern? I just rebooted and unfortunately I can't reproduce this....... mine came back just fine.

So the rest of the cron goes through all right? Mount coming back, services started, containers working?

from gooby.

Coxeroni avatar Coxeroni commented on May 21, 2024

To be honest I don't know what causes it and when, just saw that rclean does something like that.
I also had some issues with the mounts not coming up and reboots took several minutes. The problem with the mounts was also caused by changes in some of the scripts which were obviously automatically updated but caused trouble. I know this is all very unspecific and probably doesn't help, but acutally I don't know what does what and when so I cannot pin point where to problem is ;)

Did I get that right, that in principle the script deletes itself and if the clone from GitHub fails rclean is not present to be run at reboot anymore and so Gooby won't be present unless installed by hand?

Btw I disabled rclean in cron as a temporary fix and I just run some of the commands by hand if needed.

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Yes, that is correct - the script will update Gooby and in order to do so, GitHub needs to delete the folder altogether and recreate it. You could change the script not to update Gooby and leave the cron as is... in some ways the cron is necessary to make sure everything comes up in the right order (mount first, containers, next, etc).

You can just edit the file sudo nano /opt/Gooby/scripts/cron/rclean.sh and comment out the relevant lines like this:

# sudo rm -r /opt/Gooby
# sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby 
# sudo chmod +x -R /opt/Gooby/install
# sudo chmod +x -R /opt/Gooby/menus
# sudo chmod +x -R /opt/Gooby/scripts/cron
# sudo rsync -a /opt/Gooby/install/gooby /bin
# sudo chmod 755 /bin/gooby

That way Gooby only updates when you run the update function from the menu :)

from gooby.

Coxeroni avatar Coxeroni commented on May 21, 2024

Good idea, that change I would need to perform again after the update though, but I that sounds doable. Still, I would want to know what goes wrong in the first place...

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Oh gosh yes, me too!! I haven't heard anyone complain about it though, so I'll leave this open for a few days to see if others chime in having the same problem (or not). It's difficult to troubleshoot what you can't reproduce at all....

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Seems others don't have the problem Coxeroni, and in the past few days I have been rebooting at least a million times (ok, maybe not quite THAT often, but it feels like it...) and it came back each and every time. I will close it for now and hope you find out what's causing yours to misbehave! Of course you can always add more information to this thread, it won't be locked :)

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Ha! Ok, for the time being I have disabled the automatic upgrade process (please update Gooby to trigger the update) :)

Working on a failsafe system to update the menu reliably - to be continued!

from gooby.

deedeefink avatar deedeefink commented on May 21, 2024

Same just happened to me :-(

from gooby.

TechPerplexed avatar TechPerplexed commented on May 21, 2024

Hmm, that's even stranger... because I disabled the automatic update for now. Please reinstall

sudo git clone -b master https://github.com/TechPerplexed/Gooby /opt/Gooby
sudo chmod +x -R /opt/Gooby/install
sudo chmod +x -R /opt/Gooby/menus
sudo chmod +x -R /opt/Gooby/scripts/cron
sudo rsync -a /opt/Gooby/install/gooby /bin
sudo chmod 755 /bin/gooby

And then run a system clean and/or reboot. Does it still happen??

from gooby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.