Skip to content

Error setup on Debian 13 #29

Description

@mvldebian

apt-get install -y sudo
apt-get install -y git python3 python3-pip python3-venv samba samba-common smbclient
git clone https://github.com/lyarinet/samba-manager.git
cd samba-manager
sudo ./install.sh

When trying to access the address and port, it returns... ERR_CONNECTION_REFUSED

root@fileserver:~/samba-manager# ./install.sh

    Samba Manager Installation Script

==========================================================

Python 3 is already installed.
Samba is already installed.
Creating smbusers group...
Installing Samba Manager to /opt/samba-manager...
Created uninstall command: samba-manager-uninstall
Network access fix script is ready.
Creating Python virtual environment...
Error: [Errno 2] No such file or directory: '/opt/samba-manager/venv/bin/python3'
error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.

If you wish to install a non-Debian packaged Python application,
it may be easiest to use pipx install xyz, which will manage a
virtual environment for you. Make sure you have pipx installed.

See /usr/share/doc/python3.13/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
Creating systemd service file...
Creating run script...
Enabling and starting Samba Manager service...
Created symlink '/etc/systemd/system/multi-user.target.wants/samba-manager.service' → '/etc/systemd/system/samba-manager.service'.

==========================================================
Samba Manager Installation Complete!

The Samba Manager web interface is running at:
http://192.168.200.100:5000

First-time setup:
Click on "Register" or navigate to /register
Create your first admin user account
Check the "Admin" checkbox to grant administrator privileges

To control the service:
Start: systemctl start samba-manager.service
Stop: systemctl stop samba-manager.service
Restart: systemctl restart samba-manager.service
Status: systemctl status samba-manager.service

To run Samba Manager manually, use:
samba-manager

Installation directory: /opt/samba-manager

root@fileserver:~/samba-manager#

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions