Follow

SmartServer IoT Troubleshooting (KB1368)

SmartServer IoT Troubleshooting:

  1. Check the SmartServer User's Guide for the latest SmartServer IoT Software Release
    • Many issues are resolved by upgrading to a new software version
      • Make a backup of the SmartServer first using the CMS Storage Widget and Export the SmartServer configuration (CMS Settings > Export)
      • Make a backup before adding or changing SmartServer configuration
  2. If you see a Web page issue, close your Web browser or delete the temporary internet files as many reported Web page issues are due to cached Web pages
    • Only Chrome and Firefox are supported at this time 
  3. Rebooting or power cycling SmartServer will fix many one time issues.
    • To Reboot click the Reboot button on the System Configuration Web page
  4. Can't find SmartServer IP Address
    a. SmartServer Plugged into IP network: Go to SmartServer Network Configuration Web page
             Hostname  = Bottom of SmartServer "smartserver-<install code>"
            for example (install code=123h6) : https://smartserver-123h6
    b. Using DHCP or mDNS (Bonjour)
        https://smartserver-<install code>
        https://smartserver-<install code>.local
    c. PC Plugged directly into SmartServer IoT: only works until you change to Static or DHCP
           LAN port (eth0): 192.168.1.222, WAN port (eth1); 192.168.2.222
    d. Use SmartServer serial console port (115200)
            type "ifconfig" and look at eth0 (LAN) or eth1 (WAN)
    e. If the network you are using 192.168.100.x then you will need to follow KB1392
  5. Possible Configuration issues
    a. You MUST change LAN or WAN IP Address Startup mode to Static or DHCP on the Network Configuration Web page
        - The SmartServer defaults to Startup mode for both the LAN and WAN ports
        - if you don't change this setting you may lose access to the SmartServer later on.
               - You only need to change the ports which have Ethernet cables plugged in.
  6. SmartServer IoT Ready light always flashes
    • If SmartServer console shows U-Boot prompt or constantly rebooting in U-Boot prompt KB1387 
    • If you are using multiple U60s, only one U60 can be plugged in during a re-image or resetting to defaults
      • Unplug all but one U60, click Reset-to-Defaults on System Web page, when done plug in each U60 one at a time while SmartServer powered.
    • This means that the SmartServer didn't power up correctly due to memory, flash drive or database corruption
    • Check system health (see below, ssh and type "sudo supervisorctl status" and KB1369),
    • do a Reset-to-Defaults on System Configuration Web page
    • or contact support with system health information and contents of /var/log 
  7. Check SmartServer system health (CPU bandwidth, flash drive usage)
    • Check CPU, RAM, Flash drive using CMS Web page Storage widget,
      • or with ssh "top" and "df -h"
    • Check service status using ssh using "sudo supervisorctl status"
    • See KB1369 for details on how to check system health
  8. Can't access CMS Web page but can access Configuration Web pages.
    • After a power-cycle or reboot the CMS comes up in 5-10 minutes.
    • CMS can take up to 45 minutes on 2.52.002 to come up after starting a re-image
    • See KB1381 for troubleshooting tips
  9. Can't log into CMS Web page with apollo login but can log into Configuration Web pages and ssh or serial console.
    • After power cycle, reboot or re-image/upgrade, you need to wait until CMS comes up before changing password
      • Go to CMS We page, once you see login prompt you should be able to change password on System Web page. If you still see issue wait 15 minutes after reboot and try again.
  10. CMS Web page shows error Dump Message
    • Download the dump file and send to support@echelon.com
  11. Feature troubleshooting: 
    a. IP-852 - Use only SmartServer 2.70.015+ as earlier version have an issue
    b. MODBUS - KB1377 
    c. Data Logs - TBD
    d. Schedule - Add a datalog to see if the scheduler is working
        - Schedules currently only work with Scalar values (the value is a single field like "0")
    e. Alarms
        - To confirm alarms ssh and type
             mosquitto_sub -t glp/0/+/fb/alarm/+/cfg -v
    f. OPC Server - TBD
    g. Don't see Service pin messages from external devices KB1378.
    h. Standalone (DMM) only - Connections between datapoints don't work
        - To confirm connections ssh and type
                 mosquitto_sub -t glp/0/+/fb/con/+/cfg -v
            - Only shows connections, does not show rule ID.
        - Try re-provisioning devices
    i. iNex Export tool - make sure port 1883 open using ssh "sudo ufw status"

    Note: MQTT can be used to troubleshoot some issues. You can use a MQTT tool or ssh (don't use SmartServer console) and use mosquitto_sub commands as shown above (type CTRL-C to exit).  MQTT tools like MQTT Explorer can be used to troubleshoot some issues (port 1883 must be open)
  12. U60s don't seem to work after Re-image or resetting SmartServer to defaults
    • Only one U60 can be plugged during Re-image or resetting SmartServer to defaults
    • Workaround:
      • Unplug all but one U60, do a Reset-to-Defaults, Plug in the rest of the U60s while SmartServer Powered
  13. SmartServer doesn't work properly after glpo upgrade  
    • Reboot or power cycle the SmartServer
    • Delete the problem item (Like scheduler) and re-add
    • Restore an old SmartServer backup
    • Do a Reset-to-Defaults
      • Standalone or DMM
        • Export all device, device templates, datapoint templates and schedulers
        • Unplug all but one U60
        • Click the Reset-to-Defaults button on System Configuration Web page
        • After reset complete Plug any additional U60s while SmartServer powered
        • Re-import all device, device templates, datapoint templates and schedulers
        • Provision all the devices
      • IMM
        • Export all datapoint templates and schedulers
        • Unplug all but one U60
        • Click the Reset-to-Defaults button on System Configuration Web page
        • After reset complete Plug any additional U60s while SmartServer powered
        • Import Resource File Sets, XIF and dlp files
        • Provision any MODBUS devices
        • Use iNex to export device information to SmartServer
        • Re-import all datapoint templates and schedulers
    • Re-image the SmartServer (see Re-Image below)
  14. To start over click the Reset-To-Defaults button on System Configuration Web page which will clear the SmartServer database but keeps the current IP Address setting
    • Reset-To-Factory resets database and IP Address
    • Only one U60 can be plugged in so if you are using more than one U60s remove all but one U60 before doing Reset-to-Defaults and re-add after one at a time when SmartServer powered up.
    • If you have any issues ssh and type
              sudo apollo-reset normal <password>
      •  replace <password> with the SmartServer password
      • For example, password = r45g-890a,   
        sudo apollo-reset normal r45g-890a
      • Only one U60 can be plugged in before issuing command
  15. To start from scratch (Re-Image)
    • Remove all but one U60
    • Re-imaging a SmartServer using USB flash drive
      • To re-image type "sudo /media/usb0/re-image.sh"
    • If you see any issues try doing Reset-to-Defaults on System Configuration Web page
      • re-image may not always clear all settings so you may need to do a Reset-to-Defaults
    • If you still have an issue ssh and type one of the following apollo-reset commands replacing <password> with the SmartServer password
      • Reset SmartServer database but keep existing IP-Address settings
               sudo apollo-reset normal <password>
      • Reset SmartServer database and all other settings including IP-Address settings
               sudo apollo-reset factory <password>
      • For example, password = r45g-890a,   
          sudo apollo-reset normal r45g-890a
    • Add all additional U60s after SmartServer powered up
  16. Contacting Adesto Support team
    Please provide the following information:
    a. SmartServer version (SmartServer System Web page, or CMS Web page)
    b. Whether the problem is new or always happened
    c. Summary of steps to reproduce issue
    d. Can't access CMS or have issues with Scheduler, datalogger, alarms.
        - Send support karaf.log and wrapper.log, see KB1381 for details.
    e. For all issues
       - Send support the contents of /var/log which contain all the non-CMS logs.
           - If you get a permission error, login with username root and use apollo password.
    f. Include the results of any MQTT commands that you may have used 
    g. Send support a SmartServer System Backup using CMS Storage Widget and SFTP the backup off the SmartServer
         /media/sdcard/backups
    h. Send an email to lonsupport@adestotech.com with the information above
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk