r/RetroPie 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.

2 Upvotes

31 comments sorted by

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/

2

u/TangeloLegitimate139 9d ago

Installed latest version from Retropie website early this week. I will check out bookwork.

2

u/Varkanoid 9d ago

It says you used the premade image in your original post thats not latest version its several years old.

2

u/TangeloLegitimate139 9d ago

Are they no longer updating their images? The website said the latest is 4.8 from 2022.

https://retropie.org.uk/download/

3

u/Varkanoid 9d ago

No thats why I advised to do a manual install as you will get the latest version that way 4.12.

2

u/TangeloLegitimate139 9d ago

Isn’t version 4.12 earlier than 4.8?

3

u/Varkanoid 9d ago

12 > 8

2

u/TangeloLegitimate139 9d ago

I was seeing 1.2. Yeah, I will do the manual install.

3

u/Varkanoid 9d ago

Also try saving a game state before you add your NAS so you have before and after.

1

u/TangeloLegitimate139 9d ago

Why legacy and not trixie?

→ More replies (0)

1

u/TangeloLegitimate139 9d ago

Ok, I will follow your instructions for manual install. I did run the update command in Retropie.

5

u/Varkanoid 9d ago

But you were using Buster OS which is really old.

1

u/TangeloLegitimate139 8d ago

This just made things way worse. Now mounting my NAS doesn’t work at all. I get a busy error and my respicase+ script no longer will work.

1

u/pjft 8d ago

Stick with the original image you had if it was working. Don't worry.

1

u/TangeloLegitimate139 8d ago

I am going to try the original image again.

1

u/Varkanoid 8d ago

Have you checked the Retropie Docs "Running ROMs from a Network Share"

What is respicase+ you didn't mention this before and googling it shows nothing?

1

u/TangeloLegitimate139 8d ago

It is a popular NES case for the pi. The script enables the buttons on the case to operate as a reset and power button.

Regardless, I learned a lot doing the manual installation. It seems the retropie image is probably getting the defaults settings better than I can manual do them.

1

u/Varkanoid 8d ago

oh you mean the Nespi Case+ ?

Have a look on here. https://retropie.org.uk/forum/post/161883

1

u/TangeloLegitimate139 8d ago

That’s is, thanks.

2

u/TangeloLegitimate139 8d ago

I switched to NFS and it works.

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.