-
-
Notifications
You must be signed in to change notification settings - Fork 20
Troubleshooting
List of common issues encountered by users and their solutions.
Includes details on known issues with the first server start and steps to resolve them.
Frequently asked questions about the SctgDesk Server Program, with answers.
-
Q: How can I change a lost admin password? A: Follow these steps to change a lost admin (or other user) password:
-
Open a terminal and generate a new bcrypt password:
# Replace 'monMotDePasse' with your desired password htpasswd -nbB -C 12 user monMotDePasse | awk -F: '{print $2}'
Example output:
$2y$12$5KIhlFDtn25Yn1TPymdOSu4t9.4WEhIBtHekQ0KDKTCGZ28phJ/cC
-
Use sqlite3 to update the password in the database:
sqlite3 db_v2.sqlite3 UPDATE user SET password="$2y$12$5KIhlFDtn25Yn1TPymdOSu4t9.4WEhIBtHekQ0KDKTCGZ28phJ/cC" WHERE name="admin"; .quit
Note: Replace "admin" with the appropriate username if changing a non-admin user's password.
-
-
Q: Why am I experiencing frequent "Reset by peer" errors when trying to connect to remote devices? A: This issue may be caused by the UDP receive buffer size being set too low in your server's Linux kernel configuration. This can particularly occur with certain server provider system images.
To fix this (credit to MrChenhtlss) :
- Edit the
/etc/sysctl.conf
file on your server. - Look for the line containing
net.core.rmem_max=
. - Either delete this line or comment it out (by adding a # at the beginning of the line).
- Save the file and restart your server.
After making these changes, the "Reset by peer" errors should occur less frequently or stop altogether.
Note: This issue is often related to server provider system images and their default configurations. If you're using a VPS or cloud server, check with your provider about their default kernel settings and any recommendations they may have for optimizing network performance.
- Edit the
© Ronan LE MEILLAT - SCTG Development