Skip to content

Supported devices? #12

Description

@reedy

Trying to add an admin account to an old gen 1 CK..

Found https://support.hostifi.com/en/articles/6262380-unifi-user-ssh-management and the script

root@UniFi-CloudKey:~# python3 create-super-admin.py
Traceback (most recent call last):
  File "create-super-admin.py", line 7, in <module>
    import pymongo
ImportError: No module named 'pymongo'

https://github.com/HostiFi/support-tools/blob/main/install-dependencies.sh suggests things that make sense..

apt-get install python3 -y
apt-get install python3-pip -y
apt-get install python3-pymongo -y

python3 is already installed, pip and pymongo don't seem to be findable..

root@UniFi-CloudKey:~# apt-cache search python3
libpython3-stdlib - interactive high-level object-oriented language (default python3 version)
python3.4-minimal - Minimal subset of the Python language (version 3.4)
python3-apt - Python 3 interface to libapt-pkg
python3 - interactive high-level object-oriented language (default python3 version)
python3-six - Python 2 and 3 compatibility library (Python 3 interface)
python3-pkg-resources - Package Discovery and Resource Access using pkg_resources
libpython3.4-minimal - Minimal subset of the Python language (version 3.4)
python3-chardet - universal character encoding detector for Python3
python3-minimal - minimal subset of the Python language (default python3 version)
python3.4 - Interactive high-level object-oriented language (version 3.4)
python3-requests - elegant and simple HTTP library for Python3, built for human beings
python3-urllib3 - HTTP library with thread-safe connection pooling for Python3
libpython3.4-stdlib - Interactive high-level object-oriented language (standard library, version 3.4)
dh-python - Debian helper tools for packaging Python libraries and applications

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions