Comments (5)
Indeed the system requirements page I had in mind.
Thank you for quick response and for the project.
from countly-server.
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
from countly-server.
hello @danielstaleiny,
Thank you for creating an issue.
usermod: invalid option -- 'M'
error is not important for now since we aware of it and it is not a blocker for installation or any other operation of Countly.- The blocker issue is the path that you were trying to install Countly. Countly installation creates
countly
user and change ownership of installation during operation and there is a permission issue since you try to install it under/root
. You need to choose paths like/usr
or/opt
and not/root
as we stated here.
I believe checking path if it is /root
and exiting by providing a warning is a good idea. :) We are in a transition period where we change a lot of things in context of how we manage OS level stuff so sorry about blocker, non-descriptive issues on basic operations.
from countly-server.
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.
from countly-server.
@danielstaleiny I found out that we fixed usermod: invalid option -- 'M'
on 15th Feb, it means before you created this issue. I would suggest to try again after #3973 merged for all mentioned issues in your initial report and your last comment.
@ar2rsawseen I believe Daniel is referring System Requirements page, lets remove 'Software' section from it since it is not pre-requirement?
from countly-server.
Related Issues (20)
- issues with installation via docker compose HOT 4
- Login failed after I setup the environment and create the account HOT 7
- countly-browser可以帮我解释一下shardname 产生的使用的什么规则吗 HOT 1
- Countly frontend:latest crashing HOT 2
- macOS Versions not visible in dashboard HOT 2
- Can't install countly server on Macbook M1 Pro 2020 via docker-compose HOT 3
- Countly Dashboard does not show styles and action buttons HOT 4
- Allow Testing Push Notifications without Enterprise License HOT 3
- Landing page has a horizontal scroll HOT 2
- Not displaying special characters in crash logs HOT 3
- No button to "recalculate" a funnel HOT 1
- China map is displayed incorrectly HOT 5
- An event with a name ending with a "." will not show its segmentation in a dashboard widget.
- No way to reset 2FA for a user
- Separate port for api access and authentication logon
- spinning circle in data manager - No data
- Missing file: onboarding/data/versions/23.11/features.json
- nginx ssl config example uses deprecated directive (nginx: [emerg] unknown directive "ssl") HOT 2
- Segmentation seems to be broken - countly Unity SDK. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from countly-server.