INTERACT FORUM
More => Old Versions => JRiver Media Center 30 for Linux => Topic started by: BryanC on October 10, 2022, 03:24:46 pm
-
installJRMC
This self-contained program will install JRiver Media Center (https://www.jriver.com/) and associated services on most major Linux distros.
You can always find the latest version of installJRMC, changelog, and documentation in my repository (https://git.bryanroessler.com/bryan/installJRMC).
Major changes for MC30
- RPM packages have been renamed from MediaCenter to mediacenterXX, with XX being the major version number (i.e. mediacenter30) to improve consistency with Debian naming conventions and licensing.
- mesa-va-drivers-freeworld (RPMFusion) is installed automatically from RPMFusion on Fedora/CentOS to enable hardware acceleration.
Instructions
Download and unzip installJRMC from the attachment below or grab the latest stable version directly from my repo and execute it:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC &&
chmod +x ./installJRMC &&
./installJRMC [--option [ARGUMENT]]
Running `installJRMC` without any options will install the latest version of JRiver Media Center from the official JRiver repository (Ubuntu/Debian) or my unofficial repository (https://repos.bryanroessler.com/jriver/) (Fedora/CentOS) using the system package manager (i.e. --install repo). If any other option is passed, then the install method (--install repo or --install local) must be specified. This makes it possible to install services and containers independent of MC.
Options
$ installJRMC --help
--install, -i repo|local
repo: Install MC from repository, future updates will be handled by the system package manager
local: Build and install MC package from official source package
--build[=suse|fedora|centos]
Build RPM from source DEB but do not install
Optionally, specify a target distro for cross-building (ex. --build=suse, note the '=')
--compat
Build/install MC without minimum dependency version requirements
--mcversion VERSION
Build or install a specific MC version, ex. "30.0.72"
--arch ARCH
Specify the MC architecture, ex. "amd64", "arm64", etc (default: host architecture)
--outputdir PATH
Generate rpmbuild output in this PATH (default: ./output)
--restorefile RESTOREFILE
Restore file location for automatic license registration
--betapass PASSWORD
Enter beta team password for access to beta builds
--service, -s SERVICE
See SERVICES section below for the list of services to deploy
--service-type user|system
Starts services at boot (system) or user login (user) (default: per-service, see SERVICES)
--container, -c CONTAINER (TODO: Under construction)
See CONTAINERS section below for a list of containers to deploy
--createrepo[=suse|fedora|centos]
Build rpm, copy to webroot, and run createrepo.
Optionally, specify a target distro for non-native repo (ex. --createrepo=fedora, note the '=')
--createrepo-webroot PATH
The webroot directory to install the repo (default: /var/www/jriver/)
--createrepo-user USER
The web server user if different from the current user
--version, -v
Print this script version and exit
--debug, -d
Print debug output
--help, -h
Print help dialog and exit
--uninstall, -u
Uninstall JRiver MC, service files, and firewall rules (does not remove library or media files)
Services
jriver-mediaserver (user)
Enable and start a mediaserver systemd service (requires an existing X server)
jriver-mediacenter (user)
Enable and start a mediacenter systemd service (requires an existing X server)
jriver-x11vnc (user)
Enable and start x11vnc for the local desktop (requires an existing X server, does NOT support Wayland)
--vncpass and --display are also valid options (see below)
jriver-xvnc (system)
Enable and start a new Xvnc session running JRiver Media Center
--vncpass PASSWORD
Set vnc password for x11vnc/Xvnc access. If no password is set, the script will either use existing password stored in ~/.vnc/jrmc_passwd or use no password
--display DISPLAY
Manually specify display to use for x11vnc/Xvnc (ex. ':1')
jriver-createrepo (system)
Install hourly service to build latest MC RPM and run createrepo
By default installs as root service to handle www permissions more gracefully
By default, MC services use a sane `--service-type` listed next to the service name in the Services description. User services can be manipulated as an unprivileged user, for example: systemctl --user stop jriver-mediacenter and begin at user login. System services are manipulable as root, for example: sudo systemctl stop jriver-servicename@username.service and begin at system boot. Note that it is possible to run all services of a particular user at boot using sudo loginctl enable-linger username (https://www.freedesktop.org/software/systemd/man/loginctl.html).
Multiple services (but not --service-types) can be installed at one time using multiple --service blocks: installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter
jriver-x11vnc versus jriver-xvnc
jriver-x11vnc (http://www.karlrunge.com/x11vnc/) shares your existing X display via VNC and can be combined with additional services to start Media Center or Media Server. Conversely, jriver-xvnc (https://tigervnc.org/doc/Xvnc.html) creates a new Xvnc display and starts a JRiver Media Center service in the foreground of the new VNC display.
Containers
Coming soon!
Firewall
`installJRMC` automatically creates port forwarding firewall rules for remote access to Media Network (52100-52200/tcp, 1900/udp DLNA) and Xvnc/x11vnc (if selected), using `firewall-cmd` or `ufw`.
Note: `ufw` is not installed by default on Debian but will be installed by `installJRMC`. To prevent SSH lock-out, Debian users that have not already enabled `ufw` will need to `sudo ufw enable` after running `installJRMC` and inspecting their configuration.
Examples
installJRMC
Install the latest version of MC from the best available repository.
installJRMC --install local --compat
Install a more widely-compatible version of the latest MC version.
installJRMC --install repo --service jriver-mediacenter --service-type user
Install MC from the repository and start/enable jriver-mediacenter.service as a user service.
installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 30.0.72
Build and install an MC 30.0.72 comptability RPM locally and activate it using the /path/to/license.mjr
installJRMC --createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user
Build an RPM locally for the current distro, move it to the webroot, and run createrepo as www-user.
installJRMC --service jriver-createrepo --createrepo-webroot /srv/jriver/repo --createrepo-user www-user
Install the jriver-createrepo timer and service to build the RPM, move it to the webroot, and run createrepo as www-user hourly.
installJRMC --install repo --service jriver-x11vnc --service jriver-mediacenter --vncpass "letmein"
Install services to share the existing local desktop via VNC and automatically run MC on startup.
installJRMC --install repo --service jriver-xvnc --display ":2"
Install an Xvnc server on display ':2' that starts MC.
installJRMC --uninstall
Uninstall MC, services, and firewall rules. This will not remove your media, media library/database, or library backup folder.
Additional Info
Did you find installJRMC useful? Buy me a coffee! (https://paypal.me/bryanroessler?locale.x=en_US)
Did you find a bug? Let me know on Interact! (https://yabb.jriver.com/interact/index.php/topic,134152.0.html)
-
Thanks for this!
-
Thanks, Bryan!
-
I would also like to add my appreciation, Bryan. Thank you very much indeed. I love it when it just works 'cause I am no good at all with this.
-
Thanks for the work Bryan. mediacenter30 (installed with installJRMC master) works for me on fedora 36, gnome 42 wayland, but I have a problem. It is very slow at startup (first a black screen before a correct display): about one minute to be operational. And very unresponsive: several seconds for each click.
Compared to the mac version (I have mediacenter26), it's night and day.
Any ideas?
Thanks
-
Thanks for the work Bryan. mediacenter30 (installed with installJRMC master) works for me on fedora 36, gnome 42 wayland, but I have a problem. It is very slow at startup (first a black screen before a correct display): about one minute to be operational. And very unresponsive: several seconds for each click.
Compared to the mac version (I have mediacenter26), it's night and day.
Any ideas?
Thanks
MC for Linux is a little slower for me than on other platforms, but it shouldn't be taking a minute to launch. Try launching mediacenter30 from the command line to see if there are any errors or missing libraries. Also check your system logs (journalctl) and run a JRMark benchmark to see if there are any performance bottlenecks. You can also try clearing the library or temporarily moving "~/.jriver/Media Center 30" to make sure that there isn't an issue with your library. You'll also want to make sure that the nocow (C) attribute is set for that directory too (installJRMC should do this automatically if it detects a btrfs partition) as this can impact database performance.
Last thing I can think of is to make sure you've restored your license manually (mediacenter30 /RestoreFromFile ./MediaCenterLicense.mjr) as perhaps there is an issue with SSL certs or general connectivity during license check on startup?
-
Thanks for the answer.
I finally reinstall mediacenter30 with this command line:
installJRMC --install local --compat --restorefile /path/to/license.mjr --mcversion 30.0.17
everything is ok: speed, no latency after a click ! Nice
:D :D
-
I just released rc2 with a few notable changes/fixes. Starting X11 services in Fedora and Ubuntu has diverged so I've added a workaround for both platforms. mesa-va-drivers-freeworld is now a soft dependency in the Fedora/CentOS RPM, and installJRMC will automatically install it on those platforms using dnf swap from RPMFusion. SSL cert symlinks should be fixed as well.
-
Thank you Bryan!
-
Hello,
the rc2 version doesn't seem to work for me (OS: Buster).
./installJRMC: row 1636: exec: sudo add-apt-repository -y universe: Not found
Downloaded rc1 - run it - worked again
-
Hello,
the rc2 version doesn't seem to work for me (OS: Buster).
./installJRMC: row 1636: exec: sudo add-apt-repository -y universe: Not found
Downloaded rc1 - run it - worked again
Hmm, I cannot replicate and it shouldn't install the universe repository on Debian, only Ubuntu. Could you try running with "--debug" and posting the output?
-
Hmm, I cannot replicate and it shouldn't install the universe repository on Debian, only Ubuntu. Could you try running with "--debug" and posting the output?
I've just got the same thing Bryan
-
I've just got the same thing Bryan
First Debugging on!
Debug: Running: init
Starting installJRMC
To enable debugging output, use --debug or -d
Debug: Detected host platform: raspbian 11
Autodetecting distro, this may be unreliable and --compat may also be required
Debug: Using host platform: ubuntu 11
Debug: Running: parseInput
Debugging on
installJRMC version: 1.0-rc2
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: buildah already installed, skipping installation
Using MC version 30.0.45-armhf determined by containerized package manager.
To override, use --mcversion.
Debug: MVERSION: 30, MCVERSION: 30.0.45-armhf, MCPKG: mediacenter30, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter30-30.0.45-armhf.x86_64.rpm
Adding universe repository
Debug: sudo add-apt-repository -y universe
//home/pi/installJRMC: line 1636: exec: sudo add-apt-repository -y universe: not found
-
First Debugging on!
Debug: Running: init
Starting installJRMC
To enable debugging output, use --debug or -d
Debug: Detected host platform: raspbian 11
Autodetecting distro, this may be unreliable and --compat may also be required
Debug: Using host platform: ubuntu 11
Debug: Running: parseInput
Debugging on
installJRMC version: 1.0-rc2
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: buildah already installed, skipping installation
Using MC version 30.0.45-armhf determined by containerized package manager.
To override, use --mcversion.
Debug: MVERSION: 30, MCVERSION: 30.0.45-armhf, MCPKG: mediacenter30, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter30-30.0.45-armhf.x86_64.rpm
Adding universe repository
Debug: sudo add-apt-repository -y universe
//home/pi/installJRMC: line 1636: exec: sudo add-apt-repository -y universe: not found
armhf and amd64??
-
In rc3 I've added Raspbian detection to treat it like Debian and not Ubuntu, this should fix it for you. I've never officially tested on ARM but I've been informed it works fine.
-
In rc3 I've added Raspbian detection to treat it like Debian and not Ubuntu, this should fix it for you. I've never officially tested on ARM but I've been informed it works fine.
That's now working thanks Bryan
-
I've added rudimentary and untested Arch Linux install support in v1.0-rc4 using the --install local method. Arch is kind of a pain to setup for reproducible testing in a VM so no guarantees, good luck!
./installJRMC --install local --debug
-
You could use EndeavourOS or Manjaro as a test platform, as both use the AUR that Arch uses for apps like MC. If it works in either one, it *should* also work in Arch.
-
You could use EndeavourOS or Manjaro as a test platform, as both use the AUR that Arch uses for apps like MC. If it works in either one, it *should* also work in Arch.
Thanks, Manjaro was much less of a headache, I made a few fixes and it builds and runs now in my master branch. I will try to polish it up later.
(https://repos.bryanroessler.com/files/mWdCuCpoy8kIjfhLXkhGKudYjhWGIRSbbbBqBldU1O4xBCKmyW9S9uMldyQGEVxv/Screenshot%20from%202023-01-07%2011-46-26.png)
-
I just installed JRiver 30 on a nuc with debian 11, cf https://yabb.jriver.com/interact/index.php/topic,134152.0.html. no errors. Just want a trial version running. By starting JRiver I only get twice an empty window with ok. nothing else. Any suggestions?
-
Do you have a monitor connected to the device running MC or are you running it headless? From past experience if you're seeing only a white window that typically means the OS isn't running at a high enough color depth MC needs. If running headless MC likely needs a dummy X server installed and running.
-
Also of course don't run as root or sudo.
-
Do you have a monitor connected to the device running MC or are you running it headless? From past experience if you're seeing only a white window that typically means the OS isn't running at a high enough color depth MC needs. If running headless MC likely needs a dummy X server installed and running.
Yes a monitor, get only a small window called information, empty only the word ok
-
So what happens when you hit OK?
-
So what happens when you hit OK?
It disapears then get an other window, again ok, then It disapears and then nothing.....
-
It disapears then get an other window, again ok, then It disapears and then nothing.....
And when you restart it?
If you still get the issue maybe the skins were not copied completely on first start (that takes a bit).
try removing the
~.jriver/Media\ Center\ 30/Skins
directory and re-running MC.
Don't remove anything else.
-
jriver dir is empty
-
jriver dir is empty
That's just a screenshot of your install.
Did you do
rm -rf ~/.jriver/Media\ Center\ 30/Skins
Then re-run
mediacenter30
?
-
Also try launching MC directly from the terminal using "mediacenter30' and check output for anything interesting (missing libraries, permission errors).
-
Yes I did, rm -rf ~/.jriver/Media\ Center\ 30/Skins, though no console message, rerun, the same no change, still 2 empty windows with ok.
-
I just pushed a bunch of changes I've been working on to my master branch. There's nothing that should explicitly fix your issue, but might as well give the latest version a try to see if it helps.
I've cleaned up a lot of code in prep for the next release. Arch users should have firewall support now if they have firewalld (firewall-cmd) or ufw installed.
-
Also try launching MC directly from the terminal using "mediacenter30' and check output for anything interesting (missing libraries, permission errors).
nothing is installed in the default direcory, as I told you dir is empty. So starting from terminal just tells you that in Dutch
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Planetarium/Vertical Silliness.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Planetarium/Violent Galaxy.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Planetarium/Vortex World.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Planetarium/Wind & Light.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/America.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Black & White.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Classic.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Cover Art Spectrum.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Infinite Sandance.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Purple Dance.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Spectrum Analyzer/Stereo.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Tabby/Atomic peacock.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Tabby/Ballfly melts.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Tabby/Flowing radiants.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Tabby/Paper sparkles cvar.mjv' niet aanmaken: Bestand of map bestaat niet
cp: kan het normale bestand '/home/rob/.jriver/Media Center 30/Visualizations/Vis Studio/Tabby/Wire hybrid.mjv' niet aanmaken: Bestand of map bestaat niet -> cannot make, file or map soes not exists
-
I would start fresh, run installJRMC --uninstall, remove your library files (rm -rf ~/.jriver) and then reinstall. You are missing directories and MC is either not creating them automatically or cannot create them. Could be a permissions issue or a corrupted installation.
-
Assuming that the home directory has the correct ownership and permissions and that the .jriver directory does not (you perhaps ran MC under sudo??)
In a terminal under the user running MC you should be able to do:
sudo chown -R `id -u` ~/.jriver
then
sudo chmod -R 755 ~/.jriver
-
I would start fresh, run installJRMC --uninstall, remove your library files (rm -rf ~/.jriver) and then reinstall. You are missing directories and MC is either not creating them automatically or cannot create them. Could be a permissions issue or a corrupted installation.
I did, all fixed, thanks!!
-
Some changes in rc7 on the path to 1.0:
- A new generic installation mode for unsupported distros, which simply unpacks the deb onto the host filesystem without a package manager or dependency checks. Tested on Gentoo. This was the final feature I wanted to add before 1.0 so all distros are now supported (in theory). installJRMC will also keep track of the files that were installed via this method and will remove them with --uninstall.
- Removed all uses of eval to make the entire script more whitespace-friendly. This has been something I've been working on slowly over time and was another 1.0 goal.
- A new -y|--yes|--auto mode that will assume "yes" for all answers.
- Lots of little bugfixes and more verbose --debug.
-
Hi, I got the following error when trying to run the installer. PLEASE HELP!
./installJRMC -d
....
JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: sudo apt-get update -y -q0
Ign:1 http://httpredir.debian.org/debian stretch-backports InRelease
Err:2 http://httpredir.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:87::644 80]
Hit:3 http://dist.jriver.com/latest/mediacenter buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: The repository 'http://httpredir.debian.org/debian stretch-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error: Package update failed!
Error: JRiver Media Center installation from repo failed
-
Hi, I got the following error when trying to run the installer. PLEASE HELP!
./installJRMC -d
....
JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: sudo apt-get update -y -q0
Ign:1 http://httpredir.debian.org/debian stretch-backports InRelease
Err:2 http://httpredir.debian.org/debian stretch-backports Release
404 Not Found [IP: 2a04:4e42:87::644 80]
Hit:3 http://dist.jriver.com/latest/mediacenter buster InRelease
Hit:4 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:5 http://archive.raspberrypi.org/debian buster InRelease
Reading package lists... Done
E: The repository 'http://httpredir.debian.org/debian stretch-backports Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error: Package update failed!
Error: JRiver Media Center installation from repo failed
This has not much to do with the script but one of your repositories is gone.
https://stackoverflow.com/questions/76094428/debian-stretch-repositories-404-not-found
Seems as though debian have changed some things around with the stretch repositories. Try the following.
# Backup just in case
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
# Commands to replace stuff in sources.list
sudo sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list
sudo sed -i 's|security.debian.org|archive.debian.org/debian-security/|g' /etc/apt/sources.list
sudo sed -i '/stretch-updates/d' /etc/apt/sources.list
# Try if update works now
sudo apt update
# NOTE: Donīt do this if the command above already spits out errors better to restart with the original sources.list file and replace things by hand then
sudo apt upgrade -y
Btw, stretch EOL is 30 June 2022 iīd recommend you upgrade when you find the time. But this should fix your error right now. In place upgrades can be done, Iīd recommend you upgrade to debian 10 and not to 11 (never tried to jump 2 versions at once donīt know if that is supposed to work). You can upgrade to 11 afterwards. But otherwise this always worked out fine for me with occasional minor hickups.
-
Tried to install MC31 on my rPi4 and got this:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59342 0 59342 0 0 62928 0 --:--:-- --:--:-- --:--:-- 62995
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Installing JRiver Media Center from remote repository
Error: Failed to install mediacenter31. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from repo failed
Does this mean MC31 is not availanble for Linux yet?
I did manage to install Max's docker version without any problems, thanks Max!!
-
Tried to install MC31 on my rPi4 and got this:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59342 0 59342 0 0 62928 0 --:--:-- --:--:-- --:--:-- 62995
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Installing JRiver Media Center from remote repository
Error: Failed to install mediacenter31. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from repo failed
Does this mean MC31 is not availanble for Linux yet?
I did manage to install Max's docker version without any problems, thanks Max!!
This is probably a dependency issue, you can enable debugging ./installJRMC --debug to confirm, if so you can check the MC31 thread (https://yabb.jriver.com/interact/index.php/topic,135999.0.html) for a workaround in the meantime:
./installJRMC --install local --compat
-
It is in the latest repo under bullseye.
-
It is in the latest repo under bullseye.
Thanks Bob, this is what I get now:
./installJRMC --install local --compat
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Checking latest repo for DEB package
Checking test repo for DEB package
Error: Cannot find DEB file
I'll enable debug to see if there is anything wrong on my end
EDIT: This with debug on:
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Using existing DEB: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Debug: Running: installMCDEB
Debug: ar x /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
ar: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb: file format not recognized
Debug: tar xJf control.tar.xz
tar (child): control.tar.xz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
sed: can't read control: No such file or directory
sed: can't read control: No such file or directory
Debug: tar -cJf control.tar.xz control postinst
tar: control: Cannot stat: No such file or directory
tar: postinst: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Debug: ar rcs /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb debian-binary control.tar.xz data.tar.xz
ar: debian-binary: No such file or directory
Debug: rm -rf /tmp/tmp.Suok908Xzq
Debug: Running: installPackage --no-install-check --no-gpg-check --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Debug: sudo apt-get -f install -y -q0 --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Reading package lists... Done
E: Unsupported file /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb given on commandline
Error: Failed to install /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb. Attempting to continue
Error: JRiver Media Center local package installation failed
I am afraid I do not know what to do with this. If there is anything I can do to fix this I woudl appreciate any pointers.
-
Speaking of, I actually noticed another issue with the aarch64/arm64 build of MC31 when I was trying to build a package to install it in Orange Pi OS (based on aarch64/arm64 Arch Linux). It was giving me permission denied errors for the libhh_portable.so.dpkg.new file in the .deb package (located in the /usr/lib/jriver/Media Center 31/Plugins folder within the .deb package) when it extracted and tried to build a new installable package. Taking a quick look at it, it seems that file has no permissions on the file whatsoever, so it's tripping and erroring out the makepkg attempt.
Just thought it was worth mentioning, just in case anyone else experienced it.
-
Speaking of, I actually noticed another issue with the aarch64/arm64 build of MC31 when I was trying to build a package to install it in Orange Pi OS (based on aarch64/arm64 Arch Linux). It was giving me permission denied errors for the libhh_portable.so.dpkg.new file in the .deb package (located in the /usr/lib/jriver/Media Center 31/Plugins folder within the .deb package) when it extracted and tried to build a new installable package. Taking a quick look at it, it seems that file has no permissions on the file whatsoever, so it's tripping and erroring out the makepkg attempt.
Just thought it was worth mentioning, just in case anyone else experienced it.
Not sure how that got in there.
Cleaned it out and am making a new build now.
Unfortunately I can't update the version number today so you'll have to refresh the repo (do an apt-get update or equivalent)
-
Groovy, let me know when it's up. :)
There's several other .so.dpkg-new files in that Plugins folder in the aarch64/arm64 build including libaften.so.0.0.8.dpkg-new, libdsp_Main.so.dpkg-new and libenc_Main.so.dpkg-new. I assume those aren't supposed to be there either?
-
Thanks Bob, this is what I get now:
./installJRMC --install local --compat
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Checking latest repo for DEB package
Checking test repo for DEB package
Error: Cannot find DEB file
I'll enable debug to see if there is anything wrong on my end
EDIT: This with debug on:
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Using existing DEB: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Debug: Running: installMCDEB
Debug: ar x /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
ar: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb: file format not recognized
Debug: tar xJf control.tar.xz
tar (child): control.tar.xz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
sed: can't read control: No such file or directory
sed: can't read control: No such file or directory
Debug: tar -cJf control.tar.xz control postinst
tar: control: Cannot stat: No such file or directory
tar: postinst: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
Debug: ar rcs /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb debian-binary control.tar.xz data.tar.xz
ar: debian-binary: No such file or directory
Debug: rm -rf /tmp/tmp.Suok908Xzq
Debug: Running: installPackage --no-install-check --no-gpg-check --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Debug: sudo apt-get -f install -y -q0 --allow-downgrades /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb
Reading package lists... Done
E: Unsupported file /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb given on commandline
Error: Failed to install /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.compat.deb. Attempting to continue
Error: JRiver Media Center local package installation failed
I am afraid I do not know what to do with this. If there is anything I can do to fix this I woudl appreciate any pointers.
ar: /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb: file format not recognized
It looks like the deb file may be corrupted, try removing it and rerunning.
If that doesn't work I will see if I can reproduce after the next build is released. I don't normally test on non-x86 arch so it could be related.
-
Thank you, Bryan
I removed the .deb file, which was 0 bytes and reran, to no avail. The new .deb file is still 0 bytes.
There also seems to be a problem installing the 'bildah' package
E: Unable to locate package buildah
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Checking latest repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/channels/v31/latest/MediaCenter-31.0.12-aarch64.deb
Checking test repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/test/MediaCenter-31.0.12-aarch64.deb
Error: Cannot find DEB file
-
Our aarch64 file is called "arm64", so its looking for the wrong postfix. Might need an update to the script to accomodate for that?
You might be able to override it by specifying "--arch arm64"
-
Thank you, Bryan
I removed the .deb file, which was 0 bytes and reran, to no avail. The new .deb file is still 0 bytes.
There also seems to be a problem installing the 'bildah' package
E: Unable to locate package buildah
./installJRMC --install local --compat -d
Debug: Running: main --install local --compat -d
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: debian 10 aarch64
Debug: Using host platform: debian 10
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Debug: Running: installPackage --silent buildah
Debug: sudo apt-get -f install -y -q0 buildah
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package buildah
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Using MC version 31.0.12 determined by webscrape
To override, use --mcversion
Debug: MVERSION: 31, MCVERSION: 31.0.12, MCPKG: mediacenter31, MCRPM: /home/pi/output/RPMS/x86_64/mediacenter31-31.0.12.x86_64.rpm
Debug: Running: installPackage wget
Debug: wget already installed, skipping installation
Debug: Running: acquireDeb
Debug: MCDEB=/home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb
Checking latest repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/channels/v31/latest/MediaCenter-31.0.12-aarch64.deb
Checking test repo for DEB package
Debug: wget -q -O /home/pi/output/SOURCES/MediaCenter-31.0.12-aarch64.deb https://files.jriver-cdn.com/mediacenter/test/MediaCenter-31.0.12-aarch64.deb
Error: Cannot find DEB file
buildah isn't required, it's just a reliable way to get the latest MC version.
I added an alias for aarch64 to arm64 in my dev branch. You can curl the script from here: https://git.bryanroessler.com/bryan/installJRMC/raw/dev/installJRMC
-
Thank you Bryan, I appreciate your help
-
Groovy, let me know when it's up. :)
There's several other .so.dpkg-new files in that Plugins folder in the aarch64/arm64 build including libaften.so.0.0.8.dpkg-new, libdsp_Main.so.dpkg-new and libenc_Main.so.dpkg-new. I assume those aren't supposed to be there either?
Put it up last night.
-
This time InstallJRMC worked and created Media Center 31 and Media Center 31 PackageInstaller in /usr/share/applications
However, running Media Center 31 doesn't do anything. I clearly don't understand how this should work but I had no problems with MC29 and MC30.
-
This time InstallJRMC worked and created Media Center 31 and Media Center 31 PackageInstaller in /usr/share/applications
However, running Media Center 31 doesn't do anything. I clearly don't understand how this should work but I had no problems with MC29 and MC30.
Could you launch it from the command line (`mediacenter31`) to see if there are any dependency issues?
It might be worth upgrading to the latest bullseye-based Raspberry Pi OS instead of using the legacy version. What OS are you using exactly (Raspbian/Raspberry Pi OS Legacy 10)? I can try to reproduce in a VM.
-
Thank you Bryan!
This is what I get:
mediacenter31
mediacenter31: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by mediacenter31)
mediacenter31: /lib/aarch64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/lib/jriver/Media Center 31/libcryptlib.so)
I believe I am running Debian 5.10.103-v8+
I'll have to research how to upgrade the System on the Pi
-
MediaCenter 31 requires at least Debian 11 ("bullseye"), so yes, you will need to upgrade your system.
-
MediaCenter 31 requires at least Debian 11 ("bullseye"), so yes, you will need to upgrade your system.
Thanks Hendrik,
I'll have to figure out how to do that.
-
I managed to upgrade my rPi4 to Bullseye. Had some trouble with getting the screen resolution back to 2550x1440 for my iMac but all is well now. MC31.012 is running
-
running the latest Debian. The installer,installJRMC-v1.0-rc7 seems to run but nothing is installed.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 60503 0 60503 0 0 60605 0 --:--:-- --:--:-- --:--:-- 60624
Starting installJRMC
To enable debugging output, use --debug or -d
Determining latest MC version
Using MC version 31.0.83 determined by webscrape
To override, use --mcversion
Am I doing something wrong?
-
found the solution. run the installer using "./installJRMC". From the post about this script I understood I had to run the "curl" script.
-
I am trying to install JRiver using the latest version of Debian12. Downloaded "installJRMC" and in console I install and this is what I get:
kees@audiopc:~/Downloads$ sudo ./installJRMC --mcversion 28.0.106
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 28.0.106 determined by user input
Nothing happens, no installation? What am I doing wrong?
-
I am trying to install JRiver using the latest version of Debian12. Downloaded "installJRMC" and in console I install and this is what I get:
kees@audiopc:~/Downloads$ sudo ./installJRMC --mcversion 28.0.106
Starting installJRMC
To enable debugging output, use --debug or -d
Using MC version 28.0.106 determined by user input
Nothing happens, no installation? What am I doing wrong?
I don't normally check the older Linux boards, but stumbled upon this. Do not run the script as root (do not use sudo).
-
Hi Bryan;
Considering the fact that CentOS is the predecessor of AlmaLinux, I tried today to install JRiver Media Center for Linux 32 on AlmaLinux 9.3. I entered the following command in GNOME Terminal:
[user@hostname ~]$ curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC -d --install repo
The installation failed, as you may conclude from the debugged print output. Some of the errors relate to:
[FAILED] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Error: Failed to install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm. Attempting to continue Installing JRiver Media Center from remote repository
No match for argument: [b]mesa-va-drivers-freeworld[/b]
No match for argument: [b]mesa-vdpau-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Error:
Problem: cannot install the best candidate for the job
- nothing provides webkit2gtk4.0 needed by mediacenter32-32.0.25-1.x86_64 from jriver
Error: Failed to install mediacenter32. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from remote repository failed
PLEASE FIND BELOW THE COMPLETE "PRINT" OUTPUT OF THE CURL COMMAND:
Debug: Running: main -d --install repo
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: almalinux 9.3 amd64
Error: Autodetecting distro, this is unreliable and --compat may be required
Debug: Using host platform: fedora 9.3
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Determining latest MC version
Debug: Running: installPackage --silent buildah
Debug: buildah already installed, skipping installation
Debug: buildah rm debian-working-container
6c9608d4d481399f7d1fc2b26015444b64012539fbb34bf3870467b06a62972f
Using MC version 32.0.25 determined by containerized package manager
To override, use --mcversion
Debug: MVERSION: 32, MC_VERSION: 32.0.25, MC_PKG: mediacenter32, MC_RPM: /home/linus/output/RPMS/x86_64/mediacenter32-32.0.25.x86_64.rpm
Debug: Running: installPackage --no-install-check https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm
Debug: sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm
[sudo] password for [i]user[/i]:
Last metadata expiration check: 0:35:19 ago on Tue 19 Mar 2024 05:29:33 PM CET.
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[FAILED] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Error: Failed to install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm. Attempting to continue
Installing JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: sudo dnf makecache
AlmaLinux 9 - AppStream 4.9 kB/s | 4.1 kB 00:00
AlmaLinux 9 - BaseOS 9.6 kB/s | 3.8 kB 00:00
AlmaLinux 9 - Extras 8.7 kB/s | 3.8 kB 00:00
JRiver Media Center repo by BryanC 1.1 kB/s | 2.9 kB 00:02
JRiver Media Center repo by BryanC 1.8 MB/s | 1.6 MB 00:00
Metadata cache created.
Debug: Running: installMesa
Debug: sudo dnf install -y mesa-va-drivers-freeworld
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
No match for argument: [b]mesa-va-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld
Debug: sudo dnf install -y mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
No match for argument: [b][b]mesa-va-drivers-freeworld[/b][/b]
No match for argument: [b]mesa-vdpau-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Debug: Running: installPackage --no-install-check --allow-downgrades --no-gpg-check mediacenter32
Debug: sudo dnf install -y --allowerasing --nogpgcheck mediacenter32
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
Error:
Problem: cannot install the best candidate for the job
- nothing provides webkit2gtk4.0 needed by mediacenter32-32.0.25-1.x86_64 from jriver
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Error: Failed to install mediacenter32. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from remote repository failed
[user@hostname ~]$
I am much aware that the install has NOT been done on a Fedora or CentOS box. However, you may want to consider to include AlmaLinux 9.3 as well, considering they are siblings? I decided for AlmaLinux because the cycle of AlmaLinux is 10 years (support will end in 2032!). I wanted to avoid any OS which has cycles of 6 months to 3 years.
I trust you understand. AlmaLinux really has been a very smooth installation, done in 2 days; the installation and configuration of my HP Printer in CUPS took 1/2 day.
I look much forward hearing from you.
Kind regards.
switch6343
-
So at the risk of being thought a complete idiot (something I already know) how do I install mc30...I have a master licence but normally using windows. No of the preceding make any sense to me. Any chance of getting the commands prompts in order please?
-
OK so I managed to install but its put on version 32 and my licence is 30......how do I install 30 please?
-
OK so I managed to install but its put on version 32 and my licence is 30......how do I install 30 please?
What operating system are you using?
-
"Virginia"
Linux Mint 21.3
Thanks for your time
-
He's what to try, just copy/paste each line in a Terminal and run each line before copy/pasting the next. I'm not sure if it actually works but I don't see why it shouldn't as the Jammy repo *should* work with Mint 21.3.
sudo apt update && sudo apt install -y wget apt-transport-https -y gpg -y
wget -O- http://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/jriver-com-archive-keyring.gpg >/dev/null 2>&1
echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ jammy main" | sudo tee /etc/apt/sources.list.d/jriver.list
sudo apt update
sudo apt install mediacenter30
-
Well thanks for that but it did not work....see last line
paul@LianLiMint:~$ sudo apt update
[sudo] password for paul:
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Ign:3 http://packages.linuxmint.com virginia InRelease
Hit:4 https://repo.skype.com/deb stable InRelease
Hit:5 http://dist.jriver.com/latest/mediacenter jammy InRelease
Hit:6 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7 http://packages.linuxmint.com virginia Release
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
paul@LianLiMint:~$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
libcue2 libreplaygain1 musepack-tools vorbis-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
libnss3
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
Need to get 1,347 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu jammy-security/main amd64 libnss3 amd64 2:3.98-0ubuntu0.22.04.2 [1,347 kB]
Fetched 1,347 kB in 3s (514 kB/s)
(Reading database ... 610565 files and directories currently installed.)
Preparing to unpack .../libnss3_2%3a3.98-0ubuntu0.22.04.2_amd64.deb ...
Unpacking libnss3:amd64 (2:3.98-0ubuntu0.22.04.2) over (2:3.98-0ubuntu0.22.04.1)
...
Setting up libnss3:amd64 (2:3.98-0ubuntu0.22.04.2) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...
paul@LianLiMint:~$ sudo apt update && sudo apt install -y wget apt-transport-https -y gpg -y
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Ign:3 http://packages.linuxmint.com virginia InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 http://packages.linuxmint.com virginia Release
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:7 http://dist.jriver.com/latest/mediacenter jammy InRelease
Hit:8 https://repo.skype.com/deb stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
wget is already the newest version (1.21.2-2ubuntu1).
gpg is already the newest version (2.2.27-3ubuntu2.1).
apt-transport-https is already the newest version (2.4.12).
The following packages were automatically installed and are no longer required:
libcue2 libreplaygain1 musepack-tools vorbis-tools
Use 'sudo apt autoremove' to remove them.
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
paul@LianLiMint:~$ wget -O- http://dist.jriver.com/mediacenter@jriver.com.gpg.key | gpg --dearmor | sudo tee /usr/share/keyrings/jriver-com-archive-keyring.gpg >/dev/null 2>&1
--2024-04-11 20:34:28-- http://dist.jriver.com/mediacenter@jriver.com.gpg.key
Resolving dist.jriver.com (dist.jriver.com)... 71.24.233.122
Connecting to dist.jriver.com (dist.jriver.com)|71.24.233.122|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1712 (1.7K) [application/pgp-keys]
Saving to: STDOUT
- 100%[===================>] 1.67K --.-KB/s in 0s
2024-04-11 20:34:29 (4.51 MB/s) - written to stdout [1712/1712]
paul@LianLiMint:~$ echo "deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ jammy main" | sudo tee /etc/apt/sources.list.d/jriver.list
deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ jammy main
paul@LianLiMint:~$ sudo apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Ign:2 http://packages.linuxmint.com virginia InRelease
Hit:3 http://dist.jriver.com/latest/mediacenter jammy InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:5 http://packages.linuxmint.com virginia Release
Hit:6 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:7 https://repo.skype.com/deb stable InRelease
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up-to-date.
W: https://repo.skype.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
paul@LianLiMint:~$ sudo apt install mediacenter30
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package mediacenter30
paul@LianLiMint:~$ ^C
paul@LianLiMint:~$
-
The issue I see there is due to a Skype repo present with a depreciated key on your system that you'll have to fix or disable before proceeding. For apps like Skype I'd actually recommend installing flatpak (or snapd) and installing Skype from that instead of an APT repository in that case.
If all else fails you can try downloading the last MC30 build from the top of this forum section and manually installing it.
EDIT: Also double checked the available versions of MC on the repo in my Linux Mint VM and it appears to only currently have MC31 and MC32 and not MC30 or older. You'll likely have to manually install MC30 as mentioned above.
-
How do I install manually....I did down load but I cannot understand what to do next....sorry to be a pain
-
How do I install manually....I did down load but I cannot understand what to do next....sorry to be a pain
Edit this file:
/etc/apt/sources.list.d/jriver.list
Change Jammy to buster
sudo apt update
sudo apt install mediacenter30
-
Thank you
-
Hi Bryan;
Considering the fact that CentOS is the predecessor of AlmaLinux, I tried today to install JRiver Media Center for Linux 32 on AlmaLinux 9.3. I entered the following command in GNOME Terminal:
[user@hostname ~]$ curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC && ./installJRMC -d --install repo
The installation failed, as you may conclude from the debugged print output. Some of the errors relate to:
[FAILED] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Error: Failed to install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm. Attempting to continue Installing JRiver Media Center from remote repository
No match for argument: [b]mesa-va-drivers-freeworld[/b]
No match for argument: [b]mesa-vdpau-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Error:
Problem: cannot install the best candidate for the job
- nothing provides webkit2gtk4.0 needed by mediacenter32-32.0.25-1.x86_64 from jriver
Error: Failed to install mediacenter32. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from remote repository failed
PLEASE FIND BELOW THE COMPLETE "PRINT" OUTPUT OF THE CURL COMMAND:
Debug: Running: main -d --install repo
Debug: Running: init
Starting installJRMC
Debug: Detected host platform: almalinux 9.3 amd64
Error: Autodetecting distro, this is unreliable and --compat may be required
Debug: Using host platform: fedora 9.3
Debug: Running: parseInput
Debug: Debugging on
Debug: installJRMC version: 1.0-dev
Debug: Running: setMCVersion
Determining latest MC version
Debug: Running: installPackage --silent buildah
Debug: buildah already installed, skipping installation
Debug: buildah rm debian-working-container
6c9608d4d481399f7d1fc2b26015444b64012539fbb34bf3870467b06a62972f
Using MC version 32.0.25 determined by containerized package manager
To override, use --mcversion
Debug: MVERSION: 32, MC_VERSION: 32.0.25, MC_PKG: mediacenter32, MC_RPM: /home/linus/output/RPMS/x86_64/mediacenter32-32.0.25.x86_64.rpm
Debug: Running: installPackage --no-install-check https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm
Debug: sudo dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm
[sudo] password for [i]user[/i]:
Last metadata expiration check: 0:35:19 ago on Tue 19 Mar 2024 05:29:33 PM CET.
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[MIRROR] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
[FAILED] rpmfusion-free-release-9.3.noarch.rpm: Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Status code: 404 for https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm (IP: 2001:67c:1740:9022::144)
Error: Failed to install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-9.3.noarch.rpm. Attempting to continue
Installing JRiver Media Center from remote repository
Debug: Running: installMCFromRepo
Debug: sudo dnf makecache
AlmaLinux 9 - AppStream 4.9 kB/s | 4.1 kB 00:00
AlmaLinux 9 - BaseOS 9.6 kB/s | 3.8 kB 00:00
AlmaLinux 9 - Extras 8.7 kB/s | 3.8 kB 00:00
JRiver Media Center repo by BryanC 1.1 kB/s | 2.9 kB 00:02
JRiver Media Center repo by BryanC 1.8 MB/s | 1.6 MB 00:00
Metadata cache created.
Debug: Running: installMesa
Debug: sudo dnf install -y mesa-va-drivers-freeworld
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
No match for argument: [b]mesa-va-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld
Debug: sudo dnf install -y mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
No match for argument: [b][b]mesa-va-drivers-freeworld[/b][/b]
No match for argument: [b]mesa-vdpau-drivers-freeworld[/b]
Error: Unable to find a match: mesa-va-drivers-freeworld mesa-vdpau-drivers-freeworld
Debug: Running: installPackage --no-install-check --allow-downgrades --no-gpg-check mediacenter32
Debug: sudo dnf install -y --allowerasing --nogpgcheck mediacenter32
Last metadata expiration check: 0:00:01 ago on Tue 19 Mar 2024 06:04:57 PM CET.
Error:
Problem: cannot install the best candidate for the job
- nothing provides webkit2gtk4.0 needed by mediacenter32-32.0.25-1.x86_64 from jriver
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Error: Failed to install mediacenter32. Attempting to continue
Error: Package install failed!
Error: JRiver Media Center installation from remote repository failed
[user@hostname ~]$
I am much aware that the install has NOT been done on a Fedora or CentOS box. However, you may want to consider to include AlmaLinux 9.3 as well, considering they are siblings? I decided for AlmaLinux because the cycle of AlmaLinux is 10 years (support will end in 2032!). I wanted to avoid any OS which has cycles of 6 months to 3 years.
I trust you understand. AlmaLinux really has been a very smooth installation, done in 2 days; the installation and configuration of my HP Printer in CUPS took 1/2 day.
I look much forward hearing from you.
Kind regards.
switch6343
Hello, I just added almalinux support to the dev branch.
I don't normally read these older forums so if anyone has issues please bring them to the latest thread where I will be more likely to see them.
-
I am trying to install the latest on a new laptop running Fedora 41 and Plasma 6.3 (Wayland). I can't get Media Center to run. Out of curiosity, I created a VM with Ubuntu 24.10 on that laptop - but running gdm3 instead. Media Center runs in that environment just fine. I then created a toolbox for fedora 39, installed, ran it, and got a new popup saying "Oops! Looks like your 'mediacenter33' crashed...." but still no luck getting Media Center to launch.
I assume it has something to do with Wayland and how my new laptop is built? I even tried to force X11 overlays, etc., and had no luck. But I'm confused because the VM works. Any ideas? Luckily, I don't absolutely have to have JRiver on this laptop since it's my Linux hacking box, but it would be nice.
That said, thanks for all your work on this entire process as I do have Media Center running just fine on a few other Linux boxes.
-
What happens if you run mediacenter33 from the Terminal? Something like segmentation fault?
-
If I just select the icon via the GUI, nothing happens at all. Makes me think I never even clicked or double-clicked the icon. Even browsing to the location of "mediacenter33" and trying to launch that from the GUI doesn't do anything. The only way to see if something is happening is via the Terminal. I get these errors:
[0307/131445.365579:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
FFF9F9F9 Start bcolor F9F9F9 nColor
[0307/131445.456659:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.465080:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.506064:WARNING:policy_logger.cc(151)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[0307/131445.592992:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.612479:WARNING:angle_platform_impl.cc(49)] RendererVk.cpp:1962 (initialize): ANGLE VMA version: 2003000
[0307/131445.706365:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.
Segmentation fault (core dumped)
I've double-checked dependencies, ran it in "rendering mode", disabled GPU acceleration, made sure SELINUX wasn't restricting in some way, and verified basic permissions. As mentioned, I even did a toolbox for running fedora 39, and got the same errors.
I've got a NUC that I can wipe and install fedora 41 with Plasma 6.3 and see if I get the same issues on different hardware.
-
If I just select the icon via the GUI, nothing happens at all. Makes me think I never even clicked or double-clicked the icon. Even browsing to the location of "mediacenter33" and trying to launch that from the GUI doesn't do anything. The only way to see if something is happening is via the Terminal. I get these errors:
[0307/131445.365579:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
FFF9F9F9 Start bcolor F9F9F9 nColor
[0307/131445.456659:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.465080:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.506064:WARNING:policy_logger.cc(151)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(88) Could not create policy manager as CBCM is not enabled.
[0307/131445.592992:ERROR:check.cc(297)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[0307/131445.612479:WARNING:angle_platform_impl.cc(49)] RendererVk.cpp:1962 (initialize): ANGLE VMA version: 2003000
[0307/131445.706365:WARNING:sandbox_linux.cc(400)] InitializeSandbox() called with multiple threads in process gpu-process.
Segmentation fault (core dumped)
I've double-checked dependencies, ran it in "rendering mode", disabled GPU acceleration, made sure SELINUX wasn't restricting in some way, and verified basic permissions. As mentioned, I even did a toolbox for running fedora 39, and got the same errors.
I've got a NUC that I can wipe and install fedora 41 with Plasma 6.3 and see if I get the same issues on different hardware.
Those are form the embedded chromium plugin. They shouldn't be causing the segfault IMO.
You could try running under gdb and report a stack trace.
Install GDB then do
gdb mediacenter33
then
run
when it segfaults do
bt full
and post a copy/paste of that here.