INTERACT FORUM

Please login or register.

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

Author Topic: Conversion from Windows to Linux Ubuntu 11  (Read 7548 times)

cochinada

  • World Citizen
  • ***
  • Posts: 213
Conversion from Windows to Linux Ubuntu 11
« on: February 26, 2022, 07:00:36 am »

Hi,

I apologize if this was already answered but I've searched the forum with the most obvious keywords and couldn't find it.

I have a Windows license and an old MC22 that is running just fine but I'm sick and tired of Windows with it's never ending updates and interferences so I would like to give Linux a try.
As I read that "Media Center 28 for Linux is developed on Debian Buster - support for distros other than Debian Buster, e.g. like Ubuntu and Linux Mint are not officially supported by JRiver!", my choice would be Debian Buster.
Which exact version, I'm not sure because I also read that "Debian 10 has been superseded by Debian 11 (bullseye)."

First of all I believe I would have to purchase a new license but this time for Linux or upgrade to a Master License that works on all three OS's. Which one is cheaper I don't know yet.

What I would not want is to have to configure everything from scratch because of this migration, as it took me a really long time to get where I am now and moreover I forgot what and how I did it as it was years ago.

Not only I imagine the configuration/setting up of MC to be an issue, but also keeping the whole directory structure I have on disk untouched. BTW, I have two disks: one for the OS and the other for data.
This disk surely won't even be recognized with a different OS, so I guess I have to format it (maybe this will been taken care of during the Linux installation automatically?) and then figure it how to copy my backup data with the minimum fuzz.

Has anyone already gone through this same path? What were the obstacles and how to deal with them?

Thank you all in advance!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71290
  • Where did I put my teeth?
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #1 on: February 26, 2022, 07:40:46 am »

You can purchase a Linux license as an upgrade from your current license.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #2 on: February 26, 2022, 07:47:14 am »

You can purchase a Linux license as an upgrade from your current license.

Nice to know.
I found it here:
https://yabb.jriver.com/interact/index.php/topic,129290.0.html
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #3 on: February 26, 2022, 08:16:19 am »

Nice to know.
I found it here:
https://yabb.jriver.com/interact/index.php/topic,129290.0.html

Now all that remains is the ease of the migration (or not).
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #4 on: February 26, 2022, 09:12:34 am »

As I read that "Media Center 28 for Linux is developed on Debian Buster - support for distros other than Debian Buster, e.g. like Ubuntu and Linux Mint are not officially supported by JRiver!", my choice would be Debian Buster.
Which exact version, I'm not sure because I also read that "Debian 10 has been superseded by Debian 11 (bullseye)."

Even though it's not officially supported, Media Center works fine in Ubuntu, Linux Mint and Debian Bullseye. Even distros like Fedora (which is what I use), OpenSUSE, Arch Linux, etc. works just fine. Jumping to Debian Bullseye would be fine in this situation.

This disk surely won't even be recognized with a different OS, so I guess I have to format it (maybe this will been taken care of during the Linux installation automatically?) and then figure it how to copy my backup data with the minimum fuzz.

Actually, if the partition file system is FAT32, ExFAT, NTFS, or something else chances are Linux will support mounting and reading those partitions created in Windows. If I had to guess if you left the formatting option in Windows as default, it's probably NTFS and Linux has support for it. Supporting write on NTFS partitions might be a little tricky though, depending on Linux distro being used, however the Linux kernel recently landed a new and vastly improved NTFS driver but it hasn't landed in Debian, Ubuntu or Linux Mint yet (and likely won't land in Debian for awhile, so ntfs-3g would be the alternative). I'm using it in Fedora and the new NTFS driver works wonderfully. Regardless I'm almost certain that you won't need to reformat your drive and you should be able to mount it in Linux (via the Disks app if your distro includes it or manually via fstab).

As for migrating, it depends, you might encounter problems when migrating. The disc structure in Linux is different than it is in Windows, for example there's no drive letters or anything like that. There's a couple threads here on the forums with users detailing their experiences migrating from Windows to Linux, so it might be worth searching for those. Also even though Media Center for Linux is closer than ever at feature parity with Media Center for Windows but there are a few potential dealbreaking missing functionality, like Media Center for Linux doesn't support reading and ripping CDs yet.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #5 on: February 26, 2022, 09:53:20 am »

I've just confirmed and I'm using NTFS indeed.

I guess that if all those other OS versions are supported, I'll then probably choose the one that makes the migration the easiest. I will do some research about the differences between all those, especially the Fedora you are using.

I will also try to find those threads you mention although I wasn't very lucky earlier.

Is it possible to import the MC configuration from Windows into Linux or is it totally incompatible? If it was than maybe it is just a matter of changing or editing some details related for instance to letters not being used in Linux and perhaps replacing '\' with '/' or vice versa.
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5168
  • "Linux Merit Badge" Recipient
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #6 on: February 27, 2022, 06:58:50 pm »

I've just confirmed and I'm using NTFS indeed.

I guess that if all those other OS versions are supported, I'll then probably choose the one that makes the migration the easiest. I will do some research about the differences between all those, especially the Fedora you are using.

I will also try to find those threads you mention although I wasn't very lucky earlier.

Is it possible to import the MC configuration from Windows into Linux or is it totally incompatible? If it was than maybe it is just a matter of changing or editing some details related for instance to letters not being used in Linux and perhaps replacing '\' with '/' or vice versa.

You can import a windows configuration on Linux, but you will need to update the file paths and make a few manual changes.  Have a look at this post/thread for the manual steps that I took to do the conversion:

https://yabb.jriver.com/interact/index.php/topic,128397.msg890849.html#msg890849

You can also try the "portable library" feature.  That's worked for some folks, but is not how I personally did my migration.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #7 on: February 28, 2022, 05:00:24 am »

Thank you very much! I took a glance already but I'll have to read it carefully and also the other links as well.
So, does that mean that I can keep my data disk untouched and "just" adapt the MC configuration after importing it from windows to my new Linux system?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #8 on: February 28, 2022, 05:46:36 am »

Yes, you should be able to just mount your data disk in Linux (if you need read/write for NTFS, make sure you enable that) and change the paths of your files in MC's library to point to the new mount location.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #9 on: February 28, 2022, 09:56:34 am »

Well, I've bought the new license and have already installed Debian 11 but I have already to issues.

I was trying to install MC28 for Linux following the instructions here_
https://yabb.jriver.com/interact/index.php/topic,129788.0.html

So, I opened a Terminal window and wrote this command:
curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC

but I got the error that curl was not found, even when I switched to root user.

The 2nd issue is that my data disk was not mounted by default.

P.S. I never installed Linux before in my life so this is all very daunting to me!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #10 on: February 28, 2022, 10:05:57 am »

You probably need to install curl, this can be done from the terminal using a command like this...
Code: [Select]
sudo apt install curl
And it likely the storage drive won't be mounted by default, you'll probably need to do this yourself either in the Disks app (which provides a GUI) if you're using GNOME or manually from fstab. Honestly though, I would've recommended using Ubuntu 21.10 over Debian 11, as it's a little easier and it includes the Disks app.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #11 on: February 28, 2022, 10:10:33 am »

You probably need to install curl.
Code: [Select]
sudo apt install curl
And it likely the storage drive won't be mounted by default, you'll probably need to do this yourself either in the Disks app (which provides a GUI) if you're using GNOME or manually from fstab. Honestly though, I would've recommended using Ubuntu 21.10 over Debian 11, as it's a little easier and it includes the Disks app.

Thank you. I'll give it a try. I installed Debian 11 as I thought it was the most compatible and also because I'm using Flirc and I don't know if it works without Debian:
https://support.flirc.tv/hc/en-us/articles/203633465-Installing-Flirc-GUI-on-Linux-Debian-

but if you say Ubuntu 21.10 works just fine I might give it a try.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #12 on: February 28, 2022, 10:11:24 am »

Ubuntu is based on Debian, so it'd work there too. In fact if you look at the screenshots in that Flirc tutorial, the person is using Ubuntu as those repositories in the screenshots are of Ubuntu's repositories. :P

However, that Flirc tutorial is way out of date though and shouldn't be used, on Flirc's site there's a much easier method...

https://flirc.tv/ubuntu-software-installation-guide

By using the following in a terminal...

Code: [Select]
curl apt.flirc.tv/install.sh | sudo bash
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #13 on: February 28, 2022, 10:19:12 am »

Ubuntu is based on Debian, so it'd work there too. In fact if you look at the screenshots, the person is using Ubuntu (as those repositories in the screenshots are of Ubuntu's repositories). :P

OK. I think I will try just that because it's one obstacle after the other. I couldn't install curl as I got this error, although I've inserted my USB boot Debian disk which is the only one I got:

Media change: please insert the disc labeled
 'Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 DVD Binary-1 20211218-11:13'
in the drive '/media/cdrom/' and press [ENTER]

no matter how many times I press ENTER I get the same error...

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #14 on: February 28, 2022, 10:20:48 am »

Yeah, it's trying to use the CDROM image as the main software source. That can be worked around by setting up sources.list (if I recall correctly the Debian repositories are commented out or something, been awhile since I looked so not sure) and refreshing the software sources but honestly it's probably better to start over with Ubuntu if you've never used Linux before. I honestly don't recommend first timers to use Debian, instead it'd be better to use Ubuntu or Linux Mint. You don't have to jump through hoops adding yourself to the sudoers file like on Debian so you can use sudo, among other things.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #15 on: February 28, 2022, 10:24:21 am »

Yeah, it's trying to use the CDROM image as the main software source. That can be worked around by setting up sources.list (if I recall correctly the Debian repositories are commented out or something, been awhile since I looked so not sure) and refreshing the software sources but honestly it's probably better to start over with Ubuntu if you've never used Linux before. You don't have to jump through hoops adding yourself to the sudoers file like on Debian, among other things.

OK.
Is this the correct choice? I have a 64bit CPU:
64-bit PC (AMD64) server install image
https://releases.ubuntu.com/21.10/
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #16 on: February 28, 2022, 10:25:36 am »

ubuntu-21.10-desktop-amd64.iso is likely what you want. The server image is for those trying to actually setup a web server (which I don't believe is applicable here).
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #17 on: February 28, 2022, 10:28:20 am »

ubuntu-21.10-desktop-amd64.iso is likely what you want. The server image is for those trying to actually setup a web server (which I don't believe is applicable here).

Damn! I never get it right the 1st time...  :-X
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #18 on: February 28, 2022, 11:35:31 am »

I've installed Ubuntu choosing the 1st option (the second mentioned 'safe graphics').

I've set the keyboard and defined a user and pwd and autologin.

Now after the installation is finished it won't let me change to root as the pwd is not correct.

I assumed the pwd would be the same as the one I defined for my user because it didn't ask me anywhere to enter the root pwd.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #19 on: February 28, 2022, 11:42:09 am »

Not only that but ignoring the fact I cannot change to 'root', after entering this command:

curl -O https://git.bryanroessler.com/bryan/installJRMC/raw/master/installJRMC && chmod +x ./installJRMC

I get this error:
chmod: cannot access './installJRMC' No such file or Directory

EDIT: I found out I was using -0 where the correct option is -O so now MC28 is installed.

The question is where? I cannot find it anywhere, much less run it  :'(
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #20 on: February 28, 2022, 12:10:50 pm »

Baby steps...
I managed to register my MC with the new license and open it. However I cannot find where is this '"rename, move, copy" tool with the Update Path option ' mentioned below:


The basic steps are:

1) Export Windows Library and Import the library on Linux
2) Quickly turn off auto-import
3) Use the "rename, move, copy" tool with the Update Path option to fix the file paths and direction of the slashes.  Try a few to test, then you can do the rest all at once.
4) Delete all your old auto import rules
5) Re-create the auto-import rules with the correct paths
6) Close JRiver and edit the Platform.jmd file under your JRiver library directory so that it says Linux rather than Windows (this one is important and can lead to mysterious problems if ignored)
7) Restart JRiver
8 ) Turn auto import back on.



I was also thinking about using my last backup in Windows in Linux but apparently this can't be done this way.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #21 on: February 28, 2022, 12:57:21 pm »

Now MC froze and I had to restart my PC.
After restarting and running mediacenter28 again it just opened a blank screen in full screen and I can't do anything.

I've uninstall it:
sudo apt-get remove mediacenter28

then To Remove Media Center 28's Settings Folder
sudo rm -rf /usr/lib/jriver/Media\ Center\ 28 && sudo rm -rf /usr/lib/jriver/MC28 && sudo rm -rf ~/.jriver/Media\ Center\ 28

Installed it again...
sudo apt-get install mediacenter28

but got again the same blank screen  >:(

Looks like I will need to reinstall Ubuntu...
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #22 on: February 28, 2022, 01:54:05 pm »

Okay, let's start with the basics. What hardware are you using to install Ubuntu on? Specifically, what type of (integrated or dedicated) GPU is it running? Nvidia? AMD? Intel?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #23 on: February 28, 2022, 02:17:18 pm »

Okay, let's start with the basics. What hardware are you using to install Ubuntu on? Specifically, what type of (integrated or dedicated) GPU is it running? Nvidia? AMD? Intel?

OK.
I don't have a GPU because I use MC only for audio. I'm using the onboard HW: Intel CofeeLake-S GT2 [UHD Graffics 630]
CPU: Intel Gold G5500T @3.2 GHz
ASRock B360M Pro4

I've reinstalled Ubuntu and MC is running again.
But before I screw things up again I will need help because I believe the issue was caused when I tried to use that very powerful rename option.
I'll try to upload some screenshots of my settings currently as I've already restored my Library using the last backup made on Windows but now have two Libraries: one empty and another one with all my music.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #25 on: February 28, 2022, 02:33:03 pm »

Question: should I delete the Library that is empty?
Where is this option for renaming the files that I cannot find anymore?


Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #26 on: February 28, 2022, 03:04:03 pm »

Well, I've deleted the 'empty' Library.

Now I think I found that rename option again.
I had to exit from Tools and select on the left my 'Popular' albuns under 'Audio'.
Then I think this should be the correct option to use as my data volume in Linux is called '/media/joaquim/New Volume'

Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #27 on: February 28, 2022, 03:17:17 pm »

It didn't work.  ::)

My '(Various Artists)' folder is now gone.

Is still on disk but not on the Library anymore...



Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #28 on: February 28, 2022, 03:39:37 pm »

...
Then I think this should be the correct option to use as my data volume in Linux is called '/media/joaquim/New Volume'
...

Actually it should be '/media/joaquim/New Volume/' (missed a '/' at the end)

Nevertheless, after applying this operation to my entire Popular folder, all its content is gone.
Moreover, after I closed and reopen MC I have again the blank screen.

There is something very wrong with this Linux version and if I can't use it then I would like my money back.

After this text everything becomes blank.
Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2554
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #29 on: February 28, 2022, 08:10:11 pm »

Two quick notes:

1. You need to be using the "Update database" mode of the Rename, Move and Copy tool so you aren't actually moving your files around, only the database references to them. That's in the dropdown in the upper left of the tool.

2. It looks like you are launching into Theater View. Check your startup options so that you launch into Standard View instead. To exit Theater View, try hitting the Esc key a few times.

Once you get into a working configuration then maybe we can help diagnose your Theater View issues. I'd also recommend just restoring the library itself, and not the settings when moving from Windows->Linux (uncheck the settings option in the restore dialog). While technically possible it's more reliable to start with the Linux defaults so you aren't applying Windows path references in the settings configuration. If your library backup also starts up into Theater View by default then this would prevent that setting from carrying over, as well.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #30 on: March 01, 2022, 02:29:09 am »

Two quick notes:

1. You need to be using the "Update database" mode of the Rename, Move and Copy tool so you aren't actually moving your files around, only the database references to them. That's in the dropdown in the upper left of the tool.

2. It looks like you are launching into Theater View. Check your startup options so that you launch into Standard View instead. To exit Theater View, try hitting the Esc key a few times.

Once you get into a working configuration then maybe we can help diagnose your Theater View issues. I'd also recommend just restoring the library itself, and not the settings when moving from Windows->Linux (uncheck the settings option in the restore dialog). While technically possible it's more reliable to start with the Linux defaults so you aren't applying Windows path references in the settings configuration. If your library backup also starts up into Theater View by default then this would prevent that setting from carrying over, as well.

Thank you.
Yes, I also think I'm in a 'blank' theater view as this was my default view in Windows and before I was using rename, move and copy tool, I landed in Theater View screen where I was able to exit to standard view where after changing some paths this happened.

Any other idea how to come out of this without reinstalling Ubuntu? Simply uninstalling mediacenter and even all settings doesn't help as after installing it again, some how it 'remembers' this blank thing.
Hitting the ESC key didn't help. I cannot leave that blank screen.


I ended up reinstalling Ubuntu for the nth time and this is what I did and it still doesn't look good although I didn't change to Theater View this time nor I won't until whatever has happening gets fixed.

This is what I did step by step.

I've restored my Library without option 'settings'. I got this 'empty' information popup. Something is wrong with the graphic interface...


Despite the 'empty' popup, the Library was imported as it always is but again this time without settings so I tried to rename, move and copy only my folder 'Various Artists' using the 'Update database...' option. The Original and New path looks fine. I didn't check the option 'convert Windows...' because the 'New' doesn't look good anymore...


After the above operation, I saw some thumbnails on my 'Various Artists' but after double clicking on it it gave an error and vanished...



I tried the same on the next folder '0-E' and the same exact thing happened...



This is the difference when I select the option 'Convert Windows File Path...'. Looks like it doesn't work...
clear:

set:



This one has also disappeared on the left pane but it is still present on the center until I double click it, where I'll get the same error again...


Now I notice that on the center pane I'm looking at Locations (D:\Musica\Popular\) but since I've renamed a few folders already to /media/joaquim/New Volume, it's logical they disappear from this 'old' location but then, where can I see them???

So, where are my renamed files and why is the database not able to see them especially after showing me the thumbnails after the renaming was done?
And what is wrong with the popups that don't show any information?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #31 on: March 01, 2022, 05:28:47 am »

Are all your media files in the New Volume folder? If not, they need to be. In fact, in this case I'd recommend renaming New Volume to something else. By following your example above with your Windows path try renaming it to Musica or something, that way you can do it like this...

Find what: D:\Musica\

Replace with: /media/joaquim/Musica/

This *should* work, assuming your music files are in the new folder location (with folder hierarchy intact, e.g. Popular, etc.). Media Center does NOT backup your media (music, video, image, etc.) files, so you'd have to do that yourself and make sure all your media is moved into the new directory before using that tool to change the paths in the library. Having read+write permissions on the folder is likely required too.

I'm going to be perfectly blunt and honest though; seeing how this has been going thus far, if this migration is becoming too overwhelming for you, maybe you might reconsider moving away from Windows. Linux isn't Windows and requires a more hands on approach and users who never used Linux before will encounter issues transitioning whereas Windows it just works and tasks are pretty easy compared to Linux. You don't have to mount drives with read+write permissions using fstab or a GUI app like Disks, you don't need to set read+write permissions on folders, etc. in Windows. You'll have to ask yourself if transitioning to Linux is worth these hassles and the learning curve involved. I honestly don't recommend users who have never used Linux or any other OS besides Windows before to just jump to a Linux distro. I'd always recommend them trying Linux on a different, old machine or in a virtual machine to get a feel for it first before committing.

Good luck though, if you decide to continue with the transition! You're probably going to need it, honestly. :P
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #32 on: March 01, 2022, 05:44:15 am »

Is all your media filters in the New Volume folder? If not, they need to be. In fact, in this case I'd recommend renaming New Volume to something else. By following your example above with your Windows path try renaming it to Musica or something, that way you can do it like this...

I'm not sure I understood the question but everything I have is in that disk that is pretty almost full. It is a separate disk that was named D: in windows but is now mounted as '/media/joaquim/New Volume'.
I've tried to rename it before but I can't. Perhaps there is another way to do it?





Find what: D:\Musica\

Replace with: /media/joaquim/Musica/

This *should* work, assuming your music files are in the new folder location (with folder hierarchy intact, e.g. Popular, etc.). Media Center does NOT backup your media (music, video, image, etc.) files, so you'd have to do that yourself and make sure all your media is moved into the new directory before using that tool to change the paths in the library.

What you mean by "make sure all your media is moved into the new directory"? I don't want to be moving my data anywhere. This is my entire goal: keep the data in the same untouched disc and just changing whatever settings on mediacenter so my Library is recognized.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #33 on: March 01, 2022, 05:47:37 am »

Hit the stop button to unmount it, then select Edit Mount Options after it's unmounted, from there you can change the mount point. Then re-mount it at the new location. You probably need to make sure the folder exists first and has read+write options, e.g. something like this from the terminal...

Code: [Select]
sudo mkdir /media/joaquim/Musica/ && sudo chmod 777 /media/joaquim/Musica/
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #34 on: March 01, 2022, 05:53:38 am »

Hit the stop button to unmount it, then select Edit Mount Options after it's unmounted, from there you can change the mount point. Then re-mount it at the new location. You probably need to make sure the folder exists first and has read+write options, e.g. something like this from the terminal...

Code: [Select]
sudo mkdir /media/joaquim/Musica/ && sudo chmod 777 /media/joaquim/Musica/

I'm sorry but I have never done this before. where exactly should I write the new name "Musica" or is it "/media/joaquim/Musica/"?

Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #35 on: March 01, 2022, 06:14:14 am »

Actually, since you probably have a Musica folder in the root and to avoid a Musica/Musica directory kind of thing, substitute Musica with another term, like Multimedia or Media or whatever you want as long as it's a single word with no spaces to avoid another potential annoyance.

1) Run this command in a terminal (if you use a different word than Multimedia here, substitute it):

Code: [Select]
sudo mkdir /media/joaquim/Multimedia/ && sudo chmod 777 /media/joaquim/Multimedia/
2) Unmount the disk in the Disks app.

3) In Edit Mount Options uncheck User Session Defaults, set Mount Point to the following (again, change the word Multimedia if you used a different word here)...

Code: [Select]
/media/joaquim/Multimedia/
4) Select OK and it'll ask for your password. Once back in the Disks app, select the partition and where the stop (unmount) button was, there's a play (mount) button. Press it and input your password when it prompts, if set correctly your disk should mount at the new location.

This is the next part in Media Center, in the Rename, Move and Copy tool.

1) Import a library backup (if you haven't already). I would actually suggest starting fresh and clearing your current library then re-importing another library backup to start this process over. Make sure you select all your files then select Rename, Move and Copy (or press F6 to open the tool). Of course like above, if you used a different word than Multimedia, substitute it...

Find what: D:\

Replace with: /media/joaquim/Multimedia/

Now, if you've decided not to start fresh and try to modify your existing (potentially mixed up) library that has some paths changed to the New Folder location you'll have to use it a second time...

Find what: /media/joaquim/New Volume/

Replace with: /media/joaquim/Multimedia/

See if that gets you further along.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #36 on: March 01, 2022, 06:30:31 am »

OK. First part is done and well done:



About the 'Import a library backup' are you talking about the Import option or Restore? I chose the Restore...



and landed here...


"Make sure you select all your files" - how?
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #37 on: March 01, 2022, 07:49:23 am »

I moved on and there is definitely some progress.

I selected 'Albuns' on the left pane as these should represent all my CD's after all and then select on via the menu and applied the renaming as you suggested.


But inside my Categories like 'Classical' or Popular, I have still issues and some work to be done, but how and what?
'Classical' is empty but it still refers to 'D:\Musica\Classica\'... I would expect to refer now to '/media/joaquim/Multimedia/Musica/Classica'



Popular is showing only these strange entries but also it still refers to D:\Musica\Popular\...


There is also this thing I do not understand and it could be or not causing some issues as well.
How come my mounting point looks good as it says 'media/joaquim/Multimedia' but if I open 'Discs' and go to other locations, I see this disc still as 'New Volume'?

Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #38 on: March 01, 2022, 08:05:36 am »

I'm beginning to remember stuff I did several years ago that I wished to avoid doing again but I think I'm screwed.
Take this example...
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #39 on: March 01, 2022, 08:29:48 am »

All is coming back to me now. It turns out that fortunately MC is intuitive so I got pretty much all filters working now.
Except this one where I would like not to split the albuns in these 4 groups but can't figure it out where I did that...

Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #40 on: March 01, 2022, 10:06:05 am »

I have smaller issues to fix now, related with missing Thumbnails.

How do I fix this?


Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #41 on: March 01, 2022, 11:17:07 am »

Besides the issue above which I cannot fix, I have one other that is far more serious.
My DAC Topping D10 Balanced is not recognized!

Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2554
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #42 on: March 01, 2022, 11:25:19 am »

All is coming back to me now. It turns out that fortunately MC is intuitive so I got pretty much all filters working now.
Except this one where I would like not to split the albuns in these 4 groups but can't figure it out where I did that...



In that dialog, Edit>uncheck Grouping checkbox

I have smaller issues to fix now, related with missing Thumbnails.

How do I fix this?




So right now you don't have ownership of your media directories. This can be a little complicated for new users especially as you are trying to fit a square peg (NTFS) into a round hole (Linux).

NTFS doesn't support UNIX permissions (well, it actually does but it will break compatibility with Windows if you want to use the drive on a Windows machine again, so not recommended), so you basically need to change ownership of the entire drive when you mount it.

There's a hard way to do this by editing fstab but I believe that ntfs-3g will inherit the permissions of the mount directory. So unmount your drive and then run `sudo chown joaquim:joaquim /media/joaquim/Multimedia/` and then remount the drive.

Besides the issue above which I cannot fix, I have one other that is far more serious.
My DAC Topping D10 Balanced is not recognized!



I see it listed there with at least three different output choices.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #43 on: March 01, 2022, 11:40:03 am »

Yep, the preferred audio output for your DAC would be hw:CARD=Balanced.DEV=0 [ALSA]D10 Balanced. .... output, which I added a red arrow by in an edited screenshot.

Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #44 on: March 01, 2022, 11:42:55 am »

In that dialog, Edit>uncheck Grouping checkbox

For some reason in Theater View the albums are not grouped so I did nothing,  :)

So right now you don't have ownership of your media directories. This can be a little complicated for new users especially as you are trying to fit a square peg (NTFS) into a round hole (Linux).

NTFS doesn't support UNIX permissions (well, it actually does but it will break compatibility with Windows if you want to use the drive on a Windows machine again, so not recommended), so you basically need to change ownership of the entire drive when you mount it.

There's a hard way to do this by editing fstab but I believe that ntfs-3g will inherit the permissions of the mount directory. So unmount your drive and then run `sudo chown joaquim:joaquim /media/joaquim/Multimedia/` and then remount the drive.

I did that but still the owner is root. I also noticed the menu Take Ownership is grayed.

I'm ready for the hard way if that's the only option left...

I see it listed there with at least three different output choices.

Yep. I don't wear glasses although I really should...
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #45 on: March 01, 2022, 11:44:20 am »

For some reason in Theater View the albums are not grouped so I did nothing,  :)

I did that but still the owner is root. I also noticed the menu Take Ownership is grayed.


Yep. I don't wear glasses although I really should...

That's the one I chose indeed!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7354
  • The color of Spring...
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #46 on: March 01, 2022, 11:46:18 am »

Can't recall if ntfs-3g is installed by default in Ubuntu, hopefully it is. You can make sure by opening a terminal and using the following command...

Code: [Select]
sudo apt install ntfs-3g
From there you can force the use of ntfs-3g by first unmounting the drive (like I described above) and back in Edit Mount Options edit the bottom Filesystem type field from auto to ntfs-3g and press OK. Before mounting the drive again in the terminal for good luck you can try using the command Bryan posted above...

Code: [Select]
sudo chown joaquim:joaquim /media/joaquim/Multimedia/
Then mount the drive and see what happens.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #47 on: March 01, 2022, 11:53:01 am »

Didn't work either. Owner is still root.

Logged

BryanC

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2554
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #48 on: March 01, 2022, 12:08:58 pm »

In the mount options (next to nosuid,nodev, etc), add "uid=joaquim,gid=joaquim,dmask=022,fmask=133" and then remount.
Logged

cochinada

  • World Citizen
  • ***
  • Posts: 213
Re: Conversion from Windows to Linux "Debian 10 buster"
« Reply #49 on: March 01, 2022, 12:17:13 pm »

In the mount options (next to nosuid,nodev, etc), add "rw,uid=joaquim,gid=joaquim,dmask=022,fmask=133" and then remount.

Better but not there yet. MC still fails to rebuild the thumbnail.

Could it be because Group is still Root although owner is Me?


Logged
Pages: [1] 2   Go Up