[GH-ISSUE #2837] Error generating correct configurations for new clients #1293

Open
opened 2026-10-13 20:39:35 +00:00 by bsakaguchi · 2 comments
Owner

Originally created by @stanislavmerts on GitHub (Jul 16, 2026).
Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2837

Describe the bug

After installing an AmneziaWG server (May 2026), existing VPN clients work correctly, but the server cannot generate valid configurations for new clients.

The users/clients list is empty, although several devices are actively connected and using the VPN.

When creating a new client:

generated configuration contains empty PublicKey and PresharedKey in the [Peer] section;
QR import fails with error #1100;
importing the generated .conf file fails with error #900.

Another AmneziaWG server installed in 2023 works correctly using the same Android application.

To Reproduce

Open the existing AmneziaWG server.
Create a new client.
Export QR or .conf.
Generated configuration has empty PublicKey and PresharedKey.
QR import returns #1100, .conf import returns #900.

Expected behavior

The server should display existing clients and generate valid client configurations with populated PublicKey and PresharedKey.

Log files

Android client only provides UI/application logs and does not include server-side errors.

The Docker container uses the none logging driver, therefore docker logs cannot be used.

Smartphone

POCO M6 pro android 16
AmneziaVPN version 4.8.21.0 (jul 10 2026, 72ee32a) from Google Play

Server

Ubuntu 24.04
Docker image: amnezia-awg2:latest
1 vCPU
4 GB RAM
10 GB NVMe

Additional context

The problem appeared almost immediately after the server installation.

Existing VPN clients continue to work, but the users list is empty and no new valid client configurations can be generated.

Inside the container I found /opt/amnezia/awg/clientsTable, so it looks like the server keeps some client state, but the management interface no longer displays or uses it.

Question: Is there a way to rebuild or restore the client database without reinstalling the server?

Originally created by @stanislavmerts on GitHub (Jul 16, 2026). Original GitHub issue: https://github.com/amnezia-vpn/amnezia-client/issues/2837 Describe the bug After installing an AmneziaWG server (May 2026), existing VPN clients work correctly, but the server cannot generate valid configurations for new clients. The users/clients list is empty, although several devices are actively connected and using the VPN. When creating a new client: generated configuration contains empty PublicKey and PresharedKey in the [Peer] section; QR import fails with error #1100; importing the generated .conf file fails with error #900. Another AmneziaWG server installed in 2023 works correctly using the same Android application. To Reproduce Open the existing AmneziaWG server. Create a new client. Export QR or .conf. Generated configuration has empty PublicKey and PresharedKey. QR import returns #1100, .conf import returns #900. Expected behavior The server should display existing clients and generate valid client configurations with populated PublicKey and PresharedKey. Log files Android client only provides UI/application logs and does not include server-side errors. The Docker container uses the none logging driver, therefore docker logs cannot be used. Smartphone POCO M6 pro android 16 AmneziaVPN version 4.8.21.0 (jul 10 2026, 72ee32a) from Google Play Server Ubuntu 24.04 Docker image: amnezia-awg2:latest 1 vCPU 4 GB RAM 10 GB NVMe Additional context The problem appeared almost immediately after the server installation. Existing VPN clients continue to work, but the users list is empty and no new valid client configurations can be generated. Inside the container I found /opt/amnezia/awg/clientsTable, so it looks like the server keeps some client state, but the management interface no longer displays or uses it. Question: Is there a way to rebuild or restore the client database without reinstalling the server?
Author
Owner

@Vitalik93 commented on GitHub (Jul 16, 2026):

Они опять отключили создание файлов конфигурации. Не известно, когда вернут.

<!-- gh-comment-id:4992465012 --> @Vitalik93 commented on GitHub (Jul 16, 2026): Они опять отключили создание файлов конфигурации. Не известно, когда вернут.
Author
Owner

@hobu4ok1993 commented on GitHub (Jul 29, 2026):

Same problem! No new users can be created and no old users are listed

<!-- gh-comment-id:5117958423 --> @hobu4ok1993 commented on GitHub (Jul 29, 2026): Same problem! No new users can be created and no old users are listed
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#1293
No description provided.