OSMC backup - cant change path

Hello,
I have a problem with changing the path in My OSMC - Updates - Backups on Vero 4k (it works fine on my other 4kplus).
Desired path is linked to a specific folder location (smb://192.168.1.220/backup/Kodi/Vero 4k) on my NAS, however when I choose location entry method, I get following:

BROWSED: click to browse and from here I cant go up a folder level on my NAS - hence Ive stuck with incorrect path
TYPED: here Ive typed specific path to my nas, however when I run manual backup, I get error msg sayin: Backup failed to copy tar file.

Any help?

See log below
2020-02-01 23:14:44.595 T:3161461472 WARNING: CPythonInvoker(13): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
2020-02-01 23:14:45.632 T:3878662880 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://192.168.1.220/backup/Kodi/Vero%204k/temp_write_test
2020-02-01 23:14:45.986 T:3878662880 ERROR: SMBFile->Open: Unable to open file : ‘smb://192.168.1.220/backup/Kodi/Vero%204k/temp_write_test’
unix_err:‘11’ error : ‘File exists’
2020-02-01 23:14:46.345 T:3878662880 ERROR: Delete - Error( File exists )
2020-02-01 23:14:47.075 T:3878662880 ERROR: SMBDirectory->GetDirectory: Unable to open directory : ‘smb://192.168.1.220/backup/Kodi/Vero%204k’
unix_err:‘11’ error : ‘File exists’
2020-02-01 23:14:47.076 T:3878662880 ERROR: GetDirectory - Error getting smb://192.168.1.220/backup/Kodi/Vero 4k
2020-02-01 23:16:19.536 T:4064305152 NOTICE: Samba is idle. Closing the remaining connections
2020-02-01 23:17:29.468 T:3878662880 WARNING: SMBFile::OpenForWrite() called with overwriting enabled! - smb://192.168.1.220/backup/Kodi/Vero%204k/OSMCBACKUP_2020_02_01_23_14_47.tar.gz
2020-02-01 23:17:29.856 T:3878662880 ERROR: SMBFile->Open: Unable to open file : ‘smb://192.168.1.220/backup/Kodi/Vero%204k/OSMCBACKUP_2020_02_01_23_14_47.tar.gz’
unix_err:‘11’ error : ‘File exists’
2020-02-01 23:17:59.012 T:3211780832 WARNING: CPythonInvoker(14): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
2020-02-01 23:19:01.750 T:4064305152 NOTICE: Samba is idle. Closing the remaining connections
2020-02-01 23:23:23.783 T:4064305152 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //Movies/1
2020-02-01 23:24:07.710 T:3945788128 WARNING: CPythonInvoker(15): Script invoked without an addon. Adding all addon modules installed to python path as fallback. This behaviour will be removed in future version.
2020-02-01 23:24:08.135 T:3878662880 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //temp_write_test
2020-02-01 23:24:17.806 T:3878662880 WARNING: FileNFS::OpenForWrite() called with overwriting enabled! - //OSMCBACKUP_2020_02_01_23_24_08.tar.gz

Hi,

Did you open a support ticket about this? I seem to recall a ticket regarding this being opened, but haven’t had a chance to respond just yet.

What is the make and model of the NAS? Have you adjusted the SMB supported version under Settings -> Services and have you also verified permissions for the path?

Sam

Hi Sam,

Yes, I did open a support ticket.

Regarding issue, Im using synology NAS DS216j.
Ive verified folder permissions (as its working from other Vero 4k which I have on the same network).
This issue showed up few months ago, before it was working flawlessly.

My SMB current settings (never changed any of these settings before):

Can you try set SMB3 in Kodi?

SMB3 already set in Kodi.

But there are 2 issues.
ISSUE 1:
When I choose Browsed, Im pointed to my NAS, however I cant go up a level in folder structure (very strange behaviour)

ISSUE 2:
When I choose Typed, I will manually type a path, but then I get error msg that backup failed to copy file.

Can you access the share from Kodi directly?
Can you copy a file there using the File Manager?

Yes and Yes.

Ive added backup folder as a source in File manager and now Typed method is working and file is backed up successfully.

However, when I choose Browsed method, that still wont let me choose the right folder. Might be a software glitch?

You could try making a ~/.kodi/userdata/mediasources.xml file containing…

<mediasources>
    <network>
        <location id="0">smb://192.168.1.220/</location>
    </network>
</mediasources>

and then check ~/.kodi/userdata/passwords.xml and make sure it has the correct login information for…

<passwords>
	<path>
        <from pathversion="1">smb://192.168.1.220/</from>
        <to pathversion="1">smb://username:password@192.168.1.220</to>
    </path>
</passwords>

Rebooting to take effect. I had issues with setting the artist information folder to a network location without this. Alternatively you could just make a system mount for your backup location and point to that instead.

1 Like

Thanks @darwindesign , I did it, but still no luck. Issue persists

Any other ideas to try?

Browsing still wasn’t working or just the backup still failing? That change should have given you a new entry for your NAS in the file selection menu that allows browsing. Did that not happen?

You could try removing the space from the “smb://192.168.1.220/backup/Kodi/Vero%204k/” folder as spaces can complicate things about when and how they are dealt with. Other than that I would just make a system mount for the backup location and backup to that folder.

@darwindesign

Browsing still wasn’t working or just the backup still failing? That change should have given you a new entry for your NAS in the file selection menu that allows browsing. Did that not happen?

Browsing still wasnt working. I dont think removing the space in the folders name will help, as it works on other Vero 4k. The thing is I cant go up in a folder structure to see the root structure, see pics below

Clicking on Click to Browse will open following window:

In this window clicking on “…” doesnt work. It wont let me go up a level.

Now you use NFS but earlier you wrote about SMB?
What are the NFS shares on your NAS?

@fzinken It is linked to nfs share and goal is to link it to smb share.

Its solved now and works great.
Ive disabled nfs on my NAS temporarely and then I was able to change the path on Kodi. Easy fix.

Thanks guys for your help!