Git Product home page Git Product logo

Comments (5)

danielstaleiny avatar danielstaleiny commented on May 26, 2024 1

Indeed the system requirements page I had in mind.

Thank you for quick response and for the project.

from countly-server.

danielstaleiny avatar danielstaleiny commented on May 26, 2024

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.

kaanklky avatar kaanklky commented on May 26, 2024

hello @danielstaleiny,
Thank you for creating an issue.

  1. 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.
  2. 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.

danielstaleiny avatar danielstaleiny commented on May 26, 2024

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.

kaanklky avatar kaanklky commented on May 26, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.