Jump to content

My Emby experience grew, and then I met “Forbidden”


Go to solution Solved by GreyT,

Recommended Posts

Posted

After a few hickups the usefulness of Emby is clear. Then I experienced that a wideo interview ( saved as .mp4) I had somehow landed on my mac,  stopped after short playback. It plays well on the mac using quicktime,

I looked into emby settings, and have likely misunderstood something, because now l get this message on the #creen:

IMG_0916.thumb.jpeg.de33a9b3934f06a4be4f872a90eddeca.jpeg

so how do I proceed

GreyT

Happy2Play
Posted

What did you change on Emby Network page?  

But may have to shutdown Emby and edit your system.xml or even delete it and step through setup wizard again.

 

Posted

I dont remember changin anything special, it was working perfect. The only thing was that a video interview saved from youtube as .mp4 only would playsay one minute then pause/freeze.

I know I looked into the Synology settings for any option to improve the situation...and it is my hunch I did something, but know of no way to "undo" that!

in the end I un-installed emby from the synology NAS and the when I wanted to start from fresh, installed it again. The error messsage persisted.

I am at a loss here, since the action is on the NAS, not on my Mac.... I can still access all the videofiles on the NAS in the normal find and play way, but the elegance of Emby is truely missed.

ANY help will be appreciated.

GreyT

Happy2Play
Posted

Uninstall does not remove previous configs on Synology that I am aware of and has to be done manually.  

Isn't that correct @FrostByte@Carlo

Posted
Quote

in the end I un-installed emby from the synology NAS and the when I wanted to start from fresh, installed it again. The error messsage persisted.

if you want to make a fresh start, then you'll need to delete the server data folder:

Emby Server Data Folder

Please let us know if this helps. Thanks.

Posted
On 10/28/2024 at 11:56 AM, GreyT said:

I dont remember changin anything special, it was working perfect. The only thing was that a video interview saved from youtube as .mp4 only would playsay one minute then pause/freeze.

I know I looked into the Synology settings for any option to improve the situation...and it is my hunch I did something, but know of no way to "undo" that!

in the end I un-installed emby from the synology NAS and the when I wanted to start from fresh, installed it again. The error messsage persisted.

I am at a loss here, since the action is on the NAS, not on my Mac.... I can still access all the videofiles on the NAS in the normal find and play way, but the elegance of Emby is truely missed.

ANY help will be appreciated.

GreyT

How did you make out?

You can find everything you need here:

 

  • Solution
Posted

Thank you for your suggestion, but to try that out, doing "SSH into Synology..." is too long a stretch for my mind to wrap around. Metaforicly I see it as fixing my car engine while running alongside it, on the highway... I prefer to to such major adjustments in a workshop.🙃

So I have two other options, as I see it:

1. Make a copy of ALL data on the NAS, and noting ALL settings, then reset the NAS, set it up as before and restore ALL data... and then install Emby!!! Truly aHUGE job

2. Try a solution that resides on my Mac and works perfect with the NAS

I am looking into that, evaluating 'Infuse', and it looks promising... I find Emby a useful, userfriendly option, but for me, in my situation I will not use it 🤓

GreyT

Posted

@GreyTwhy not just use SSH to delete the folder and make a fresh start? Can you give it another shot?

Posted

Thanks for your optimism, but I am Senior (80), and that factor makes the SSH look like a kamikaze mission to me, so I’ll abstain🤠

Posted

It's always a good idea to back up things!
I agree with Luke and would not reset the NAS if the folders could be removed to allow a clean install.

I wrote a script to run in task scheduler that will remove the Emby files and folders, but I'm uncomfortable releasing it. It might work perfectly at present but there's no way to know if it would still be safe to use a year from now.

I've got a much safer and more useful method we can do.  I'll put that together and test it a few times. This will do something similar by creating a "bind mount" of the folders.  Not a copy but a second location on disk that the files and folders will be part of. You'll be able to see it and delete it right from the web GUI using file station.

Carlo

 

  • Thanks 1
Posted

Wauw…”The Spirit is moving”…

Despite my ageing I still love to learn, so I am eager to see what you come up with🥸

GreyT

  • Thanks 1
Posted

Sorry, Windows rebooted after an update. It will normally open the same tabs in a browser you had open. It didn't, so I had to track it back down.

Make sure Emby Server isn't running.

Open Control Panel
Create a new drive share called APPSYS  (all capps)
Open Task Scheduler
Create a Triggered Task...User-defined script to run at Boot-up
Name: Mount App Folders
User: root
Event: Boot-up
Enabled
Click OK
In the user-defined script box enter this

Quote

mkdir /volume1/APPSYS/appconf
mkdir /volume1/APPSYS/appdata
mkdir /volume1/APPSYS/apphome
mkdir /volume1/APPSYS/appstore
mkdir /volume1/APPSYS/apptemp
mount --bind /volume1/@appconf /volume1/APPSYS/appconf
mount --bind /volume1/@appdata /volume1/APPSYS/appdata
mount --bind /volume1/@apphome /volume1/APPSYS/apphome
mount --bind /volume1/@appstore /volume1/APPSYS/appstore
mount --bind /volume1/@apptemp /volume1/APPSYS/apptemp

Save it
Create another user-defined script same as above with these changes.
Name: Unmount App Folders
user-defined script box enter this

Quote

umount /volume1/APPSYS/appconf
umount /volume1/APPSYS/appdata
umount /volume1/APPSYS/apphome
umount /volume1/APPSYS/appstore
umount /volume1/APPSYS/apptemp

Were going to use both of these so we created the tasks enabled. We really don't want this to happen at boot-up so after using them you can disable the tasks.

Manually run the task Mount App Folders
Open the APPSYS share in File Station and you should now see 5 subdirectories: appconf, appdata, apphome, appstore, apptemp

Open each of those 5 folders one by one. Delete any folder starting with "Emby"  You may only find an Emby folder in the appdata folder.
appdata is likely the only one that matters for Emby but it's nice to have access to these system 

After you finished deleting any Emby Folders go back to Task Scheduler and run Unmount App Folders job.
Now disable both Mount App Folders and Unmount App Folders

Reinstall Emby Server

 

Task Scheduler is pretty simple to use.
If you like check out this Youtube video which covers it pretty well in general.
ttps://www.youtube.com/watch?v=7vXDUFbNd50

 

Posted

OK, so I entered this new area today... and after typing the lines you showed, I ran the first script, several times, but all came out with all 5 folders were empty.

I even rebooted NAS just in case... with and without the checkmark in place (only for the first Triggered task.

So what did I miss? Maybe somthing you know by routine, but I do not!

You mention Emby should not be running! And later then mention that it should be re-installed! ... Is "not running" code for uninstalled 🙂

GreyT

Skærmbillede 2024-11-07 kl. 14.22.05.jpeg

Skærmbillede 2024-11-07 kl. 14.31.12.png

Skærmbillede 2024-11-07 kl. 14.31.03.png

Posted

Realise that my screenshots came out way to dominat in size. Next time I'll resize them before posting

GreyT

Posted

Run the Mount job. Then go through this list of permissions.

Some pages will have a drop down list box to select users or groups.  Make sure to do both.

In control panel, users menu. Make sure your username is part of the Administrator Group.
In the group settings click the permission tab and make sure the admin group has access to APPSYS
Make sure you have clicked the read/write boxes for the user or group.
Click on your username to open user settings.  Go to permissions and enable the box for read/write for APPSYS.
Save changes to users/groups.

Control Panel/Shared Folders.
Highlight/single click APPSYS
Click edit button up top.
Disable Restrict access to administrators only
Click permissions tab and give read/write access to your users and admin groups. groups (dropdown)
Check advanced permissions to make sure nothing is enabled on this page.
Save this button.

Open File Station
select APPSYS
Check to see if any folders are present now

If not one more than to try.
RIGHT CLICK the mouse on APPSYS in the left column
Select Properties
Advanced Permissions all blank
Go to Permissions tab.  Be careful on this page
Select administrator, then click edit button
Make sure all the boxes are checked for reads & writes but DO NOT enable Change permissions or Take Ownership options (top 2)
Select Done
Click the Create Button
Select your username in the drop down.
Type is Allow
Apply to: All
Skip the top 2 options (Change permissions & Take Ownership)
Enable all Read & Write options
Click Done to save

See if folders show up now

Posted

Strange... but the folders on APPSYS are still empty. 

I'll let this issue rest for now, and after the weekend deside what I prefer to do.

Thanks for your detailed 'prescription'

GreyT

Posted

Yes, very strange. It would have been easier to just SSH in and ran a couple commands. :)

Posted

Hang in there @GreyTplease let us know how this goes !

Posted

I found some suitable TB-disks in a drawer, and tomorrow I will get a small Synology enclosure for those, and set this extra NAS up solely for the test of Emby. Then I will explore the possibilities, and if a crash happens, possibly caued by my own eagerness then my much larger NAS will not be affected.

"I'll be back..."

🥸

GreyT

Posted
18 hours ago, GreyT said:

I found some suitable TB-disks in a drawer, and tomorrow I will get a small Synology enclosure for those, and set this extra NAS up solely for the test of Emby. Then I will explore the possibilities, and if a crash happens, possibly caued by my own eagerness then my much larger NAS will not be affected.

"I'll be back..."

🥸

GreyT

Hey before you do all that. Let's check 2 things really quick.

Open Task Scheduler, select the mount task we previously created, click Action button, then select View Results.
Copy/Past the task run results here
Then edit the mount task, switch to the tab with the task commands in it. 
Copy/Past the script content here.

That should show us if/where an error(s) occurred during the run
I can take a look at the entered script as well to see if there was any typo it didn't like as well

If nothing obvious in this, there is still one addition thing we can do to help you reinstall Emby Server.

Posted (edited)

Not possible, I am way ahead now.

I made copy of all data on my main NAS (using Chronosync, which is rock solid) to a rather large RAID connected with TB3 to my Mac Studio. Once that was done, and secured, I returned the NAS to its prenatal state, admiring the Biblical warning from Synology, that IF I indeed chose this path ALL MY DATA on the NAS would be ABSOLUTELY and TOTALLY lost and nonretrivable :-).

After some waiting time the NAS was up and running and I used same Chronosync job to put the data back in. Rather simple you just reverse the direction of flow.

Today I set up the new small DS124 NAS wit a 4TB disk I already had, and as I type... Chronosync is sending the content of the 'Video shared folder' from the big NAS to the new smaller one, which will only be used for Emby. Should someting peculiar happen again !!! I can easily reset that box without any influence on my daily main NAS work.

Once the small NAS is up and running the content, I will likely come back with suggestions, as a user...🤖

GreyT

Edited by GreyT
Posted

Sounds great. Love the "take the bull by the horns" approach!
 

Posted

Well, among my videos there are also Fawlty Towers, ripped long ago from 2 BlueRay disks 🤣, and these came up after my speedy entrance into the Emby Universe like this:fawltygoof.jpeg.33f1d37b3251d288eae5cdcb1f037ce5.jpeg

so After some different "good ideas" I finally did RTM:

 

image.jpeg.99e8ea867d23bd970f9ea2164b3538ac.jpeg

And... TADAAaa... it shows like this

image.jpeg.16f793c18382873d8ec080c9ec76b820.jpeg

Well this sure calls for a Carlsberg🍻

And in line with this I am giving "Cheers" a similar treatment... takes some shuffling the files around into season folders but it works and that part is great, for my inner Nerd

GreyT

The PS: ... The Dashboard does not really call for my visual attention with its 'bleak face', it deserves a more colorful and inspiring design so users will be a bit more drawn to the fix of pitfalls (likely before they fall in, as I did several times)

Posted

You're doing good!  With a couple changes you can get some really nice looking screens.

image.png

image.png

image.png

image.png

image.png

image.png

image.png

Posted
On 11/11/2024 at 7:54 PM, GreyT said:

Not possible, I am way ahead now.

I made copy of all data on my main NAS (using Chronosync, which is rock solid) to a rather large RAID connected with TB3 to my Mac Studio. Once that was done, and secured, I returned the NAS to its prenatal state, admiring the Biblical warning from Synology, that IF I indeed chose this path ALL MY DATA on the NAS would be ABSOLUTELY and TOTALLY lost and nonretrivable :-).

After some waiting time the NAS was up and running and I used same Chronosync job to put the data back in. Rather simple you just reverse the direction of flow.

Today I set up the new small DS124 NAS wit a 4TB disk I already had, and as I type... Chronosync is sending the content of the 'Video shared folder' from the big NAS to the new smaller one, which will only be used for Emby. Should someting peculiar happen again !!! I can easily reset that box without any influence on my daily main NAS work.

Once the small NAS is up and running the content, I will likely come back with suggestions, as a user...🤖

GreyT

The 'NAS' situation as of today is that I have 'promoted' EMBY to my DS920+ working as my preferred movie selector. It works perfect for my purpose and during the testing on the DS124 I have gathered valueable knowledge on the finer details of Emby. I am VERY satisfied now.

The DS124 is now being used as test area for new ideas / other software for playing video/media... knowing that any mishaps here will not affect my 'standards' on the DS920+ 

GreyT

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...