Of course I tried also with c: instead of /c/, etc.
FileZila: it’s not using the same key because it had to be converted to ppk, but the path ‘/c/Users/Miguel/.ssh/id_rsa’ is where Ubuntu looks for it when I log in and evidently finds it. Look
The problem is that you’re running this command once you’re already connected to the wiki.actualism.online server.
Since you’re copying the file from your local machine TO the server — you have to run the command from your local machine. That is to say from the same place you are running this ssh command:
Oh, you say BEFORE I ssh wiki.actualism.online… I’ll try, thanks
Just in case, did you see this?
Because I want you to try the extension and then I thought to restore just the users database (if that can be done… -if not, I’d restore the whole wiki and later reinstall the extension-)
I think we have to restore the entire wiki because if we just remove the user, it will be broken since there will be pages that are edited by non-existent user (e.g. the talk pages)
maybe better restore it first, and then mess with the extensions – making sure the restored version still doesn’t allow new users to be made
Oh, yes; no problem. Only that until now I had not done anything with the wiki but read it, without creating a user or looking at the existing ones. I’ll try to test the extension as well
@claudiu: thinking about which file to restore, I realized that the last backups will have the users spamed included.
Can you access the database to see WHEN the spam started, in order to restore a file dated prior to that? Or, if you prefer, tell me how to access/see them by myself.
Well, I just found out that in the bucket we have wiki backups since November 4th because for the second time the lifecycle rule I made then to keep only the last 7 didn’t work…
Fortunately they are small files.
I will see again if I can find out what the problem is with that rule. Otherwise I will ask for help here.
I was planning to rename (at first, later delete) home/wiki and then restore the BUP’s wiki into home but I suppose I’ll then face the same error given the permissions granted to the wiki user, right?
There’s only 3 pieces for the wiki: the db, images, and local settings.
So rather than replace the entire home folder I would just replace these 3 pieces — and if we want to keep the current local settings then we only need to replace the db and images folder. Of course renaming the current ones first
However now the site served with an error saying it couldn’t access the database.
Doing an ls -alh I saw that the owner & group of the new wiki_db and wiki_images didn’t match the old ones:
drwxrwxr-x 3 wiki wiki 4.0K Jan 7 13:06 wiki_db
drwxrwxr-x 3 www-data www-data 4.0K Jan 11 20:40 wiki_db_OLD
drwxrwxr-x 9 wiki wiki 4.0K Jan 7 13:07 wiki_images
drwxrwxr-x 9 www-data www-data 4.0K Oct 2 11:21 wiki_images_OLD
Btw what edits were lost and where? I did add a lot of material to the enlightenment piece around the early - mid Nov and might have deleted and changed some of what you wrote, but didn’t exactly go slash and burn. Was it there or somewhere else?