• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    iDrive anad iDevUtil

    User help
    3
    11
    3.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • CraigWebC
      CraigWeb
      last edited by

      Busy trying to setup Idrive backup on a MangoES and got a little stuck with some permissions. Could someone help with how to give the util the right permissions. Its a live system, I don't want to take chances.

      mango@Mango:/opt/Idrive_ARM$sudo ./login.pl
      sudo: ./login.pl: command not found
      mango@Mango:/opt/Idrive_ARM$sudo perl ./login.pl
      idevsutil file does not have executable permission. Please give it executable permission
      
      
      1 Reply Last reply Reply Quote 0
      • phildunlapP
        phildunlap
        last edited by

        Hi CraigWeb,

        It sounds like the Linux permissions on the /opt/Idrive_ARM/ files might not be entirely correct. Here's the rwx from a working ES

         -rwxr-xr-x  Backup_Script.pl
         -rw-r--r--  BackupsetFile.txt
         -rw-r--r--  check.txt
         -rw-r--r--  CONFIGURATION_FILE
         -rw-r--r--  ExcludeList.txt
         -rwxr-xr-x  header.pl
         -rw-r--r--  Icon
         -rwxr-xr-x  idevsutil
         -rwxr-xr-x  Job_Termination_Script.pl
         drwxr-xr-x  account@infiniteautomation.com
         -rwxr-xr-x  login.pl
         -rwxr-xr-x  logout.pl
         -rw-r--r--  ReadMe.txt
         -rw-r--r--  RestoresetFile.txt
         -rwxr-xr-x  Scheduler_Script.pl
         -rwxr-xr-x  Status_Retrieval_Script.pl
        
        1 Reply Last reply Reply Quote 0
        • CraigWebC
          CraigWeb
          last edited by

          Thanks for that, I hit another brick wall.

          mango@Mango:/opt/Idrive_ARM$sudo nano CONFIGURATION_FILE
          mango@Mango:/opt/Idrive_ARM$sudo perl login.pl
          
          @ERROR: PROTOCOL VERSION MISMATCH on module ibackup
          idevs error: error starting client-server protocol (code 5) at main.c(2833) [receiver=1.0.2.6]
          
          
          1 Reply Last reply Reply Quote 0
          • phildunlapP
            phildunlap
            last edited by phildunlap

            Sounds like you may need up update the command line utilities. You can download the latest here: https://www.idrive.com/cmd_steps (32bit Linux)

            1 Reply Last reply Reply Quote 0
            • CraigWebC
              CraigWeb
              last edited by

              Hi @phildunlap

              I am still not getting any where with this. I have tried all the linux Idevsutils... Setting it up on my cloud server was a breeze. When I downloaded the Command line utilities, and ran it I got a Syntax error. I then tried to run the Account_Settings.pl I get the following error.

              
               Checking for compatible idevsutil command line utility...
              
               unable to get compatible idevsutil binary.
               mango@Mango:/opt/Idrive_ARM$
              
              

              Could it be that something has changed on Idrives side and there is no utilitie for the ES?

              C 1 Reply Last reply Reply Quote 0
              • C
                chio @CraigWeb
                last edited by

                @craigweb and @phildunlap was this ever resolved. this is the problem I'm currently experiencing

                1 Reply Last reply Reply Quote 0
                • phildunlapP
                  phildunlap
                  last edited by phildunlap

                  Hi chio,

                  What have you tried / run so far? I was able to set up Idrive on the latest MangoES image without encountering the 'unable to get compatible idevsutil binary.' by running

                  chmod a+x /opt/Idrive_ARM/*.pl;
                  chmod a+x /opt/Idrive_ARM/idevsutil;
                  #edit the CONFIGURATION_FILE
                  cd /opt/Idrive_ARM;
                  ./login.pl;
                  

                  See: https://help-infinite-automation.squarespace.com/config/

                  1 Reply Last reply Reply Quote 0
                  • C
                    chio
                    last edited by

                    Here is a solution to the iDrive problem. This involves using their newer Linux utility. Note, I am a Linux novice so there might be more efficient ways to do some of this.

                    Prerequisites

                    1. A SSH client such as PuTTY https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
                    2. A SCP client such as WinSCP https://winscp.net/eng/index.php

                    Configuration

                    1. Download the latest Linux scripts from iDrive, https://www.idrive.com/readme download the Linux scripts in the tutorial.

                    2. Extract the downloaded file on your Windows machine. You will see a directory called scripts which has all of the files. I renamed this directory from scripts to IDriveBackup so its more descriptive.

                    3. Open WinSCP.
                      a. Host name is the IP address of the MangoES
                      b. Change file protocol to SCP
                      c. Change port number to 2222
                      d. Enter the SSH credentials
                      e. Click login and accept the key.

                    4. On the ‘right’ side of WinSCP navigate to /opt/Idrive_ARM

                    5. On the ‘left’ side of WinSCP navigate to where you extracted the download.
                      a. Click the ‘IDriveBackup’ and then click ‘Upload’

                    6. If you get a permissions error you need to change the permissions for the Idrive_ARM directory. If you’re unfamiliar with Linux the easier method is through the file management tool. You can access this by going to https://[mangoIPaddress]:10000
                      Select the Idrive_ARM folder then Edit -> Change Permissions.

                      Change permission to 0777.

                    7. ‘IDriveBackup’ should now be in the MangoES.

                    You can close WinSCP.

                    1. Now connect to MangoES using PuTTY on port 2222 with the SSH credentials.
                    2. Navigate to the /opt/Idrive_ARM/IDriveBackup/
                    3. Provide an appropriate permission (executable permission) to the scripts by running:
                      sudo chmod a+x *.pl

                    From here you can follow the tutorial on https://www.idrive.com/readme

                    The ‘backup’ location is the directory on your iDrive account that you want this device to be backed up to. We set this to Mangoxxxx where xxxx is the 4 digits of the particular mango device. There are steps in the tutorial to set the backup file set, this is where you set which directories to backup. This should be set to /opt/mango/

                    There is a utility to set the backup frequency as well.

                    1 Reply Last reply Reply Quote 1
                    • CraigWebC
                      CraigWeb
                      last edited by

                      Thank you I don't think I ever went back to solving this.

                      1 Reply Last reply Reply Quote 0
                      • C
                        chio
                        last edited by

                        @CraigWeb you're welcome. I hope this helps.

                        1 Reply Last reply Reply Quote 0
                        • phildunlapP
                          phildunlap
                          last edited by

                          Thanks for sharing how you got it working!

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post