Cannot Update Main MiSTer Using Update All
-
- Top Contributor
- Posts: 860
- Joined: Wed Feb 09, 2022 11:50 pm
- Has thanked: 64 times
- Been thanked: 195 times
Re: Cannot Update Main MiSTer Using Update All
One way to fix it is to get everything moved properly to the HD. You'll have to do that manually. Another way to fix it, which would be easier but take longer, is to remake your SD card with a new image, attach your hard drive and ensure it's visible in the filesystem, and only *then* run update_all. At that point, the USB filesystem will take priority and should receive everything from update_all.
Note that you'll want to be sure to change the INI settings to be absolutely certain that update_all is downloading to the correct location before running it the first time.
I use my Mister running against an SMB3 share, so I've moved almost everything out of /media/fat into /media/fat/cifs, and manually created symlinks so that nothing gets confused. Hard links don't work across filesystems, but symlinks do.... ln -s /path/to/target /path/to/symlink.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Cannot Update Main MiSTer Using Update All
A little history:
Until fairly recently I was using the old update script as I did not like it when it came out, I just tried it once.
Some 3 months ago I decided to give it another try and as I did not want to mess up my current setting I copied everything from my work HD to a temp HD and made a new SD card. At this point, stupid of me, I ran the update script on the SD card fresh from Mr. Fusion and with no USB HD connected.
When I realized my mistake I deleted everything on the SD card which is on the USB HD, connected my USB HD, created the symlinks, ini files ... and ran again the update script which realized that thing were now on USB and tried to move things from the SD card to the USB drive, as I had deleted this stuff it failed. At this point I deleted /media/fat/Scripts/.config, which I should have done before, and ran update_all again, this time with no problem.
After testing for a while I decided to switch to the downloader on my work system. My work SD card has been in use for a very long time so I decided to redo it. This time I made sure to setup everything properly and connect the USB drive before running update_all. Since then I had no problem updating and I run the update frequently, usually as soon there is an announcement on the forum.
The problem appeared only after downloader 1.5 from 05/06 when I ran the update for MISTer main 05/17.
Re: Cannot Update Main MiSTer Using Update All
Absolutely not correct. My configuratuin was set up way before the "new" update script. There was no problem with the "old" one.
Re: Cannot Update Main MiSTer Using Update All
Not really. The downloader supports the files to be split on different volumes. There is no need to have everything either on the internal SD or the USB. The donwloader.ini is configured accordingly.
I would like to have the cores and scripts on the internal SD and the CD images and game roms on the USB.
-
- Top Contributor
- Posts: 1911
- Joined: Wed May 27, 2020 1:59 pm
- Has thanked: 145 times
- Been thanked: 454 times
Re: Cannot Update Main MiSTer Using Update All
viewtopic.php?p=54387#p54387
I should help you to figure out what to do. You can put whatever you want on the USB drive and create the symlinks accordingly. Just pay attention to mame getter and hbmame getter, you may have to create ini files for those.
-
- Top Contributor
- Posts: 1441
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: Cannot Update Main MiSTer Using Update All
This is similar to what I'm doing at the moment. The HDD has Amiga/PC/PSX/Mega & PC Engine CD stuff on it. Everything else is on the SD. I'm pretty sure I've done at least a couple of update_alls since setting that up and did not see any errors yet.
Also, I did not touch any configs or made any symlinks. I simply plugged that HDD in and renamed the corresponding /Games/ directories on the SD card so they are not recognized first anymore.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
-
- Top Contributor
- Posts: 940
- Joined: Mon Mar 01, 2021 3:10 pm
- Has thanked: 49 times
- Been thanked: 375 times
Re: Cannot Update Main MiSTer Using Update All
Renaming on the SD isnt needed, The Mister looks first on the USB HD then the SD card. So the USB HD folder overrides the SD folderakeley wrote: ↑Sun Jun 26, 2022 7:29 pmThis is similar to what I'm doing at the moment. The HDD has Amiga/PC/PSX/Mega & PC Engine CD stuff on it. Everything else is on the SD. I'm pretty sure I've done at least a couple of update_alls since setting that up and did not see any errors yet.
Also, I did not touch any configs or made any symlinks. I simply plugged that HDD in and renamed the corresponding /Games/ directories on the SD card so they are not recognized first anymore.
-
- Top Contributor
- Posts: 1441
- Joined: Mon May 25, 2020 7:54 pm
- Has thanked: 497 times
- Been thanked: 467 times
Re: Cannot Update Main MiSTer Using Update All
You're right, seems to work now just like that. So it really is just Plug'n Play.
CRT SCR$ Project - building a collection of high-quality photos of CRT displays
CRT ART Books - retro-gaming books with authentic CRT photos
-
- Posts: 7
- Joined: Sat Jan 22, 2022 5:06 pm
- Has thanked: 2 times
- Been thanked: 1 time
Re: Cannot Update Main MiSTer Using Update All
Was having the exact issue as this user with my main setup on SD and large collection on 4tb drive.. deleting the config folder and starting from scratch fixed for me.. thx!jca wrote: ↑Tue Jun 21, 2022 2:27 pm You can try to delete the /media/fat/Scripts/.config directory and run the update_all script, the script will think it has never been run and will take longer than usual but it should, hopefully, fix the problem. If not redoing the SD card will be the easiest method.
Re: Cannot Update Main MiSTer Using Update All
hello, today I received my de-10 Nano, recorded the mr-fusion-v2.7.img disk image, then inserted the memory card and turned on my mister, then I downloaded the update_all.sh script, typed F12 on the keyboard, then ran the update script .all.sh , but suddenly an error, what did I do wrong? when I try to open the WIFI script, the same error pops up.