New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
User registration not persistant #986
Comments
Thanks for submitting your first issue, we will have a look as quickly as possible. |
@RBisso did you create the directory |
Sorry to bump the thread too late, I'm still having the same issue too when I was playing around with WebGoat last week. I'll give this a try when I find time on the weekend. |
I'm playing with 8.2.2. User registration info still doesn't persist. |
@rambasnet it is not persistent between releases that would be possible for the user administration but it has a lower priority. |
@nbaars I've tried what @RBisso did and also the solution suggested in the #457 issue. I've used the same version latest (8.2.2) on Kali Linux. I did create /tmp/webgoat-data folder before running docker. Is there an official documentation step, I can follow that has been tested and works? Thank you! |
That is indeed missing, I will add this to the documentation and do some additional testing. |
Could you please try ❯ docker pull frost19k/webgoat
❯ docker run -it --rm \
-p 8081:8081 \
-p 9091:9091 \
-e TZ=Europe/Amsterdam \
frost19k/webgoat Note that the ports are incremented by one, as compared to the original. |
I deleted my previous comment as I missed giving an update on it. A day after commenting here (2 May 2022), I realized the issue was me running the following command without having an understanding of how the command (or docker) works docker run -p 8080:8080 -p 9090:9090 -e TZ=America/Sao_Paulo webgoat/goatandwolf Running this command creates a new container, which means it's a new, clean environment with no data. So everytime I run it, I'm doing a fresh start in WebGoat. The fix was restarting the docker container I used earlier. Do something like this: docker run --name webgoat_docker -it -p 127.0.0.1:8080:8080 -p 127.0.0.1:9090:9090 -e TZ=Europe/Amsterdam webgoat/webgoat This creates a docker container with name docker start webgoat_docker Please check if this works for you |
@arayofcode indeed that's even a better suggestion. Since we don't support migration of user data across versions I've added this to the Thanks for your suggestion 👍 |
Closing as we released 2023.3 |
Hi,
First, thank you for reading this : ).
I started using WebGoat few days ago and every time i start the container i need to create a new account. I started using the command in the README.md.
Looking at #457, I tryied to relicate the suggested command to the 8.1 version:
That resulted in the following error:
So, looking at the
/home/webgoat/.webgoat-8.1.0
folder, I found out that the.lck
file was insidedata
There is another error popping after this one:
Thank you again for reading this, appreciate any help :)
The text was updated successfully, but these errors were encountered: