I have successfully installed YaCy and can see the search page with Google Chrome. I successfully assigned a password on the DietPi console. Nevertheless, I can not log in to the administration interface of YaCy, I get the error:
HTTP ERROR 401
Problem accessing /ConfigBasic.html. Reason:
Unauthorized
YaCy 1.922 - powered by Jetty -
Reboot of DietPi did not help either, also every other browser throws the same error.
dietpi -reinstall 133 also unsuccessful:
root@DietPi:~# dietpi -reinstall 133
-bash: dietpi: Kommando nicht gefunden.
root@DietPi:~#
root@DietPi:~# dietpi-reinstall 133
-bash: dietpi-reinstall: Kommando nicht gefunden.
root@DietPi:~#
root@DietPi:/etc/yacy/bin# ./passwd.sh
Setting new YaCy administrator password...
Please enter the new password for user 'admin' :
YaCy server appears to be running. Calling the ConfigAccounts_p API...
Enter host password for user 'admin':
curl: (22) The requested URL returned error: 401
curl: (22) The requested URL returned error: 401
Password setting failed.
root@DietPi:/etc/yacy/bin#
you need to set password already at the command /etc/yacy/bin/passwd.sh demo. I used demo as password
root@DietPi3:~# /etc/yacy/bin/passwd.sh demo
Setting new YaCy administrator password...
YaCy server appears to be running. Calling the ConfigAccounts_p API...
Password successfully changed for User Name 'admin'.
root@DietPi3:~#
Now I’m able to use admin/demo to login on admin web page
I have previously selected a secure password with upper and lower case letters, numbers and special characters, under mypassword I understood that I should use a password selected by me.
What conventions should the password for YaCy follow? “demo” worked, but this password is too insecure for me.
many greetings.
Sorry, I found my mistake.
First you enter the new self-selected password, at the following second prompt you enter the previous password, then the new password is taken over.
Thanks for the great support.