Skip to content

Commit ca72d4e

Browse files
Add doc/TROUBLESHOOTING-EN.md
1 parent 29c3ba6 commit ca72d4e

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

doc/TROUBLESHOOTING-EN.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
![troubleshooting-glyph](figures/troubleshooting-glyph.png)
2+
# Troubleshooting
3+
4+
**Abstract**: Guess what? Here you find topics related to troubleshooting.
5+
6+
## Topics
7+
8+
- [I have enabled password-based login but I forgot the password!](#i-have-enabled-password-based-login-but-i-forgot-the-password)
9+
- [I have changed the Wi-Fi password but now I cannot access Eutherpe via web](#i-have-changed-the-wi-fi-password-but-now-i-cannot-access-eutherpe-via-web)
10+
11+
12+
### I have enabled password-based login but I forgot the password!
13+
14+
In order to solve this problem I will log in the computer that is running `Eutherpe` as
15+
`root` user.
16+
17+
If you are logged in this machine as a normal user, you can turn into `root` in several ways:
18+
19+
```
20+
$ sudo su
21+
```
22+
23+
or:
24+
25+
```
26+
$ sudo -i
27+
```
28+
29+
or still if you are not logged in, do the log in as `root`.
30+
31+
Once with a `root` prompt, edit the file `/etc/eutherpe/player.cache`, doing the following:
32+
33+
- Locate in the file the configuration `"Authenticated":true` and change it to `"Authenticated":false`.
34+
- Still in the file, locate the configuration `"HashKey":"<a bunch of symbols>"` and replace it to
35+
`"HashKey":""`.
36+
- Save the changes done in `/etc/eutherpe/player.cache`.
37+
- From the `root` `prompt` execute `systemctl restart eutherpe`.
38+
- `Log off` from `root` session (jot down `exit` in the `root` `prompt`).
39+
- Now browse `Eutherpe` from your `web browser`, it will not ask for password anymore.
40+
- If you would like to reactivate the authentication and/or reset the password, the current password is from now on `music`.
41+
42+
43+
[`Back`](#topics)
44+
45+
### I have changed the Wi-Fi password but now I cannot access Eutherpe via web
46+
47+
You need to log in the `Eutherpe` server as `root`.
48+
49+
If you are logged in this machine as a normal user, you can turn into `root` in several ways:
50+
51+
```
52+
$ sudo su
53+
```
54+
55+
or:
56+
57+
```
58+
$ sudo -i
59+
```
60+
61+
or still if you are not logged in, do the log in as `root`.
62+
63+
Once it done, edit the file `/etc/eutherpe/player.cache` by doing the following:
64+
65+
- Locate the configuration `"ESSID":"<name of your Wi-Fi network>"` and replace it to `"ESSID":""`.
66+
- Save the changes done in `/etc/eutherpe/player.cache`.
67+
- From the `root` `prompt` execute `systemctl restart eutherpe`.
68+
- Browse `http://<eutherpe server ip address>:8080/eutherpe`. If you have chosen `https` instead
69+
of `http`, use `https://<eutherpe server ip address>:8080/eutherpe`. If you have changed the
70+
default port, replace `:8080` to `:<chosen port>`.
71+
- Once `Eutherpe` accessed by `web` you can update all Wi-Fi credentials info, besides reactivating
72+
it. After with all info updated, do the reboot and the access to your Wi-Fi will be restablished.
73+
74+
[`Back`](#topics)

0 commit comments

Comments
 (0)