When I created my forum, I didn’t think about the server being full, I thought it was automatically cleaned, I also didn’t know about copyright issues, problems with justice among other things, and even less did I go after information to not allow users of my forum to upload images to the server!
It turns out that now I’m going through several problems, full server, problems with the fairness of exposing images of others without rights, problems with copyright
I would like to know, how do I delete everything, all topics, all posted images, all images of members’ avatars, all files etc and only leave the discourse files (to run the forum) and the users
it is possible? What can I delete and what can’t I?
which command do i use?
I’m afraid my migration skills are non-existent, so even though I suggested it I unfortunately don’t know how to do it. I was hoping someone else would jump in to at least confirm it’s possible. Anyone?
How many users do you have?
If you have to start again from scratch, an alternative would be to export your users’ email addresses (using data explorer for example) as a CSV file, re-create your forum, and bulk invite your users using the CSV file.
Another idea, more difficult, and I’m not sure it would work as I think it should.
Export all your users’ data you want to keep (since you don’t want to keep their avatar, maybe you want to skip other information as well) using data-explorer and export the result as a file.
Then, after installing your new forum, create a rails script that will parse the file and create user entries in the database (as well as their options, emails…).
Here’s an example of user creation in the rails console:
oh yes, when they talked about it, I thought it was exact and easier, so I’ll have to go back to my first option: deleting things on the server! Do you know what command I use to delete things on the server? And what folders can I delete? I want to delete everything, from media to topics, I just keep the same users, I don’t even want to keep the style of the forum, I really want to reset it.
I don’t have much experience in discourse for that. I’m going to delete things on the server, what command do I use to delete the folder (if any) of all Discourse media? Including profile pictures, wall pictures, topics, chat messages, regular messages etc?
I’m using google translator, I don’t know if it translated correctly, but from what I understood, they wouldn’t return to the forum, but would they be invited? I wanted to keep them the same, no invitations. I didn’t understand the translation exactly, does it matter in what way?