NIXStats / nixstatsagent

NIXStats monitoring agent
https://www.nixstats.com
Other
92 stars 39 forks source link

No install Ubuntu #48

Open artscripts opened 3 years ago

artscripts commented 3 years ago

Hello, I can not install the agent on ubuntu. When you send the command shh, an error pops up and nothing is installed. wget --no-check-certificate -N https://www.nixstats.com/nixstatsagent.sh && bash nixstatsagent.sh

Tell me how to fix this?

vfuse commented 3 years ago

Which version of Ubuntu? Please take a look at nixstatsagent.log it should be in the same directory as the installer. You can send the installer log to vincent@nixstats.com

artscripts commented 3 years ago

Ubuntu 18.04.5 LTS

20 сент. 2021 г., в 10:34, vfuse @.***> написал(а):

Which version of Ubuntu? Please take a look at nixstatsagent.log it should be in the same directory as the installer. You can send the installer log to @. @.> — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NIXStats/nixstatsagent/issues/48#issuecomment-922694666, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAC6SNORBJIXHB6OYIBXQJDUC3PWTANCNFSM5EJEALPQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

artscripts commented 3 years ago

I wrote to you in the mail and sent a log

vfuse commented 3 years ago

I don't see any e-mail from your side. Most likely on ubuntu it is a broken repository, can you run apt update successfully or does it return an error?

artscripts commented 3 years ago

I sent you a letter 2 times by mail, but apparently the letters do not reach. Here is a part of the log that is here

Hit:1 http://zabbix.repo.timeweb.ru/ubuntu bionic InRelease Hit:2 http://nginx.org/packages/mainline/ubuntu bionic InRelease Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:5 http://apt.vestacp.com/bionic bionic InRelease Hit:6 http://us.archive.ubuntu.com/ubuntu bionic InRelease Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:8 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease Reading package lists... Reading package lists... Building dependency tree... Reading state information... python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.5). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Collecting nixstatsagent Downloading nixstatsagent-1.2.17.tar.gz (34 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/setup.py'"'"'; file='"'"'/tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-tej478oe cwd: /tmp/pip-install-5_xwh75i/nixstatsagent_21973d527a5a463faff5cc4b583a8f1c/ Complete output (3 lines): Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'setuptools'

WARNING: Discarding https://files.pythonhosted.org/packages/e3/23/53b561c7c7adfb67e6075a7b09988172c8bd45e1a3fcb43cb2560c9a5c76/nixstatsagent-1.2.17.tar.gz#sha256=2ab083f187c113d1ad5c4630a8b709e87b32b2a5acdaa73da52683d5edad687a (from https://pypi.org/simple/nixstatsagent/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. Downloading nixstatsagent-1.2.12.tar.gz (34 kB) ERROR: Command errored out with exit status 1:

vfuse commented 3 years ago

It seems like setuptools is missing in your system: apt install python-setuptools

artscripts commented 3 years ago

unfortunately this does not solve the problem

apt install python-setuptools

Reading package lists... Done Building dependency tree
Reading state information... Done python-setuptools is already the newest version (39.0.1-2). The following packages were automatically installed and are no longer required: gyp libc-ares2 libhttp-parser2.7.1 libjs-async libjs-inherits libjs-node-uuid libuv1 libuv1-dev nodejs-doc Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.