[GH-ISSUE #2275] Creating container for self-hosting server #1011

Open
opened 2026-10-13 20:32:49 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Alexvs159 on GitHub (Feb 25, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2275

Describe the bug
When I try to create container for any protocol I get an error. At this moment there is no any software installation on my server. apt works fine, tried to install some package to test.

To Reproduce
Steps to reproduce the behavior:

  1. Select self-hosted server
  2. input connection settings
  3. Press the button
  4. select protocol (tested some different protos)
  5. See error

Expected behavior
container must to be installed on server

Log files
Terminal output:

ServerController::Run script
if which apt-get > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/dpkg/lock-frontend";
elif which dnf > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/cache/dnf/* /var/run/dnf/* /var/lib/dnf/* /var/lib/rpm/*";
elif which yum > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/yum.pid";
elif which zypper > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/zypp.pid";
elif which pacman > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/pacman/db.lck";
else echo "Packet manager not found"; echo "Internal error"; exit 1; fi;
if command -v $LOCK_CMD > /dev/null 2>&1; then sudo $LOCK_CMD $LOCK_FILE 2>/dev/null; else echo "$LOCK_CMD not installed"; fi
SSH chanel opened
ServerController::runScript finished

Screenshots
attached

Desktop (please complete the following information):

  • OS: Arch Linux
  • App Version 4.8.12.9

Server (please complete the following information):

  • OS: Debian 12
Image
Originally created by @Alexvs159 on GitHub (Feb 25, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2275 **Describe the bug** When I try to create container for any protocol I get an error. At this moment there is no any software installation on my server. apt works fine, tried to install some package to test. **To Reproduce** Steps to reproduce the behavior: 1. Select self-hosted server 2. input connection settings 3. Press the button 4. select protocol (tested some different protos) 5. See error **Expected behavior** container must to be installed on server **Log files** Terminal output: ServerController::Run script if which apt-get > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/dpkg/lock-frontend";\ elif which dnf > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/cache/dnf/* /var/run/dnf/* /var/lib/dnf/* /var/lib/rpm/*";\ elif which yum > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/yum.pid";\ elif which zypper > /dev/null 2>&1; then LOCK_CMD="cat"; LOCK_FILE="/var/run/zypp.pid";\ elif which pacman > /dev/null 2>&1; then LOCK_CMD="fuser"; LOCK_FILE="/var/lib/pacman/db.lck";\ else echo "Packet manager not found"; echo "Internal error"; exit 1; fi;\ if command -v $LOCK_CMD > /dev/null 2>&1; then sudo $LOCK_CMD $LOCK_FILE 2>/dev/null; else echo "$LOCK_CMD not installed"; fi SSH chanel opened ServerController::runScript finished **Screenshots** attached **Desktop (please complete the following information):** - OS: Arch Linux - App Version 4.8.12.9 **Server (please complete the following information):** - OS: Debian 12 <img width="383" height="683" alt="Image" src="https://github.com/user-attachments/assets/75935df0-248d-4944-814c-5104e7548be4" />
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1011
No description provided.