Skyscraper cache location issue
-
Ok, so a bit of background:
I'm running on a Pi 4 model and am using a 32GB MicroSD to house the RetroPie OS. I am hosting my roms on a 500Gb external drive using USB Rom Service.
Now, I've been running Skyscraper from the RetroPie-Setup Scrip menu for a while. Everything was fine. I had it set to use the roms forlder for lists and media, which, from looking, is saving to the external drive. A couple days ago, I noticed that games were no longer scraping. Thinking it was a glitch, I tried again for a few more days (I'd just let it run overnight) and the problem persisted. So today I decided to watch it. I kept getting an error saying I ran out of disk space. That seemed super out of place given I was writing to a 500GB external drive... or so I thought. Apparently, the cache has been writing to the MicroSD the whole time. I'm not quite sure how to go about fixing this... or what's even on there (I mean, whats the in that 8GB media folder on my external drive in fba if it's saving to my SD card?).
Does anyone know how to fix this issue?
Also, as a side note: after digging around, I found the ./skyscraper folder (it isn't listed when using ls command for some reason). I tried to edit the config.ini, but it kept telling me the file is locked (I used nano and sudo nano to try and open it). I read in another thread that I can change the file path to where I want the cache to save (though I don't know linux well enough to do that accurately). And, if I do that, will the cache I currently have copy over to the external drive?
-
@raspapplepi You can move the cache location by modifying the
config.ini
, but you also have to move the cache folder ($HOME/.skyscraper/cache
) to that location manually.On Linux, the files/folders starting with
.
are hidden from folders, it's a known convention for programs to use such folders/files to keep their own data/configuration files. -
@mitu So would moving the cache to /media/usb/retropie-mount/ move the location of the files to the external drive?
Also, when trying to edit(nano) /home/pi/.skyscraper/config.ini, I get the error
"Error reading lock file /home/pi/.skyscraper/config.ini.swp: Not enough data read" -
So would moving the cache to /media/usb/retropie-mount/ move the location of the files to the external drive?
If you used the automated USB mount method in RetroPie, then yes.
"Error reading lock file /home/pi/.skyscraper/config.ini.swp: Not enough data read"
Looks like it's disc space related. Try moving the cache folder first, then edit the file.
-
@mitu Just did final test. It all worked out perfectly. Cache has been moved to the external drive using the path to retropie-mount. The only thing that was weird was after nano-ing into the config.ini, I got the same error message, even after the MicroSD was cleared of the cache. It was just a black screen with the error message at the bottom. However, after hitting ctrl + r to give a command to read a file, I just typed in config.ini into the prompt, and then the file decided to open and let me edit it. Aside from small bump, everything worked out perfectly.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.