Application Installation

Storage Issue

Issue Summary

Error processing tar file(exit status 1): write /2782fef5844dd5a1e2174c448dd88e2fa69971d42810f6dfc87457fcdeaeb4a3/layer.tar: no space left on device

Error processing tar file(exit status 1): write /usr/lib/x86_64-linux-gnu/libz3.so.4: no space left on device
Loading UI..
Error processing tar file(exit status 1): write /bb3d2a51cf081d2b8d37b490acb74472df12dd2b6c16928d7000c5c6c468647b/layer.tar: no space left on device
Loading Gateway..
Error processing tar file(exit status 1): write /acd0b277f7bb7c7d1585a3ee7c444a081cce54eeace02121ae96258a8d808aac/layer.tar: no space left on device

Details

This issue persist when the device run out of the space on which user is trying to install ONES Application, ONES application need at least 256 GB storage to work with 128 devices
Before the installation user needs to make sure there is enough space to install ONES application
Check ONES-User-Guide for more Hardware requirement details 

Resolution

Increase the Server storage
Command : df -h // to check the size of server
docker dependency

Issue Summary

Loading docker images..
Loading Collector..
./ones-installer.sh: line 25: docker: command not found
Loading DB..
./ones-installer.sh: line 28: docker: command not found
./ones-installer.sh: line 29: docker: command not found
Loading UI..
./ones-installer.sh: line 32: docker: command not found
Loading Gateway..
./ones-installer.sh: line 35: docker: command not found
Loading FM..
./ones-installer.sh: line 38: docker: command not found
./ones-installer.sh: line 40: docker: command not found

Details

Before ONES application installation, the user needs to check the 
prerequisite, ONES application has few dependencies on docker, docker must be 
available before ONES application installation
Check ONES-User-Guide for installation prerequisite

Resolution

Install Docker on Server
Command : apt-get install docker.io //to install
Command : docker --version //to verify
                    Docker version 20.10.12, build 20.10.12-0ubuntu4
Permission issue during docker installation

Issue Summary

apt-get install docker.io
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

Details

While doing any installation related to Docker or any other dependencies, 
user needs to make sure to do the installation using root credentials 

Resolution

User Root credentials or give super user user permission
Command : sudo su  //to allow user to do any task using super user permission
docker-compose Issue

Issue Summary

Bringing up ONES app containers
./ones-installer.sh: line 46: docker-compose: command not found

Details

While doing ONES-installation, docker-compose component is required as 
dependencies
So user need to make sure all the dependencies should be addressed before doing 
ONES installation 

Resolution

Install Docker-Compose component
Command : apt-get install docker-compose //to install docker-compose
Command :  docker-compose --version //to verify docker-compose version
                     docker-compose version 1.29.2, build unknown
Permission issue during ONES Installation

Issue Summary

 ./ones-installer.sh


Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/load?quiet=0": dial unix /var/run/docker.sock: connect: permission denied
Loading DB..
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post "http://%2Fvar%2Frun%2Fdocker.sock/v1.24/images/load?quiet=0": dial unix /var/run/docker.sock: connect: permission denied

Details

While executing ONES installation, user needs to make sure to do the installation 
using root credentials 

Resolution

User Root credentials or give super user user permission
Command : sudo su  //to allow user to do any task using super user permission
python3 Issue

Issue Summary

$./ones-installer.sh
Installing ONES application...

Bringing up ONES app containers
./ones-installer.sh: line 46: docker-compose: command not found
./ones-installer.sh: line 47: docker-compose: command not found
Creating default user accounts
Error: No such container: sh
Adding license..
Error: No such container: sh
Installed ONES application successfully.
Open browser at http://<host-ip>:3002

Details

If Python is not available on Server so we get these errors and even user will 
not be able to access the ONES application
As dependencies user needs to install python3 first 

Resolution

Install Python3 module
Command : apt-get install python3 
paramiko error during uninstallation

Issue Summary

Details

Resolution

paramiko error during installation

Issue Summary

Details

Resolution

ONES Application service continuous restart

Issue Summary

Details

Resolution