1. No user installed addons are supported, python or otherwise.
2. No, they really are not supported.
3. They are not coming back
4. Read from 1. again

Any mention of illegal streaming sites, addons or any pirated material will not be tolerated. This is not democracy and any offenders will be banned and posts deleted immediately without warning.

Other than that, we hope you enjoy MrMC so far and we welcome any input and feedback you might have.

Team MrMC.

Problems with protecting profiles and mysql

Report any issues you might have in here
Post Reply
ulfthomas
Posts: 7
Joined: 04 Feb 2019, 08:16

Problems with protecting profiles and mysql

Post by ulfthomas »

Hi.

Running latest 12.4 (on an Ipad and Iphone xr) with latest MrMC (both lite and touch) I get this issue:

- Install from scratch
- Enable Mysql server (one database)

Data and files shows up correctly

- Then enable any of the password policies for the master user
- All data disappears from the device (home screen empty, no data stores)

Tried restarting, disable/enable mysql with no effect

- Remove password policy for master user and the data is again presented

Any insight into this?

//UlfThomas
User avatar
amet
Team MrMC
Posts: 3787
Joined: 26 Oct 2015, 16:59
Location: Dubai/Novi Sad

Re: Problems with protecting profiles and mysql

Post by amet »

I don't understand, are you creating another profile?

If you are trying to add the profile, you need to link the profile again to the mysql database/user

lets see the debuglog while this is going one please.
ulfthomas
Posts: 7
Joined: 04 Feb 2019, 08:16

Re: Problems with protecting profiles and mysql

Post by ulfthomas »

As stated:

- Installing MrMC from scratch
- Enable mysql

Everything works as expected.

If I then go into settings, profiles and set a pssword or pin on the master user (without locking anything) the data disappears.

Removing the password or pin resolves the problem.
ulfthomas
Posts: 7
Joined: 04 Feb 2019, 08:16

Re: Problems with protecting profiles and mysql

Post by ulfthomas »

Please find the debug logs attached.

The logs are identical both with or without a pass code on the master user, except for the last few lines:

Default (without a pass code on the master user)

Code: Select all

16:42:21.897 T:6131560448   DEBUG: CGUIWindowHome::SetupServices() - serverType(mrmc) ,  serverUUID(mrmc)
16:42:22.060 T:6131560448   DEBUG: CMultiPathDirectory::GetDirectory(multipath://multipath%3a%2f%2fspecial%253a%252f%252fprofile%252fplaylists%252fmusic%2fspecial%253a%252f%252fprofile%252fplaylists%252fmixed%2f/multipath%3a%2f%2fspecial%253a%252f%252fprofile%252fplaylists%252fvideo%2fspecial%253a%252f%252fprofile%252fplaylists%252fmixed%2f/)
16:42:22.060 T:6131560448   DEBUG: Getting Directory (multipath://special%3a%2f%2fprofile%2fplaylists%2fmusic/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:42:22.061 T:6131560448   DEBUG: CMultiPathDirectory::GetDirectory(multipath://special%3a%2f%2fprofile%2fplaylists%2fmusic/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:42:22.061 T:6131560448   DEBUG: Getting Directory (special://profile/playlists/music)
16:42:22.061 T:6131560448   DEBUG: Getting Directory (special://profile/playlists/mixed)
16:42:22.061 T:6131560448   DEBUG: CMultiPathDirectory::MergeItems, items = 0
16:42:22.061 T:6131560448   DEBUG: Getting Directory (multipath://special%3a%2f%2fprofile%2fplaylists%2fvideo/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:42:22.061 T:6131560448   DEBUG: CMultiPathDirectory::GetDirectory(multipath://special%3a%2f%2fprofile%2fplaylists%2fvideo/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:42:22.061 T:6131560448   DEBUG: Getting Directory (special://profile/playlists/video)
16:42:22.062 T:6131560448   DEBUG: Getting Directory (special://profile/playlists/mixed)
16:42:22.062 T:6131560448   DEBUG: CMultiPathDirectory::MergeItems, items = 0
16:42:22.062 T:6131560448   DEBUG: Previous line repeats 1 times.
16:42:22.062 T:6131560448   DEBUG: CGUIWindowHome::SetupStaticHomeButtons()
16:42:22.062 T:6135001088   DEBUG: CHomeShelfJob::UpdateMusic() - Running HomeShelf screen update
16:42:22.113 T:6135001088   DEBUG: CHomeShelfJob::UpdateVideos() - Running HomeShelf screen update
16:42:22.694 T:6135001088   DEBUG: SECTION:LoadDLL(libnfs.framework/libnfs)
16:42:22.696 T:6135001088   DEBUG: Loading: /var/containers/Bundle/Application/07517ABA-B239-4B43-9AC4-CAAA8CC861CD/MrMC.app/Frameworks/libnfs.framework/libnfs
16:42:22.825 T:6135001088   DEBUG: NFS: Context for 192.168.1.15/Multimedia not open - get a new context.
16:42:22.938 T:6135001088   DEBUG: NFS: Connected to server 192.168.1.15 and export /Multimedia
16:42:22.938 T:6135001088   DEBUG: NFS: chunks: r/w 32768/32768
Without a pass code it is able to connect to my NAS box.

With pass code on the master user:

Code: Select all

16:44:39.832 T:6127120384   DEBUG: CGUIWindowHome::SetupServices() - serverType(mrmc) ,  serverUUID(mrmc)
16:44:39.998 T:6127120384   DEBUG: CMultiPathDirectory::GetDirectory(multipath://multipath%3a%2f%2fspecial%253a%252f%252fprofile%252fplaylists%252fmusic%2fspecial%253a%252f%252fprofile%252fplaylists%252fmixed%2f/multipath%3a%2f%2fspecial%253a%252f%252fprofile%252fplaylists%252fvideo%2fspecial%253a%252f%252fprofile%252fplaylists%252fmixed%2f/)
16:44:39.998 T:6127120384   DEBUG: Getting Directory (multipath://special%3a%2f%2fprofile%2fplaylists%2fmusic/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:44:39.998 T:6127120384   DEBUG: CMultiPathDirectory::GetDirectory(multipath://special%3a%2f%2fprofile%2fplaylists%2fmusic/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:44:39.998 T:6127120384   DEBUG: Getting Directory (special://profile/playlists/music)
16:44:39.999 T:6127120384   DEBUG: Getting Directory (special://profile/playlists/mixed)
16:44:39.999 T:6127120384   DEBUG: CMultiPathDirectory::MergeItems, items = 0
16:44:39.999 T:6127120384   DEBUG: Getting Directory (multipath://special%3a%2f%2fprofile%2fplaylists%2fvideo/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:44:39.999 T:6127120384   DEBUG: CMultiPathDirectory::GetDirectory(multipath://special%3a%2f%2fprofile%2fplaylists%2fvideo/special%3a%2f%2fprofile%2fplaylists%2fmixed/)
16:44:39.999 T:6127120384   DEBUG: Getting Directory (special://profile/playlists/video)
16:44:39.999 T:6127120384   DEBUG: Getting Directory (special://profile/playlists/mixed)
16:44:39.999 T:6127120384   DEBUG: CMultiPathDirectory::MergeItems, items = 0
16:44:40.000 T:6127120384   DEBUG: Previous line repeats 1 times.
16:44:40.000 T:6127120384   DEBUG: CGUIWindowHome::SetupStaticHomeButtons()
16:44:40.000 T:6130561024   DEBUG: CHomeShelfJob::UpdateMusic() - Running HomeShelf screen update
16:44:40.050 T:6130561024   DEBUG: CHomeShelfJob::UpdateVideos() - Running HomeShelf screen update
16:44:40.267 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Movies/<MOVIE NAME>/]
16:44:40.268 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Movies/<MOVIE NAME>/]
16:44:40.268 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Movies/<MOVIE NAME>/]
16:44:40.268 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Movies/<MOVIE NAME>/]
16:44:40.580 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/]
16:44:40.580 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 05/]
16:44:40.581 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 2/]
16:44:40.582 T:6130561024   DEBUG: Previous line repeats 1 times.
16:44:40.582 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 3/]
16:44:40.583 T:6130561024   DEBUG: Previous line repeats 1 times.
16:44:40.583 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 1/]
16:44:40.584 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 2007/]
16:44:40.584 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/>TV SHOW>/Season 1/]
16:44:40.585 T:6130561024   DEBUG: CUtil::GetMatchingSource: no matching source found for [nfs://192.168.1.15/Multimedia/Series/<TV SHOW>/Season 3/]
16:44:40.586 T:6130561024   DEBUG: Previous line repeats 1 times.
Here it is not able to establish a connection to the NAS box. Only difference from the previous log is that I have set a pass code on the master user, and then restarted MrMC.
Post Reply