Hi,
I have installed UI Bakery on virtual machine with docker, however from some reason I’m unable to log into my workspace. It seems like I didn’t save password or passwords which I have doesn’t match. Do you know if is possible to reset password for workspace directly in database?
Hi @eth0,
If you previously had a cloud account and are looking to login with the same credentials, then this wouldn’t work, as cloud and on-premise accounts are not connected.
You need to sign up again for the self-hosted version.
If this is not your case, please provide more details, and we’ll be happy to help.
This is a self-hosted instance of UI Bakery, and I don’t remember the email and password I used to create the default workspace. I’ve been working on an app there for the past few months. I was always logged in, but after moving the virtual machine where everything is hosted, UI Bakery started asking for credentials.
I could try restoring the virtual machine from a snapshot I took about a month ago, which might help. However, I’m wondering if there’s any way to restore credentials for a self-hosted UI Bakery instance installed with Docker, given I have full access to the machine where it’s installed.
Problem solved:
If you have access to instance where is installed UI bakery, in my case this is Debian with docker you can connect directly to docker where UI Bakery keep database, this container is named DB and credentials you can find in docker-compose.yml, if you stick to default values that will be:
database: bakery
user: bakery
password: bakery
To connect with database from host you can use command like below:
mysql -u bakery -p -h 172.19.0.3 -P 3306
Change IP for the IP used by your DB container. Then with standard mysql commands you can select bakery database and list records for user table. This helped me to figure out credentials for my instance as I made typo in my email address. I think from this place we can also replacing password hash if we know which hash method is used. However now I have access to UI bakery.