-
Notifications
You must be signed in to change notification settings - Fork 975
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer on Clean ubuntu fails to install countly correctly #3970
Comments
This part of the logs is consistent accross the Clean ubuntu 20LTS, 22LTS, 22 digitalocean. Countly user already exist.
usermod: invalid option -- 'M'
Usage: usermod [options] LOGIN
Options:
-b, --badnames allow bad names
-c, --comment COMMENT new value of the GECOS field
-d, --home HOME_DIR new home directory for the user account
-e, --expiredate EXPIRE_DATE set account expiration date to EXPIRE_DATE
-f, --inactive INACTIVE set password inactive after expiration
to INACTIVE
-g, --gid GROUP force use GROUP as new primary group
-G, --groups GROUPS new list of supplementary GROUPS
-a, --append append the user to the supplemental GROUPS
mentioned by the -G option without removing
the user from other groups
-h, --help display this help message and exit
-l, --login NEW_LOGIN new value of the login name
-L, --lock lock the user account
-m, --move-home move contents of the home directory to the
new location (use only with -d)
-o, --non-unique allow using duplicate (non-unique) UID
-p, --password PASSWORD use encrypted password for the new password
-R, --root CHROOT_DIR directory to chroot into
-P, --prefix PREFIX_DIR prefix directory where are located the /etc/* files
-s, --shell SHELL new login shell for the user account
-u, --uid UID new UID for the user account
-U, --unlock unlock the user account
-v, --add-subuids FIRST-LAST add range of subordinate uids
-V, --del-subuids FIRST-LAST remove range of subordinate uids
-w, --add-subgids FIRST-LAST add range of subordinate gids
-W, --del-subgids FIRST-LAST remove range of subordinate gids
-Z, --selinux-user SEUSER new SELinux user mapping for the user account
tee: '/root/countly/bin/../log/countly-install-2023-02-21:13:14:08.log': Permission denied
/bin/bash: /root/countly/bin/countly.install_ubuntu.sh: Permission denied |
hello @danielstaleiny,
I believe checking path if it is |
For some reason the only way I could install countly without problem was, creating clean ubuntu server, creating my own new user (which creates home directory) and as root go to /home directory and I run the script from there. I tried with /usr /opt / root~ home/anon/, all under root user and none of them worked. I would suggest you to mention that in the 1 liner script. Another confusion was, that under requirements, you have stated that mongodb and nodejs are requirements, but you are installing it with the script. Therefore it was unclear if those are required to be installed in the system or not. Lastly, firewall is open by default after installing the countly server. I would suggest tip to enable it, like you did with certificates etc. |
@danielstaleiny I found out that we fixed @ar2rsawseen I believe Daniel is referring System Requirements page, lets remove 'Software' section from it since it is not pre-requirement? |
Indeed the system requirements page I had in mind. Thank you for quick response and for the project. |
Expected Behavior
Install countly and all the packages correctly.
Current Behavior
Fails to install in the process. Here logs from the instalation proccess.
Steps to Reproduce (for bugs)
Your Environment
The text was updated successfully, but these errors were encountered: