45Drives / cockpit-file-sharing

A Cockpit plugin to easily manage samba and NFS file sharing.
GNU General Public License v3.0
556 stars 30 forks source link

Not usable remotely via bridge - nfs / smb not detected #23

Closed fahrradflucht closed 2 years ago

fahrradflucht commented 2 years ago

When using a remote host to ssh bridge into a cockpit host with this plugin installed, both the Samba and the NFS tabs show Samba is not installed. Please install... and Failed to load NFS services. Is NFS installed or enabled? respectively.

When starting cockpit on the host itself and using it directly, everything works as expected.

I tested this with:

sirweazel commented 2 years ago

I wasn't sure where to post this. I installed from the fedora 35 repos running fedora server 35, and i see this same issue. If i run cockpit directly then FileSharing loads. If i am connecting to cockpit from another instance, then i also get similar results. Let me know what other info you may need, or if you think i need to open up the bug somewhere in fedora bug tracker?

Samba must be configured to include registry. Add include = registry to the [global] section of /etc/samba/smb.conf

Loading Cockpit from another host, then connecting over to the other cockpit host: image

Loading Cockpit directly: image

joshuaboud commented 2 years ago

I believe this is fixed since the v3.x releases