polonel / trudesk

:coffee: :seedling: Trudesk is an open-source help desk/ticketing solution.
http://trudesk.io
Other
1.29k stars 430 forks source link

trudesk ubuntu-1.2.sh is not working correctly #593

Closed APtechnician closed 1 year ago

APtechnician commented 1 year ago

Is this a BUG REPORT or FEATURE REQUEST?:

What happened: Installing python: /E: Package 'python' has no installation candidate [FAIL]

Installing Elasticsearch 8 [FAIL] error message below /Created symlink /etc/systemd/system/multi-user.target.wants/elasticsearch.service -> /lib/systemd/system/elasticsearch.service. |Job for elasticsearch.service failed. See "systemctl status elasticsearch.service" and "journalctl -xeu elasticsearch.service" for details.[FAIL]

Installing MongoDB 5.0 [FAIL] error message below W: https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/5.0/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details. |E: Unable to correct problems, you have held broken packages. -Failed to enable unit: Unit file mongod.service does not exist. -Failed to start mongod.service: Unit mongod.service not found. Waiting for MongoDB to start... |Restarting MongoDB...[FAIL]

that's the last error it spits out bash: line 295: yarn: command not found

What did you expect to happen: MongoDB 5.0 to install successfully python to install successfully

How to reproduce it (as minimally and precisely as possible): rerun the script after applying apt update && apt upgrade -y

Anything else we need to know?:

Environment:

matlat8 commented 1 year ago

Trudesk is not supported on 22.xx. Try Ubuntu 20.04 and let me know if that fixes your issue

APtechnician commented 1 year ago

Same error, I"m lost on what to do at this point cat /etc/os-releas- NAME="Ubuntu" VERSION="20.04 LTS (Focal Fossa)" ID=ubuntu ID_LIKE=debian PRETTY_NAME="Ubuntu 20.04 LTS" VERSION_ID="20.04" HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" VERSION_CODENAME=focal UBUNTU_CODENAME=focal

polonel commented 1 year ago

Just tested the script on a fresh Ubuntu 20.04 deployed on AWS with no issues.