polonel / trudesk

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

Install script is broken for debian 12 #655

Closed dylanjamesdev closed 5 months ago

dylanjamesdev commented 7 months ago
Do you want to check packeges? [Y/n]: y
Performing apt-get update                                                                                                                                                                                   \W: https://artifacts.elastic.co/packages/8.x/apt/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
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.
[DONE]
wget is installed!
Installing python                                                                                                                                                                                           -E: Package 'python' has no installation candidate
[FAIL]
curl is installed!
gnupg is installed!
git is installed!
nodejs is installed!

Do you want to install Elasticsearch? [y/N]: y
Installing Elasticsearch 8                                                                                                                                                                                  /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.
W: https://artifacts.elastic.co/packages/8.x/apt/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
[DONE]
Do you want to install MongoDB? [y/N]: y
Installing MongoDB 5.0                                                                                                                                                                                      /W: https://artifacts.elastic.co/packages/8.x/apt/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
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.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/elastic-8.x.list:1 and /etc/apt/sources.list.d/elastic-8.x.list:2
/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]
Downloading the latest version of Trudesk.                                                                                                                                                 [DONE]
Building... (its going to take a few minutes)                                                                                                                                                               [DONE]
bash: line 295: yarn: command not found
root@helpdesk:~# 
second2falcon commented 7 months ago

@dylanjamesdev MongoDB seems to be not installed correctly and yarn not at all.

Also, it seems that you ran the script multiple times which resulted in the APT repos being listed multiple times in /etc/apt/sourced.list.d/[software name]

github-actions[bot] commented 6 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] commented 5 months ago

This issue was closed because it has been stalled for 5 days with no activity.