Coder Social home page Coder Social logo

Comments (7)

TheRemote avatar TheRemote commented on June 13, 2024

I've only seen this when people try to enter a custom path such as /home/pi/minecraft when running the installer and not leaving it as the default (~). You're basically specifying a installation folder instead of the root folder (it will create the folder structure itself).

Can you confirm this is the case? I would just run SetupMinecraft.sh again and leave the default installation path (~). I resisted adding this feature for this reason and I am heavily leaning toward turning it to where you have to do a manual override similar to changing the version to an older one to even see it. I've tried strongly enhancing the messages to warn that almost everyone should leave it alone but I still believe it continues to happen far more than the people who are actually installing to another drive or anything like that.

That should take care of it!

from raspberrypiminecraft.

Bweingart67 avatar Bweingart67 commented on June 13, 2024

from raspberrypiminecraft.

TheRemote avatar TheRemote commented on June 13, 2024

The files appear to be physically missing. This is quite strange. I'd run SetupMinecraft.sh again on it but I almost wonder if the drive needs an fsck or there's some sort of corrupt partition at play here.

What is in the minecraft folder? start.sh isn't, but what is in there if you look?

The only time I've ever seen this happen are either corrupt disks or the issue I mentioned earlier (you chose the default so it can't be this one). That doesn't mean something else couldn't be going on, just that I've never seen it happen otherwise so far (I know better than to say it's impossible!).

from raspberrypiminecraft.

Bweingart67 avatar Bweingart67 commented on June 13, 2024

from raspberrypiminecraft.

TheRemote avatar TheRemote commented on June 13, 2024

Sounds good, I'll keep an eye on this thread today. Running SetupMinecraft.sh again should safely replace the files but if it's the disk partition / fsck issues then the problem tends to just "move" somewhere else (start.sh won't be missing, but something else will go missing depending on where the files get extracted when you install and which one/ones goes into the "bad" area).

The installation path issue I was talking about earlier happens when specifying a full installation folder path. Basically it ends up being a "layer" off where it's supposed to be when people specify the full installation path instead of the root directory. This would cause files like start.sh to get pruned by the backup pruning (keeps the most recent 10 backups). That's the only time the script ever removes files from the device so if it isn't that then I'm very puzzled.

You may be able to just run a general fsck on the pi. I think sudo touch /forcefsck works on the Pi followed by a reboot or it's even better if you can plug it into a Linux device you can run fsck on when the partitions aren't mounted.

I haven't had a lot of luck with users who get this having the fsck fix issues like this and most of them ended up just reimaging it again with the latest Pi OS and didn't have trouble after that (in rare cases the disk was actually bad, but most of the time it's just corrupted and nothing is physically wrong with the SD card or SSD.

This happens very easily if the Pi loses power during a disk write which the Pi definitely tends to more than PCs. The same thing happens on both PC Linux and Windows where you get the blue "Checking Disk" screen and if it can't fix it you get to reinstall or do a repair. It's so common for it to get accidentally unplugged without shutting down since it's so small and can fit anywhere. Linux is far more forgiving to the disk state and as long as the OS files are intact it will work with a corrupt disk/partition whereas Windows tends to refuse to even start up if one thing it is expecting isn't right.

We definitely need to find out what is going on. It may be worth testing to see if they disappear again. It's definitely a mystery so far to me though but we can also check places like the logs folder to see if that gives any hints!

from raspberrypiminecraft.

Bweingart67 avatar Bweingart67 commented on June 13, 2024

from raspberrypiminecraft.

TheRemote avatar TheRemote commented on June 13, 2024

No problem at all! I'm glad you've solved it. Take care!

from raspberrypiminecraft.

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.