OMPD config edit issue

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname --all
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

Expected behaviour

Actual behaviour

Extra details

  • …When i try to edit the config file to select the music library path. folowing error iam getting,
  • Please gyide

any reason not to fill the trouble shooting template?

PFA
Dietpi Versio:G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=11
G_DIETPI_VERSION_RC=2
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’

Distro version bookworm 0
Kernel version :
Linux DietPi 6.6.74+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.74-1+rpt1 (2025-01-27) aarch64 GNU/Linux

Architecture :arm64
SBC model :RPi CM 3+ (aarch64)
Power supply: Allo Shanti :5v

try following

chown -R  www-data:www-data /var/www/ompd/

Saving settings should be possible now.

Thanks the config issue is resolve but when updating the lib getting the following error

PFA the media update options

check permissions on the folder. OPMD is based on a web server and user www-data need to be able to access your folder.

Please guide me how to check permission and also give permission to the folder

ls -la /mnt/samba

I tried it but still same permission issue

root@DietPi:~# ls -la /mnt/samba
total 4
drwxrwx--- 2 dietpi dietpi    0 Mar  6 12:33 .
drwxr-xr-x 5 root   root   4096 Mar  8 11:41 ..
drwxrwx--- 2 dietpi dietpi    0 Mar  7 14:32 ADATAHD710PRO
root@DietPi:~#

It was not supposed to fix anything. It is just to see current permissions.

Anyway, I guess you would need to add web server user into group dietpi

Please advise how to add webserver user into group dietpi

usermod -aG dietpi www-data

restart the web server afterwards