Jump to content

Tip for viewing/editing your Emby files


andcbii

Recommended Posts

andcbii

I was struggling to figure out how to view and edit the emby files (config files and logs) that were saved on the NAS. I have very little experience with the CLI and though this info would be helpful to other who don't like to use the CLI. If you don't care about editing the emby files you can simply download WinSCP.

 

Step 1: Enable SSH on your NAS

Step 2: SSH into your NAS with root access

 

This is the tricky part.

Step 3: We are going to edit the sudo config on your NAS. we are going to set it so you don't have type in your password twice, which inturn lets an app call WinSCP get root access to your nas. I followed these instructions here.

Here what it looked like when i did it. 

 

Picture one showing root acces

s579eae6142b2a_Capture1.png

 

Type 

vi /etc/sudoers

Should look like this:

579eb08fc83ac_Capture2.png

NOTE: My file looks different that yours because I've already edited it. This is what it should look like when you are done!

 

Now you have the file open, but you need to turn on editing. Type 

i

At this point you should be able to use your arrow keys to scroll through the file. arrow down and switch:

%administrators ALL=(ALL) ALL

to:

#%administrators ALL=(ALL) ALL

Arrow down again and type:

%administrators ALL=NOPASSWD: ALL

Hit ESC to exit edit mode (insert mode):

ESC 

Now save:

:w !sudo tee %

Now Exit VI

ZZ 

Again these instructions are borrowed from here

 

You can verify this worked by typing in:

vi /etc/sudoers

again to view the file and quit by typing:

ZZ

Step 4: download WinSCP from here

Step 5: Open WinSCP and enter your NAS settings like this:

579eb4224b33f_Capture3.png

 

Step 6: Click "Advanced" and set Shell to "sudo su -" and click 'OK"

Step 7: Enter your password and login. 

 

You now have a nice GUI to view all the cig files and you copy and paste files directly to your NAS. 

  • Like 1
Link to comment
Share on other sites

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...