Unable to set admin password
Dear all,
I'm trying to setup a new instance of BaseX 10 in order to start migrating some applications of ours.
Anyway I'm unable to set the admin password.
Followin https://docs.basex.org/wiki/BaseX_10#Migrating_Applications, I'm currently trying with [1] and [2] which both ask me to enter a new password. But afterwards I keep getting [3].... and I'm unable to access dba too.
I cannot understand what I'm doing wrongly ...
Any help? Thanks!
[1] java -cp BaseX.jar org.basex.BaseX -c PASSWORD
Password: newpassword
[2] bin/basex -c PASSWORD
Password: newpassword
[3] bin/basexclient Username: admin Password: newpassword Access denied: admin
Hm, sorry. When downloading BaseX and using it barely the steps work.
So it has something to do with our specific layout.... we change the location of the data, repo and webapp folder....
Maybe this is the issue ...
M.
Quoted text · Marco Lettere · 29 lines
On 20/02/23 10:40, Marco Lettere wrote: > Dear all, > > I'm trying to setup a new instance of BaseX 10 in order to start > migrating some applications of ours. > > Anyway I'm unable to set the admin password. > > Followin https://docs.basex.org/wiki/BaseX_10#Migrating_Applications, > I'm currently trying with [1] and [2] which both ask me to enter a new > password. But afterwards I keep getting [3].... and I'm unable to > access dba too. > > I cannot understand what I'm doing wrongly ... > > Any help? Thanks! > > [1] java -cp BaseX.jar org.basex.BaseX -c PASSWORD > Password: newpassword > > [2] bin/basex -c PASSWORD > Password: newpassword > > [3] bin/basexclient > Username: admin > Password: newpassword > Access denied: admin > >
Yes, confirmed.
Need to ensure that users.xml is in the prorper data folder. Thus need to set admin password after change to .basex configuration file I suppose.
Sorry again for bothering.
M.
Quoted text · Marco Lettere · 40 lines
On 20/02/23 10:50, Marco Lettere wrote: > Hm, sorry. When downloading BaseX and using it barely the steps work. > > So it has something to do with our specific layout.... we change the > location of the data, repo and webapp folder.... > > Maybe this is the issue ... > > M. > > > On 20/02/23 10:40, Marco Lettere wrote: >> Dear all, >> >> I'm trying to setup a new instance of BaseX 10 in order to start >> migrating some applications of ours. >> >> Anyway I'm unable to set the admin password. >> >> Followin https://docs.basex.org/wiki/BaseX_10#Migrating_Applications, >> I'm currently trying with [1] and [2] which both ask me to enter a >> new password. But afterwards I keep getting [3].... and I'm unable to >> access dba too. >> >> I cannot understand what I'm doing wrongly ... >> >> Any help? Thanks! >> >> [1] java -cp BaseX.jar org.basex.BaseX -c PASSWORD >> Password: newpassword >> >> [2] bin/basex -c PASSWORD >> Password: newpassword >> >> [3] bin/basexclient >> Username: admin >> Password: newpassword >> Access denied: admin >> >>
Written for BaseX 10.4. BaseX may have changed since: please check the current documentation.