RE: Admin account locked
Hi, I'm stuck once more with this problem. Restarting archiva doesn't help. This might be because I'm not restarting it using standard run script (no wrapper for my platform : IBM Aix). As I directly use plexus.sh script to start, I have to kill archiva when I want to restart it... Do you have a solution for this use case? Isn't there a file that I could delete manually that would let archiva restart and correctly unlock. And btw, is there a way to disable this security feature? Cheers. -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 février 2008 19:29 À : archiva-users@maven.apache.org Objet : Re: Admin account locked On Feb 6, 2008 11:19 AM, MATHUS Baptiste [EMAIL PROTECTED] wrote: It seems I f#^$d up something with my archiva instance. I wasn't able to remember my admin password, so I asked for a reset. I reset the account three or four times. Now, I'm locked, each time I try to log in, I've got the http://mvnrepo:4000/archiva/index.action?infoMessage=Account+L ocked url. What can I do ? Even server-side operation to unlock me would help :-). Stop Archiva, then re-start it. The admin account should unlock. If that doesn't work, you can connect to the users database directly and modify it. (You can safely ignore the NoSuchPropertyExceptions in the logs.) -- Wendy
RE: Admin account locked
OK, For the record: after killing Archiva (btw, if you have a better alternative than killing it, I'd be delighted to know about it. I have to use the exactly same approach to manage continuum...), go to $ARCHIVA_HOME/data/ recursively delete any .lck did the trick. $ rm -i `find data/ -name *.lck` Might not be the cleanest way, though :/ Cheers. -Message d'origine- De : MATHUS Baptiste [mailto:[EMAIL PROTECTED] Envoyé : lundi 7 avril 2008 15:34 À : archiva-users@maven.apache.org Objet : RE: Admin account locked Hi, I'm stuck once more with this problem. Restarting archiva doesn't help. This might be because I'm not restarting it using standard run script (no wrapper for my platform : IBM Aix). As I directly use plexus.sh script to start, I have to kill archiva when I want to restart it... Do you have a solution for this use case? Isn't there a file that I could delete manually that would let archiva restart and correctly unlock. And btw, is there a way to disable this security feature? Cheers. -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 février 2008 19:29 À : archiva-users@maven.apache.org Objet : Re: Admin account locked On Feb 6, 2008 11:19 AM, MATHUS Baptiste [EMAIL PROTECTED] wrote: It seems I f#^$d up something with my archiva instance. I wasn't able to remember my admin password, so I asked for a reset. I reset the account three or four times. Now, I'm locked, each time I try to log in, I've got the http://mvnrepo:4000/archiva/index.action?infoMessage=Account+L ocked url. What can I do ? Even server-side operation to unlock me would help :-). Stop Archiva, then re-start it. The admin account should unlock. If that doesn't work, you can connect to the users database directly and modify it. (You can safely ignore the NoSuchPropertyExceptions in the logs.) -- Wendy
RE: Admin account locked
Hi Wendy, Thanks for your answer. As I don't know plexus the archiva webapp structure I don't where to find db configuration. It seems like (I'm using the default) it's using JavaDB. Where's is configured the jdbc url so I can just copy-paste it ? Thanks again. Cheers. -Message d'origine- De : Wendy Smoak [mailto:[EMAIL PROTECTED] Envoyé : mercredi 6 février 2008 19:29 À : archiva-users@maven.apache.org Objet : Re: Admin account locked On Feb 6, 2008 11:19 AM, MATHUS Baptiste [EMAIL PROTECTED] wrote: It seems I f#^$d up something with my archiva instance. I wasn't able to remember my admin password, so I asked for a reset. I reset the account three or four times. Now, I'm locked, each time I try to log in, I've got the http://mvnrepo:4000/archiva/index.action?infoMessage=Account+Locked url. What can I do ? Even server-side operation to unlock me would help :-). Stop Archiva, then re-start it. The admin account should unlock. If that doesn't work, you can connect to the users database directly and modify it. (You can safely ignore the NoSuchPropertyExceptions in the logs.) -- Wendy