Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Postgres is installed automatically by installing the autosol package

Changing the postgres password

...

Select the database to work with. This will open the database so you can make changes.

Code Block
sudo -u postgres psql ASIServerDB;
Warning

If that failed, it might be possible that the database was not created by our install process. Scroll further down to Making the database

Change the password.

Code Block
ALTER USER postgres WITH PASSWORD 'postgres';
Info

By default the software is configured to use password “postgres”. If you want something else, you’ll need to set the password in the conf.ini file under the install folder.

On a Freewave

/home/devuser/apps/ASIEdgeManager/conf.ini

or on Generic installs.

/usr/apps/ASIEdgeManager/conf.ini

Exit the edit database mode:

Code Block
\q

Restart the server

On a Freewave

Code Block
sudo /home/devuser/apps/ASIEdgeManager/restart

...

Once the installation has completed, you should be able to visit the IP of your box on port 8080 to see the AUTOSOL App Manager web configuration page where you can configure all AUTOSOL software applications like Edge ACM.

Making the database

The database we use (ASIServerDB) is typically automatically created by our scripts that run during the installation. If this somehow wasn’t the case, you can attempt to create it manually.

Code Block
sudo -u postgres createdb ASIServerDB
Warning

If this fails, it is possible that postgres was not installed correctly. Scroll down to Installing postgres.

Once you make the database, you can attempt a reinstall, by following the Uninstalling and Installing instructions again, or you can try a restart of the service by following the restart instructions further above.

Installing postgres

Postgres is required as a dependency by our package. If it wasnt installed or you want to install it manually, you can run a couple of commands to give it a try

Code Block
sudo apt-get update
sudo apt-get install postgresql
Warning

If this fails, it is possible that you don’t have a good internet connection. It is also possible that you have bad DNS settings so the system cannot identify a good way to hit the debian package repositories online. In either case, contact your IT to get further assistance.

Once you get postgres installed, you can attempt a reinstall, by following the Uninstall and Install instructions again.

Uninstalling old packages

...

Code Block
sudo rm /home/devuser/service/API
sudo kill `cat /var/run/appmanager.pid`
sudo apt remove appmanager -y
sudo rm -r /home/devuser/apps/API

Generic

Code Block
sudo systemctl disable appmanager
sudo systemctl stop appmanager
sudo apt remove appmanager -y
sudo rm -r /usr/apps/API