INTERACT FORUM
Linux => JRiver Media Center 32 for Linux => Topic started by: MonMul on June 17, 2024, 04:47:30 am
-
I have downloaded 32.0.53 on to my raspberry pi 3. Previous to this, I was running version Media Center 24 for many years satisfactorily. The download seemed to go well but just at the end I had message which said that one file had not installed and that there was more information in the detailed report.....My question is where can I find the detailed report and how do I fix the situation?
-
This thread may help: https://yabb.jriver.com/interact/index.php/topic,137904.msg959491.html#msg959491
-
Thanks for the link, but I cannot see anything there that might help me find our where the report on the file, which would not install, can be found.
-
If installing from the terminal what error exactly do you see?
-
I have downloaded 32.0.53 on to my raspberry pi 3. Previous to this, I was running version Media Center 24 for many years satisfactorily. The download seemed to go well but just at the end I had message which said that one file had not installed and that there was more information in the detailed report.....My question is where can I find the detailed report and how do I fix the situation?
You can see debug output by running `./installJRMC --debug`. Which distribution and version are you using?
-
"If installing from the terminal what error exactly do you see?"
musicpi@raspberrypi:~/Downloads $ sudo dpkg -i MediaCenter-32.0.53-armhf.deb
(Reading database ... 101774 files and directories currently installed.)
Preparing to unpack MediaCenter-32.0.53-armhf.deb ...
Unpacking mediacenter32:armhf (32.0.53-armhf) ...
dpkg-deb (subprocess): decompressing archive 'MediaCenter-32.0.53-armhf.deb' (size=45852560) member 'data.tar': lzma error: compressed data is corrupt
dpkg-deb: error: <decompress> subprocess returned error exit status 2
dpkg: error processing archive MediaCenter-32.0.53-armhf.deb (--install):
cannot copy extracted data for './usr/bin/mediacenter32' to '/usr/bin/mediacenter32.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
MediaCenter-32.0.53-armhf.deb
-
You can see debug output by running `./installJRMC --debug`. Which distribution and version are you using?
Debian GNU/Linux 11 (bullseye)
-
You can see debug output by running `./installJRMC --debug`. Which distribution and version are you using?
musicpi@raspberrypi:~/Downloads $ ./install MediaCenter-32.0.53-armhf.deb -debug
bash: ./install: No such file or directory
musicpi@raspberrypi:~/Downloads $ sudo dpkg -i MediaCenter-32.0.53-armhf.deb -debug
dpkg: error: cannot access archive '-debug': No such file or directory
musicpi@raspberrypi:~/Downloads $ ./installMediaCenter-32.0.53-armhf.deb -debug
bash: ./installMediaCenter-32.0.53-armhf.deb: No such file or directory
musicpi@raspberrypi:~/Downloads $ ./installJRMC -debug
bash: ./installJRMC: No such file or directory
musicpi@raspberrypi:~/Downloads $
-
OK, wasn't sure if you were using native tools or my script.
It looks like your downloaded DEB file is possibly corrupt so you should try redownloading it.
-
OK, wasn't sure if you were using native tools or my script.
It looks like your downloaded DEB file is possibly corrupt so you should try redownloading it.
See screenshot attached.....downloaded again...and got the same result!
-
You should probably use the installJRMC script instead of trying to manually install the .deb file in this case.
-
sudo dpkg -i MediaCenter-32.0.53-armhf.deb -debug
Don't add that switch to dpkg.
Also what architecture are you using?
cat /proc/version
-
You should probably use the installJRMC script instead of trying to manually install the .deb file in this case.
Thank you for that suggestion, where will I find this script?
-
sudo dpkg -i MediaCenter-32.0.53-armhf.deb -debug
Don't add that switch to dpkg.
Also what architecture are you using?
cat /proc/version
'
musicpi@raspberrypi:~/Downloads $ sudo dpkg -i MediaCenter-32.0.53-armhf.deb
(Reading database ... 106205 files and directories currently installed.)
Preparing to unpack MediaCenter-32.0.53-armhf.deb ...
Unpacking mediacenter32:armhf (32.0.53-armhf) over (32.0.53-armhf) ...
dpkg: dependency problems prevent configuration of mediacenter32:armhf:
mediacenter32:armhf depends on python (>= 2.7) | python2 (>= 2.7) | python3.
dpkg: error processing package mediacenter32:armhf (--install):
dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for shared-mime-info (2.0-1) ...
Errors were encountered while processing:
mediacenter32:armhf
musicpi@raspberrypi:~/Downloads $ cat /proc/version
Linux version 6.1.21-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023
musicpi@raspberrypi:~/Downloads $
"
-
You're trying to use the 32-bit armhf build on a 64-bit arm64 (aarch64) OS, which won't work unless multiarch support is enabled, which I would not recommend doing. Instead just download and use the arm64 build of MC32, which should then install and work fine. Make sure you uninstall the partially installed armhf version first (sudo apt remove mediacenter32:armhf).
-
You're trying to use the 32-bit armhf build on a 64-bit arm64 (aarch64) OS, which won't work unless multiarch support is enabled, which I would not recommend doing. Instead just download and use the arm64 build of MC32, which should then install and work fine. Make sure you uninstall the partially installed armhf version first (sudo apt remove mediacenter32:armhf).
Thank you for that suggestion, but I am afraid that did not work either! See attached screenshot.
-
Do a sudo apt-get install -f or sudo apt install vulkan-icd and that should install the dependency then try the install again.
-
Do a sudo apt-get install -f or sudo apt install vulkan-icd and that should install the dependency then try the install again.
Thank you, that worked with no errors!
-
Thank you, that worked with no errors!
Now ,I have two media centers on here MC 24 and MC 32....both working....I want to keep MC 24 for the time being ...just in case MC 32 has any problems. I cannot seem to find a StartUp Appliactions App on the RPi where I can switch from MC 24 to MC 32 as the start up option. What am I missing please?
-
Open MC24, go to MC24's Tools menu and select Options. In the Options window go to the Startup section and under Linux Startup if it Run on Linux startup: says Media Center, Media Server or Media Center and Media Server select Nothing then hit OK on the Options window then close MC24 and that should stop it from autostarting. If it already says nothing but it's autostarting try setting it to Media Center and press OK on the Options window then reopen the Options window and go back and set it to Nothing.
-
Now ,I have two media centers on here MC 24 and MC 32....both working....I want to keep MC 24 for the time being ...just in case MC 32 has any problems. I cannot seem to find a StartUp Appliactions App on the RPi where I can switch from MC 24 to MC 32 as the start up option. What am I missing please?
Ah! found it under .config/autostart
-
Open MC24, go to MC24's Tools menu and select Options. In the Options window go to the Startup section and under Linux Startup if it Run on Linux startup: says Media Center, Media Server or Media Center and Media Server select Nothing then hit OK on the Options window then close MC24 and that should stop it from autostarting. If it already says nothing but it's autostarting try setting it to Media Center and press OK on the Options window then reopen the Options window and go back and set it to Nothing.
Thank you so much for all your help, it is much appreciated....keep up the good work!
-
Thank you so much for all your help, it is much appreciated....keep up the good work!
OK, I seemed to have it all set up and running (as per MC24), I can see all the songs and the lists....but the darn thing will not play anything...it just refuses to play! I have tried with the hard disk connected directly to the RPi and with it connected through a powered hub. Through the hub I got one song from the playlist and then it would not play anymore....though I could see the songs etc....it just would not play! What am I missing please?
-
OK, I seemed to have it all set up and running (as per MC24), I can see all the songs and the lists....but the darn thing will not play anything...it just refuses to play! I have tried with the hard disk connected directly to the RPi and with it connected through a powered hub. Through the hub I got one song from the playlist and then it would not play anymore....though I could see the songs etc....it just would not play! What am I missing please?
So for example in the screenshot....despite clicking on play all...it only played the one piece and then stopped.....I must be doing something wrong....but this worked on MC 24!!
-
I would check that your library entries are pointing at the correct file location on your disk and that you have selected a proper Audio Output in the settings.
-
Open MC24, go to MC24's Tools menu and select Options. In the Options window go to the Startup section and under Linux Startup if it Run on Linux startup: says Media Center, Media Server or Media Center and Media Server select Nothing then hit OK on the Options window then close MC24 and that should stop it from autostarting. If it already says nothing but it's autostarting try setting it to Media Center and press OK on the Options window then reopen the Options window and go back and set it to Nothing.
It appears, Awesome Donkey. that we have been down this path before....(see my latest posting on not being able to play any music).....https://yabb.jriver.com/interact/index.php/topic,118444.msg819447.html#msg819447
I am sure I took your advice then (6 years ago) and made a back up disk.....but I have no idea where to even start looking for it.
As I have the same sort of problem now, I guess the answer is to reformulate the sd, download MC again, and compile the library once more.....unless you have any further advice. The sd does not seem to be corrupted as far as I can tell....and I do have a back up somewhere of the library. Awaiting your very useful input (as always) before going down this road. Thank you for all your help over the years.
-
I would check that your library entries are pointing at the correct file location on your disk and that you have selected a proper Audio Output in the settings.
Yes that seems to be a problem, thank you for the pointer; as, when I try to play something directly from the Media Centre on the RPI I get the message "Check the filename in the library matches the filename on the disk". I am really not sure what this exactly means and how I go about doing that?
-
I would check that your library entries are pointing at the correct file location on your disk and that you have selected a proper Audio Output in the settings.
See attached
-
See attached
Is /media/musicpi/Jukebox1 mounted? Either it's not or it's not for the user you are running MC under.
From a terminal under the user running MC do:
mount | grep musicpi
report results.
-
Is /media/musicpi/Jukebox1 mounted? Either it's not or it's not for the user you are running MC under.
From a terminal under the user running MC do:
mount | grep musicpi
report results.
musicpi@raspberrypi:~ $ mount | grep musicpi
/dev/sda on /media/musicpi/JukeBox11 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
musicpi@raspberrypi:~ $
-
musicpi@raspberrypi:~ $ mount | grep musicpi
/dev/sda on /media/musicpi/JukeBox11 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
musicpi@raspberrypi:~ $
I assume JukeBox11 above is a typo and you meant JukeBox1?
At any rate it looks like it is mounted as the root user.
Since it's an ext4 filesystem you need to change the permissions on mount (and files) to make it readable/writeable as the user or group MC is running under.
What does
ls -l /media/musicpi/JukeBox1
show?
What user are you running MC under (don't use root or sudo).
-
I assume JukeBox11 above is a typo and you meant JukeBox1?
At any rate it looks like it is mounted as the root user.
Since it's an ext4 filesystem you need to change the permissions on mount (and files) to make it readable/writeable as the user or group MC is running under.
What does
ls -l /media/musicpi/JukeBox1
show?
What user are you running MC under (don't use root or sudo).
musicpi@raspberrypi:~ $ ls -l /media/musicpi/JukeBox1
ls: cannot open directory '/media/musicpi/JukeBox1': Permission denied
musicpi@raspberrypi:~ $ whoami
musicpi
musicpi@raspberrypi:~ $
I just ran it again.....apparently it is not a typo....I am totally mystified as to how this might have happened. How do I correct this please!
musicpi@raspberrypi:~ $ mount | grep musicpi
/dev/sdb on /media/musicpi/JukeBox11 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
musicpi@raspberrypi:~ $
musicpi@raspberrypi:~ $ ls -l /media/musicpi
total 8
drwx------ 2 root root 4096 May 8 11:17 JukeBox1
drwxr-xr-x 28 musicpi musicpi 4096 Nov 21 2022 JukeBox11
musicpi@raspberrypi:~ $ cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=c944c51e-01 /boot vfat defaults 0 2
PARTUUID=c944c51e-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
musicpi@raspberrypi:~ $
-
musicpi@raspberrypi:~ $ ls -l /media/musicpi/JukeBox1
ls: cannot open directory '/media/musicpi/JukeBox1': Permission denied
musicpi@raspberrypi:~ $ whoami
musicpi
musicpi@raspberrypi:~ $
I just ran it again.....apparently it is not a typo....I am totally mystified as to how this might have happened. How do I correct this please!
musicpi@raspberrypi:~ $ mount | grep musicpi
/dev/sdb on /media/musicpi/JukeBox11 type ext4 (rw,nosuid,nodev,relatime,errors=remount-ro,uhelper=udisks2)
musicpi@raspberrypi:~ $
musicpi@raspberrypi:~ $ ls -l /media/musicpi
total 8
drwx------ 2 root root 4096 May 8 11:17 JukeBox1
drwxr-xr-x 28 musicpi musicpi 4096 Nov 21 2022 JukeBox11
musicpi@raspberrypi:~ $ cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=c944c51e-01 /boot vfat defaults 0 2
PARTUUID=c944c51e-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
musicpi@raspberrypi:~ $
-
Your 2 screen shots doesn't really line up.
Your external drive is apparently mounted on JukeBox11 not JukeBox1
Do a
ls -l /media/musicpi/JukeBox11
and
sudo ls -l /media/musicpi/JukeBox1
and
sudo blkid
-
Your 2 screen shots doesn't really line up.
Your external drive is apparently mounted on JukeBox11 not JukeBox1
Do a
ls -l /media/musicpi/JukeBox11
and
sudo ls -l /media/musicpi/JukeBox1
and
sudo blkid
Something distinctly weird is indeed going on....I have no idea where the JukeBox11 came from...least, I don't remember!!
musicpi@raspberrypi:~ $ ls -l /media/musicpi/JukeBox11
total 112
drwxrwxrwx 126 musicpi musicpi 4096 Aug 19 2021 Blues
drwxrwxrwx 3 musicpi musicpi 4096 Sep 23 2011 Chinese
drwxrwxrwx 55 musicpi musicpi 4096 Apr 1 2017 'Classical Various'
drwxrwxrwx 43 musicpi musicpi 4096 Nov 20 2011 Country
drwxrwxrwx 3 musicpi musicpi 4096 Oct 19 2011 Economics
drwxrwxrwx 36 musicpi musicpi 4096 Jan 23 2013 'Female Singers'
drwxrwxrwx 88 musicpi musicpi 4096 Apr 1 2017 Folk
drwxrwxrwx 5 musicpi musicpi 4096 Sep 23 2011 French
drwxrwxrwx 3 musicpi musicpi 4096 Nov 20 2011 Guitars
drwxrwxrwx 30 musicpi musicpi 4096 Apr 30 2017 Irish
drwxrwxrwx 138 musicpi musicpi 12288 Nov 20 2011 Jazz
drwxrwxrwx 6 musicpi musicpi 4096 Nov 20 2011 Latin
drwxr-xr-x 2 musicpi musicpi 4096 Nov 22 2022 Library
drwxrwxrwx 12 musicpi musicpi 4096 Nov 20 2011 Musical
drwxrwxrwx 6 musicpi musicpi 4096 Nov 20 2011 'New Age'
drwxrwxrwx 3 musicpi musicpi 4096 Nov 20 2011 NZ
drwxrwxrwx 29 musicpi musicpi 4096 Aug 19 2021 Opera
drwxrwxrwx 65 musicpi musicpi 4096 Aug 19 2021 Pop
drwxrwxrwx 28 musicpi musicpi 4096 Nov 20 2011 'Punk etc'
drwxrwxrwx 9 musicpi musicpi 4096 Mar 26 2017 'Rap etc'
drwxrwxrwx 5 musicpi musicpi 4096 Nov 20 2011 Reggae
drwxrwxrwx 247 musicpi musicpi 12288 Nov 20 2011 Rock
drwxrwxrwx 73 musicpi musicpi 4096 Nov 20 2011 Soul
drwxrwxrwx 5 musicpi musicpi 4096 Aug 19 2021 Spoken
musicpi@raspberrypi:~ $ ls -l /media/musicpi/JukeBox1
ls: cannot open directory '/media/musicpi/JukeBox1': Permission denied
musicpi@raspberrypi:~ $ sudo blkid
/dev/mmcblk0p1: LABEL_FATBOOT="boot" LABEL="boot" UUID="3772-58CD" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="c944c51e-01"
/dev/mmcblk0p2: LABEL="rootfs" UUID="ee7f279a-1fe9-4c98-9f3c-83c7173683b7" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="c944c51e-02"
/dev/sda: LABEL="JukeBox1" UUID="0a9923e8-f4f1-414c-b973-3e4ff48b5644" BLOCK_SIZE="4096" TYPE="ext4"
musicpi@raspberrypi:~ $
-
Because /media/musicpi/Jukebox1 is not accessible by your unprivileged user 'musicpi' the OS or file manager is appending a 1 and mounting it to a new directory. What likely happened is that you had mounted it as root in the past and are now trying to mount as musicpi.
If you want to mount as an unprivileged user (recommended):
- Unmount the existing mount: `sudo umount /media/musicpi/JukeBox11`
- Chown the mount dir: `sudo chown musicpi:musicpi /media/musicpi/JukeBox1`
- Create an entry in /etc/fstab with the `user` option: UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0
- Remount: `mount /media/musicpi/JukeBox1`
One-liner:
sudo umount /media/musicpi/JukeBox11 && sudo chown musicpi:musicpi /media/musicpi/JukeBox1 && echo 'UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0' | sudo tee -a /etc/fstab && mount /media/musicpi/JukeBox1
-
Because /media/musicpi/Jukebox1 is not accessible by your unprivileged user 'musicpi' the OS or file manager is appending a 1 and mounting it to a new directory. What likely happened is that you had mounted it as root in the past and are now trying to mount as musicpi.
If you want to mount as an unprivileged user (recommended):
- Unmount the existing mount: `sudo umount /media/musicpi/JukeBox11`
- Chown the mount dir: `sudo chown musicpi:musicpi /media/musicpi/JukeBox1`
- Create an entry in /etc/fstab with the `user` option: UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0
- Remount: `mount /media/musicpi/Jukebox1`
One-liner:
sudo umount /media/musicpi/JukeBox11 && sudo chown musicpi:musicpi /media/musicpi/JukeBox1 && echo 'UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0' | sudo tee -a /etc/fstab && mount /media/musicpi/Jukebox1
Thank you for that......but....!!!
musicpi@raspberrypi:~ $ sudo umount /media/musicpi/JukeBox11 && sudo chown musicpi:musicpi /media/musicpi/JukeBox1 && echo 'UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0' | sudo tee -a /etc/fstab && mount /media/musicpi/Jukebox1
UUID=0a9923e8-f4f1-414c-b973-3e4ff48b5644 /media/musicpi/JukeBox1 ext4 defaults,x-systemd.device-timeout=0,nofail,user 0 0
mount: /media/musicpi/Jukebox1: can't find in /etc/fstab.
musicpi@raspberrypi:~ $
-
Oops, had a typo in the last command: `mount /media/musicpi/JukeBox1`.
No need to rerun the one-liner again, just the mount command, your /etc/fstab should be good to go.
-
Oops, had a typo in the last command: `mount /media/musicpi/JukeBox1`.
No need to rerun the one-liner again, just the mount command, your /etc/fstab should be good to go.
musicpi@raspberrypi:~ $ mount /media/musicpi/JukeBox1
mount: /media/musicpi/JukeBox1: /dev/sda already mounted on /media/musicpi/JukeBox1.
musicpi@raspberrypi:~ $
-
Hmm, that's not where it was mounted before, in any case this should fix it:
sudo umount /media/musicpi/JukeBox1 && sudo chown musicpi:musicpi /media/musicpi/JukeBox1 && sudo systemctl daemon-reload && sudo mount -a
Depending on the state of the permissions of your files in the /media/musicpi/JukeBox1 directory, you may also want to run `sudo chown musicpi:musicpi -R /media/musicpi/JukeBox1` after the disk has been mounted to set the correct user permissions so they are r/w by musicpi.
-
Oops, had a typo in the last command: `mount /media/musicpi/JukeBox1`.
No need to rerun the one-liner again, just the mount command, your /etc/fstab should be good to go.
All seems to be working properly now, thank you so much for your time and your patience....I really appreciate it! You are a star!