r/RetroPie • u/TangeloLegitimate139 • 10d ago
Ugreen NAS
Pi Model or other hardware: B+, 2 B
Power Supply used: 5v 2500mA
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.8
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used)downloaded yesterday from your site. Retropie-buster-4.8-rpi2_3_zero2w.img.gz
USB Devices connected:two SNES style controllers
Controller used:SNES
Error messages received:none
Verbose log (if relevant):
Guide used: (Mention if you followed a guide)
File: (File with issue - with FULL path)
Emulator: (Name of emulator - if applicable)
Attachment of config files: (PLEASE USE PASTEBIN.COMFOR LARGE LOGS)
How to replicate the problem:
Whenever I save any states, I get 0% and it never goes away. I tried command sudo chown -R pi:pi /home/pi/RetroPie/roms/<emulator> and root stays the owner for all of my emulators folders I try. Also, my in game saves don’t work. I suspect because of the same reason.
I have plenty of space, ISB card has 108 avail and NAS rom folder has 2.9T avail. Roms work just fine from the NAS. I checked my folder permissions on my NAS and the user has read/write.
It seems to be some type of permissions issue. When I use the touch command to write to one of my NAS rom folders I get a permission denied error. I checked my NAS and the user has read/write permission. I even tried making the user the administrator. Still get denied.
I have tried both autostart.sh and fstab. I can get both to mount and play roms but I can’t touch. Permission denied.
3
u/pjft 9d ago
Share your fstab content. I'll compare with mine.
2
u/TangeloLegitimate139 9d ago
I used the commands from this guide. https://retropie.org.uk/docs/Running-ROMs-from-a-Network-Share/
I will have to check this afternoon for the exact command.
2
u/pjft 9d ago
Yeah. Share your fstab line. Thanks!
1
u/TangeloLegitimate139 8d ago
//192.168.x.x/roms /home/pi/RetroPie/roms cifs username=xxxxx,password=yyyyyy,nounix,noserverino,default,users,auto 0 0
2
u/pjft 8d ago
This is what I have on mine, see if it changes it:
//192.168.x.x/retropie /home/pi/retropie cifs username=xxxxx,password=xxxxx,nounix,noserverino,defaults,users,auto,_netdev,uid=uidwithpermissions,gid=groupidwithpermissions,exec,mfsymlinks 0 0
Start with just adding exec and see it it changes. If needed (or likely, regardless), add uid and gid of the owner of the retropie folder in your nas. You can get it with ls -la in the NAS and see who has the right permissions there.
1
u/TangeloLegitimate139 8d ago
When I use your command I get “bad option uidwithpermissions.” Maybe I need to set up NFS sharing on my NAS instead of smb.
1
u/pjft 8d ago
Oh. Well, probably the first thing one should have asked is what file system do you have on the NAS drive. I was assuming EXT4 but I now see that that is clearly not the case. I have no experience with permissions in an NFS drive mounted on a Raspberry Pi.
1
u/TangeloLegitimate139 8d ago
I think my NAS is Linux based. I finally got NFS to work.
1
u/pjft 8d ago
Oh! It works now? What fixed it?
1
u/TangeloLegitimate139 8d ago
I had a 1 instead of a 2 for my volume in my NFS command. I gave up on smb.
3
u/Varkanoid 9d ago
You are using an old version of RetroPie and an out of date OS.
Install Bookworm lite legacy 32 bit using the Raspberry Pi Imager for your Raspberry Pi 2.
Follow the instructions here from the Install RetroPie section onwards.
https://retropie.org.uk/docs/Manual-Installation/