Please send complete steps to install Trudesk in Ubuntu 18.04 LTS

Hi,

I tried installing trudesk in Ubuntu 16.04 via the script mentioned in the documentation. But it didn’t work fine. Please send complete installation steps to install trudesk in Ubuntu 18.04 LTS.

Regards,
Abhishek Avadhani

What didn’t work with the install script?

Please see below. I have shared complete details where I have installed it using the script.

abhishek@ubuntu:~$ sudo curl -L -s http://www.trudesk.io/install/install_ubuntu.sh | sudo bash

.                              .o8                     oooo

.o8 "888 888 .o888oo oooo d8b oooo oooo .oooo888 .ooooo. .oooo.o 888 oooo 888888""8P 888888 d88’ 888 d88'88b d88( “8 888 .8P’
888 888 888 888 888 888 888ooo888 "Y88b. 888888. 888 . 888 888 888 888 888 888 .o o. )88b 88888b.
“888” d888b V88V"V8P'Y8bod88P” `Y8bod8P’ 8""888P’ o888o o888o

version 1.0.14 - Copyright © 2014-2019 Chris Brame

Welcome to Trudesk Install Script for Ubuntu 16.04 (fresh)!
Lets make sure we have all the required packages before moving forward…
Setting Clock…
13 Aug 00:42:29 ntpdate[2088]: adjust time server 139.59.55.93 offset -0.011847 sec
Local time: Tue 2019-08-13 00:42:29 PDT
Universal time: Tue 2019-08-13 07:42:29 UTC
RTC time: Tue 2019-08-13 07:42:29
Time zone: America/Los_Angeles (PDT, -0700)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no
Checking packages…
List of required packeges: git, wget, python, curl, nodejs, npm
Do you want to check packeges? [Y/n]: y
Performing apt-get update /W: The repository ‘cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226) xenial Release’ does not have a Release file.
E: Failed to fetch cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
[FAIL]
wget is installed!
Installing python [DONE]
curl is installed!
Installing git [DONE]
Installing nodejs [DONE]

Do you want to install Elasticsearch locally? [y/N]: y
Installing Elasticsearch -W: The repository ‘cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226) xenial Release’ does not have a Release file.
E: Failed to fetch cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
\Synchronizing state of elasticsearch.service with SysV init with /lib/systemd/systemd-sysv-install…
Executing /lib/systemd/systemd-sysv-install enable elasticsearch
|Created symlink from /etc/systemd/system/multi-user.target.wants/elasticsearch.service to /usr/lib/systemd/system/elasticsearch.service.
[DONE]
Do you want to install MongoDB locally? [y/N]: y
Installing MongoDB 3.6 \W: The repository ‘cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226) xenial Release’ does not have a Release file.
E: Failed to fetch cdrom://Ubuntu-Server 16.04.6 LTS Xenial Xerus - Release amd64 (20190226)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
\Created symlink from /etc/systemd/system/multi-user.target.wants/mongod.service to /lib/systemd/system/mongod.service.

Waiting for MongoDB to start…
-Restarting MongoDB…
[DONE]
Downloading the latest version of Trudesk. [DONE]
Building… (its going to take a few minutes) [DONE]
bash: line 292: pm2: command not found
Starting… |abhishek@ubuntu:~$
abhishek@ubuntu:~$|

You have something else going on with your ubuntu install.

apt-get update fails. Even if you run the command yourself. sudo apt-get update it fails and you need to troubleshoot why that is failing…

Ok… let me install a fresh Ubuntu 16.04 again and let you know the result… Thanks in advance…

Now I tried in Amazon AWS mumbai region server… It’s working fine… But when I tried it in my Laptop in Ubuntu 16.04, its not working… I’m not getting where is the fault because I have downloaded the .iso file from Ubuntu website itself… Will post here if I need any help in future… Thanks a lot for your support…