-
Notifications
You must be signed in to change notification settings - Fork 4.4k
appwrite maria db database is mysteriously deleted #6333
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
Comments
@Edijae, thanks for raising this issue! 🙏🏼 Some questions for you:
|
@stnguyen90 I did not stop anything since yesterday. when i checked
|
@stnguyen90 then there is this latest log
|
@stnguyen90 I see like there is no documentation about all the services in docker compose file. I'm now wondering what triggers the delete function in the logs above. also how can i recover the database? i've lost alot of tables and it will take. time to recreate them? Also what will happen if this service is removed in the docker compose file? |
@Edijae, the log in the
This is probably because the data doesn't exist anymore.
We have some documentation here.
The only way to recover is if you had a backup of the data before.
If a service is removed and you run I'm not sure what happened to your data or how the tables were deleted and this is the first time I've heard of this being reported. |
@stnguyen90 I'm seeing some suspicious logs from maria db container
i tried to look up the ip address and this is what i got https://ipinfo.io/80.66.76.58 user bankruptcy,manager,MANAGER,COLLECTOR,root,root'@'80.66.76.58. i don't have any user with that kind of names. Is this an attack? |
@stnguyen90 I found i had exposed the mariadb container to host using |
@Edijae dang that's scary 👀
|
👟 Reproduction steps
I created database and tables using appwrite console and was able to store data in them using the server API and it reflects on the console. today i tried to make an api call to get the data but i got a 500 error.
Error
checking. appwrite docker container logs i see the error below
i accessed maria db container using the
docker exec -it mariadb bash
command and saw there were no tables in the appwrite db.What could be the issue? i never deleted anything. this is a big concern if data can disappear or be deleted automatically
👍 Expected behavior
Data. should not disappear/be deleted automatically
👎 Actual Behavior
Database is been deleted
🎲 Appwrite version
Version 1.4.x
💻 Operating system
Linux
🧱 Your Environment
v 1.4.3
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: