Posts: 96
Joined: Feb 2018
Reputation:
0
it a nutshell i set the root password because Ubuntu doesn't have one set by default. the user account details you need for kodi are the same user details you log into the server normally with i.e if you log in to the server as Bob with a password of itsmebob there the details you need for kodi, the mergerfs just requires you to make directorys i like to mount everything in /mnt the 3rd folder joinedfoldername is the combination of both drives so you can watch and add or delete anything in that 3rd folder and meregerfs wil take care of putting it on the right disks etc.
im just rushing a reply here as im on the way home if you need more help or you still not sure let me know here and I'll see what we can do to help you though it
Posts: 96
Joined: Feb 2018
Reputation:
0
i forgot to mention since i like things in /mnt o have to be root to make the directorys so once ive made them i change the ownership so my regular user account can access and modify the contents, i do this before i instruct the system to mount the disks the first time so it mounts straight to acceable folder's and i dont have to change ownership on 4tb worth of media,
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
This is what happens when I open Kodi on my laptop
Add network location
Server address ..ip address of main pc
Remote path /mnt/Video
Also tried remote path as just /Video
Put in my username
password I created from your instructions
Click OK
Unable to connect. The connection to the network etc
Would you like to add it anyway?
I chose yes to see what would happen
Nothing doing
Posts: 96
Joined: Feb 2018
Reputation:
0
just leave the remote path blank have you allowed the ssh connection in the firewall on the server and you router? it sounds like a firewall related problem
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
router
apps and gaming
single port forwarding on router
external and internal port 22
protocol both
my ip of main pc
enabled true
I will reboot to Ubuntu on main pc and check if port is open but I am pretty sure i already did that
Posts: 96
Joined: Feb 2018
Reputation:
0
it will be something really simple and insignificant might be a typo in your ssh config file if it helps i can pull mine but there is some configuration relating to my SSH jail in it as well
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
port is open on server firewall
Posts: 96
Joined: Feb 2018
Reputation:
0
have you tried connect to your sever via ssh from a terminal on another machine to see if it is working
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
This is how I disabled root login
#LoginGraceTime 2m
PermitRootLogin no
#StrictModes yes
#MaxAuthTries 6
#MaxSessions 10
commented out the second line adding no
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
I do not have this at the bottom of mine
Match Group orion
ChrootDirectory /orion/home/media
ForceCommand internal-sftp
X11Forwarding no
AllowTcpForwarding no
Posts: 96
Joined: Feb 2018
Reputation:
0
that last part is because i have a ssh jail in place so the ssh server checks the user groups of users logging in.
any users belonging to group orion get jailed whilst thouse who are not in that group get normal ssh access
Posts: 40
Joined: Jun 2019
Reputation:
0
mufc
Junior Member
Posts: 40
maybe another problem
yesterday i followed the nfs instructions and my media folders are at /srv/nfs/Video/
I changed the fstab to point to this location
I can ssh from laptop to computer
ssh://ipaddress/srv/nfs/Video shows me all the contents
if I ssh to the folder you had me make it is empty
I have been messing with these computers so much that I might have to start all over.
All I want to do is open Kodi navigate to a video file and watch it. I do not need to add or delete files. I can handle that manually.
is there any way to access /srv/nfs/Video. I tried in Kodi using ssh. No luck
Posts: 96
Joined: Feb 2018
Reputation:
0
a clean install might be a good idea and it really is as simple as navigate and watch once its up an running, you have to bind the folders to the mount point did you install megerfs