INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve  (Read 1015 times)

ckwilliams99

  • Recent member
  • *
  • Posts: 10

Re-posting here as a new topic given advice from Awesome Donkey (This is NOT an MC Linux Installer Issue)

Complete Linux Noobie here. Recently embarked upon the Windows 10 Migration to Linux.  I have a dual-boot implementation of Linux Mint Cinnamon and successfully (I thought) installed MC 33 on Linux on 3 Nov 2024.  I installed my new MC Master License for Linux this morning (11/13/24) and began importing my audio/video files from my Windows 10 NTFS D:\DATA Drive.  The import appears to have worked flawlessly but each time I attempt to select a menu option or test play my first file, MC shuts down.

For starters, here's my inxi system summary:

System:
  Kernel: 6.8.0-47-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0
    clocksource: tsc
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7
    dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble

Help-About works/displays latest v 33.0.33 but then the app closes again.  My only thought at this moment is to reboot and try running MC again.

20241114 - MC 33 auto-upgraded to 33.0.37 and stabilized. Tagging Problem reported as well as Play Back Problem (File Not Found).

This is going to be a fun way to re-learn Unix after nearly 40 years.  ;D

My Auto-Import is Config'd thusly:

/media/ckwilliams/DATA/MyMusic/
/media/ckwilliams/DATA/Pictures/
/media/ckwilliams/DATA/Videos/

Play Back Problem - File NOT Found.  I suspect the Filename in Library does NOT Match the Filename on Disk and may be the difference between Windows and Linux naming conventions. 
Am I going to have to rename my Linux Library Filenames to match the device name convention, e.g. /dev/sda2 or /dev/nvme0n1p5?

What is the best/most effective & efficient method to establish a Linux media library? How would one copy media from NTFS to ext4? Or is that totally redundant and unnecessary?

I will dig into this but if an expert in Windows to Linux MC media migration will share their insight, I will be much obliged.
Logged

terrym@tassie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 505
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #1 on: November 14, 2024, 04:39:43 pm »

I did a Windows to linux move a few years back and currently use Mint 22/XFCE for my audio server, still use Windows for my htpc.

Your first job it appears to me is to get a stable working MC33 instance, so my advice would be to install MC33 afresh and immediately stop auto-import. Manually import a small number of files (or even just one) and make sure the MC33 isn't crashing. Once you have achieved that then move on to getting playback to work, then build up from there. Post here for more help as necessary. AD has already given you advice on how to run MC33 from the terminal to provide more information if you still experience crashes.
Logged
Good manners cost nothing.
Bad manners can cost you your reputation
― B.D.Hawkey

atreides

  • Junior Woodchuck
  • **
  • Posts: 82
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #2 on: November 17, 2024, 08:43:29 pm »

Here's a thread I had recently where I imported my Windows library on a new Linux machine.  There are a couple of quirks that this thread talks about, you may find it useful:

https://yabb.jriver.com/interact/index.php/topic,139229.msg965452.html#msg965452
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #3 on: November 26, 2024, 05:10:25 am »

I did a Windows to linux move a few years back and currently use Mint 22/XFCE for my audio server, still use Windows for my htpc.

Your first job it appears to me is to get a stable working MC33 instance, so my advice would be to install MC33 afresh and immediately stop auto-import. Manually import a small number of files (or even just one) and make sure the MC33 isn't crashing. Once you have achieved that then move on to getting playback to work, then build up from there. Post here for more help as necessary. AD has already given you advice on how to run MC33 from the terminal to provide more information if you still experience crashes.

Thank you, terrym. I completed uninstall and re-install moments ago.  Same issue / Playback Problem.  I think I should have cleared my library prior to install or perhaps there is an install parameter or switch to insure auto-import is suppressed.  Will continue troubleshooting & testing...

Once again, I appreciate the feedback.
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #4 on: November 26, 2024, 05:14:40 am »

Here's a thread I had recently where I imported my Windows library on a new Linux machine.  There are a couple of quirks that this thread talks about, you may find it useful:

https://yabb.jriver.com/interact/index.php/topic,139229.msg965452.html#msg965452

Thank you, atreides.  That thread was most-enlightening.  I confirmed Platform=Linux in the jmd file.

Continuing troubleshooting/testing...

Really appreciate the guidance from this forum.
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #5 on: November 26, 2024, 05:53:08 am »

Install with debug:

ckwilliams@ckwilliams-Alienware-Aurora-R6:~$ ./installJRMC --debug
Debug: Running: main --debug
Starting installJRMC 1.4.5
Debugging on
Debug: Running: init
Debug: Automatically using --install=repo
Debug: Running: parse_input --debug
Debug: Running: update --debug
Debug: Checking for installJRMC update
Debug: Not in a git repository or not the installJRMC repository. Checking for updates via download.
Debug: Current installJRMC 1.4.5 is the latest version
Debug: rm -f /tmp/tmp.PVdGMUIoJk
Debug: Detected host platform: linuxmint 22 amd64
Debug: Host platform: ubuntu 22
Debug: MC repository: noble
Debug: Running: install_external_repos
Installing JRiver Media Center from remote repository
Debug: Running: install_mc_repo
Installing JRiver Media Center RPM key
[sudo] password for ckwilliams:         
Adding MC repository file: /etc/apt/sources.list.d/jriver.list
Debug: repo_text: deb [signed-by=/usr/share/keyrings/jriver-com-archive-keyring.gpg arch=amd64,i386,armhf,arm64] http://dist.jriver.com/latest/mediacenter/ noble main
Debug: sudo apt-get update -y -q0
Hit:1 http://dist.jriver.com/latest/mediacenter noble InRelease
Ign:2 http://packages.linuxmint.com wilma InRelease                           
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease                         
Hit:4 http://packages.linuxmint.com wilma Release                             
Hit:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease     
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
Debug: Running: install_package --no-install-check --allow-downgrades --no-gpg-check mediacenter33
Debug: sudo apt-get -f install -y -q0 --allow-downgrades mediacenter33
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mediacenter33 is already the newest version (33.0.44).
0 upgraded, 0 newly installed, 0 to remove and 49 not upgraded.
JRiver Media Center installed successfully from remote repository
Debug: Running: link_ssl_certs
Debug: Running: restore_license
Debug: Running: open_firewall jriver-mediacenter 52100-52200/tcp 1900/udp
Debug: sudo ufw app update jriver-mediacenter
Rules updated for profile 'jriver-mediacenter'

Debug: sudo ufw allow jriver-mediacenter
Skipping adding existing rule
Skipping adding existing rule (v6)
Debug: Running: disable_btrfs_cow
ckwilliams@ckwilliams-Alienware-Aurora-R6:~$ ^C


Import Single Folder = Success
Playback = Success

Other suggestions based on debug log?

And one (or two) more question(s)...Should I perform an Import of my individual music files rather than Import Library? Or would an incremental test of work flow functions (based on noobie experiential learning) be helpful to the community?  I don't mind a slow ascent of the Learning Curve. =;-)

Thanks!
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2671
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #6 on: November 26, 2024, 06:20:31 am »

MC is already installed successfully, so there's no need to rerun installJRMC. You need to launch MC from the CLI as suggested above using `mediacenter33` to see why it's crashing.
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #7 on: November 26, 2024, 12:41:17 pm »

MC is already installed successfully, so there's no need to rerun installJRMC. You need to launch MC from the CLI as suggested above using `mediacenter33` to see why it's crashing.

Thank you, BryanC.  My misunderstanding.
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #8 on: November 26, 2024, 12:59:36 pm »

Playback Problem continues after reboot/restart.  See attached logfile.zip.

Thanks for any and all assistance.

P.S. My error. File location was not updated by me so MC is looking in default location.  I corrected the user error...

P.P.S Not so fast..."mediacenter33: JRImage/PSD.cpp:1090: int CPSD::ReadImageData(): Assertion `nBytesRead == nTotalBytes' failed. Aborted (core dumped)".
See new logfile.zip. Maybe caused by not setting file types extension?
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #9 on: November 26, 2024, 01:31:26 pm »

New logfile...core dump on PSD file type Import Pictures.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2671
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #10 on: November 26, 2024, 03:48:12 pm »

It looks like MC is crashing on: /media/ckwilliams/DATA/Pictures/Family/Malpass/Vicke M. Williams/Vickie 19_3.jpg

You can send that file to logs@jriver.com for them to look at, and then temporarily move it to some location that is not auto-imported to see if it fixes your crashes. If it crashes again you'll need to repeat the process, looking at the last file in the Previous Log.txt and removing it.

Also, it's generally not a great idea to have periods "." in your filenames or directories on Linux as sometimes this can cause unexpected issues or complications w.r.t. search, regexes, tab completion, etc.
Logged

ckwilliams99

  • Recent member
  • *
  • Posts: 10
Re: Noobie embarks on Windows 10 Migration to Linux: Linux/MC33 Learning Curve
« Reply #11 on: November 28, 2024, 06:15:40 am »

It looks like MC is crashing on: /media/ckwilliams/DATA/Pictures/Family/Malpass/Vicke M. Williams/Vickie 19_3.jpg

You can send that file to logs@jriver.com for them to look at, and then temporarily move it to some location that is not auto-imported to see if it fixes your crashes. If it crashes again you'll need to repeat the process, looking at the last file in the Previous Log.txt and removing it.

Also, it's generally not a great idea to have periods "." in your filenames or directories on Linux as sometimes this can cause unexpected issues or complications w.r.t. search, regexes, tab completion, etc.

Copy that, Bryanc.  Thank you very much.
Logged
Pages: [1]   Go Up