YaCy admin login failed

Hello,

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:~#

What can be done?


Many greetings.

Hi,

did you tried to reset the password again?

/etc/yacy/bin/passwd.sh mypassword

The command to reinstall software would be

dietpi-software reinstall 133

Yes, I tried to reset the password again:

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#

I am still doing something wrong, what to do?

Many greetings.

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

@Joulinar:
Thanks for the solution.

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.

great that it is working now