Posts by canaan

    ahhh, I am running Jarvis so that explains why I couldn't find it. I got it in the end though :)

    I was able to manually copy the directories over once I could view those hidden files.
    I had to re-install my transmission app as it wouldn't run, but when I did all of my torrents and settings were there thanks to the file copy.

    thanks so much for hearing me out and giving me tips, I never could have done it without them. ;) :D
    I will do a full backup now to make sure I keep everything and this never happens again.

    Do you recommend the LibreELEC backup or the Kodi one? I take it the LibreELEC is more comprehensive?


    The screenshots you take don't show me the folder structure!
    addons and userdata folders should be inside the .kodi folder.
    Use the built-in LibreELEC Backup/Restore function for the .tar to work not the Kodi addon, if you want to use the kodi addon it's not the same process.
    Settings->LibreELEC->System->Backup

    Most important is that inside the .tar archive there is a folder called "storage" and inside "storage" these 3 folders, ".cache",".config" and ".kodi".

    Did you try what i suggested first, copy/overwrite the folders with File manager or Samba?
    Try that starting with the ".kodi" folder and reboot, make sure you "copy" not "move, or you might loose everything.

    sorry man, i'll try and be more clear.

    First of all I didn't realise there were two backup programs, the LibreElec one and the Kodi one. I was trying to use the Kodi one. that was my bad, I'm an idiot.

    I finally got the LibreElec one working, and it downloaded my tar file, and then rebooted the Pi. but nothing seems to have changed.
    I took pics of all of the folder structure to hopefully make it clear.

    I created a tar file with 7zip called "201702030350.tar"
    - Inside that file is a folder called 'storage'
    - - Inside 'storage' is '.cache' '.kodi' and '.config'
    - - - Inside '.cache' is a bunch of folders I recovered that you can see, including bluetooth and transmission folders
    - - - Inside '.config' is some files i'm not familiar with
    - - - Inside '.kodi' are some folders including a subfolder called 'addons' and 'userdata'
    - - - - Inside 'userdata' are some other folders
    - - - - Inside 'addons' are a bunch of addons folders including transmission

    Like I said, i had LibreElec backup process this tar file and it downloaded and reset but nothing changed.

    I have tried to use Samba and the shares to manually copy the folders over, but I'm running into problems.
    Namely, I can't find .kodi in the File Manager. If I access /root/ I see /bin, /dev, /etc, /flash and so on, but no .kodi. nor in any of these subfolders. I saw what you said about "Show hidden files and directories" in Media settings. But where is Media settings? I looked in LibreELEC program settings, as well as in Kodi but didn't see it?

    I also tried to mount the EXT files in windows, but I couldn't get write access to this drive. then I also tried a linux usb boot stick, but I couldn't get that to work either.

    uuugh. I appreciate your thoughts because youre more patient than me! :s

    EDIT: I figured out where the show hidden folders/files setting was in the Kodi system preferences. I added the line you suggested to my samba.config file, and I am now copying the .kodi folder directly from my backup to the system. updates to come


    Which files exactly? did you try with only ".cache",".config" and ".kodi" folders.

    Looks like not all files were copied when you created your backup in the first place, look inside your .kodi folder.

    Yeah, I did a backup with the software to a network folder, Backup called it "201702030354"
    Inside that folder was two folders "addons" and "userdata" and a file called "xbmcbackup"
    Inside "201702030354" I copied ".cache" ".config" and ".kodi". So now it looks like this

    Then I recovered that "201702030354" folder with Backup and nothing happened. it didnt even reset :/
    Nothing was changed.

    Did I mess up the folder structure? should the cache, config and kodi folders be in a subfolder?

    man I am having some back luck. I installed the Backup app in Kodi. I compressed the file in zip to a .tar file
    then when I tell the Backup program the file path of "20170202030406.tar" and ask it to restore it says that the folder is empty, and it just says "Backup - Backup Folder Name" and shows nothing. it sounds like an error that other people have reported on but I have yet to figure out a solution.

    edit: from my testing it looks like Backup doesn't recognise either the .tar or the folder that I created.
    edit2: I made a backup with the Backup software. then I took all of the files I wanted to restore and put it inside the folder structure and tried to restore it. Didn't work, gave me an error. I'm out of ideas

    I guess I'm so new to linux that I don't get where everything is stored. perhaps you can correct me if I'm wrong.
    my SD card is 16gb. 500mb or so of it seems to be allocated to FAT32 and it contains these files that I recovered using samba in windows.

    but my install also had transmission running on it, and I wanted be sure to get a backup of all of those install files and torrents so I didn't have to re-add everything. so I got an ext reader and copied everything I saw form the 15.5gb system folder which was these files. I searched through them and there seems to be transmission config files in there.

    is that correct? if I copy the system files back on I can restore the system and my apps including transmission?

    thanks for being patient with me


    Keep those folders in a separate USB stick or other pc, reinstall LibreELEC the normal way then you should be able to transfer all files or overwrite all folders back to your fresh install using Samba or File manager.

    thanks for your help man. maybe I'm not understanding it fully, but if I copied everything as a backup, when I stick a USB in and try and copy it all back on using File Manager in Kodi, how will it overwrite system files and settings when kodi is running? won't it encounter error or crash?


    If You install a clean LE and replace entire 'userdata' folder with the one from Your 'backup' You are on Your way.

    But trust me; Use the LE built-in backup feature and/or Kodi backup add-on. That makes Your life so much easier!
    (With the add-on You can schedule backups and store on separate storage...)

    thanks, yeah I'll try that for next time but I guess I am in deeper than that now!

    what info does the userdata contain though? just settings and paths? I take it it doesn't backup apps and things like transmission? I'll be bummed if I loose all my torrents

    Long story short my Pi3 crashed, but I have a full backup of it that I copied off to my windows machine (including all the hidden files. I did just a manual copy of the whole folder structure. I didnt realise LibreELEC had a backup feature) however, when I load up Ext2FSD to copy my backup back onto the Pi3 SD card, ext2fsd doesn't recognize the 15.5GB linux partition for me to access. it says it is RAW. if I try and mount it anyway, Ext2fsd crashes. It does let me mount the 500mb FAT32 partition however, but I take it this isn't enough to restore everything.

    do I have to tell the software which filetype it is? Or is there another piece of software that will let me copy my backup back onto the SD card from windows?

    thanks for your help


    First, check LibreElec version from os.libreelec.tv addon:

    /usr/share/kodi/addons/http://os.libreelec.tv/addon.xml

    XML
    <?xml version="1.0" encoding="UTF-8"?>
    <addon id="os.libreelec.tv" version="7.0" provider-name="LibreELEC.tv">
    <requires>
    <import addon="xbmc.addon" version="12.0"/>
    </requires>
    </addon>

    Then, edit addon.xml inside the zip file and replace os.openelec.tv with os.libreelec.tv and corresponding version, within the requires section. In my example:

    Code
    <requires>
    <import addon="os.libreelec.tv" version="7.0"/>
    <import addon="xbmc.python" version="2.1.0"/>
    </requires>

    Just came here to say thanks a lot for these instructions. I had the same libreelec version as you, but for some reason my libcrypto version was 35 instead of 37. so I made the adjustment and was able to get the milhouse transmission version working.

    couldn't have done it without this post. thanks.

    I am running Transmission 2.92 (14714) from lsellens.
    I installed fine, but all of my trackers that require https will not connect.

    I have checked my port forwarding and am connectable.
    If I go to a tracker that uses https I get the error : Could not connect to Tracker.
    If I manually change the announce to just http I am able to connect right away.

    Does anyone know why this would be? Is https connecting disabled and is there a way to enable it?
    thanks.

    after hours of messing around I got it working :D as for your questions, its a Synology NAS. When I looked at the mount path on the Synology it indeed indicated that it should be /volume1/Media. I think initially I was trying to mount the subdirectory.
    not exactly sure what I did wrong, but I'll write down everything I did for anyone else (or myself later down the line).the mount code that finally worked was:

    Quote


    mount -t nfs 192.168.0.5:/volume1/Media /storage/SynologyNAS -o nolock;


    I created the /SynologyNAS file with the mkdir command and then used chmod 777 command on the folder to make sure it had the permissions set correctly.I also checked into my Synology settings, made a user called LibreELEC and gave it full permissions to the share folder. I also set the hostname in NFS rules for the share folder to 192.168.0.0/24, with the usual read/write, map all users to admin, and allow connections from non-privileged ports settings checked.then I used the 'old method' at the end of this wiki page to manually mount the share. when it finally worked, I checked and updated the autostart.sh file to make sure it was re-mounting it each load.transmission now sees my mount and saves files to my network drive

    I tried to follow the guide from the resource/wiki, but it didn't mount. then I tried to troubleshoot and I get the following error

    Quote

    LibreELEC:~ # mount -t nfs 192.168.0.5:/volume1 /storage/volume1 -o nolock

    mount: 192.168.0.5:/volume1 failed, reason given by server: Permission denied
    mount: mounting 192.168.0.5:/volume1 on /storage/volume1 failed: Bad file descriptor

    what did I do wrong? :huh:

    Hi guys. I'm new to LibreElec (and a n00b at linux environments) and need some help mounting a network share. Basically I installed Transmission from this source and Transmission was able to download and store files locally. However when I set the download path to my NAS download folder, it says the path is invalid. I read that the Transmission software can't view network paths, only Kodi can, is that correct?

    How do I mount the network share so that Transmission can always see and save to it?

    Is this the right resource? cause it looks scary, heh. I came across this tool to do the shares the noob way, but that won't work on an Chromebox running LibreElec will it?

    thanks for the thoughts :shy: