Delete folders in the Image / File Manager
added in v3
Nicolas Giard
Merged in a post:
Delete folder
Maria Apostolou
I can't delete a folder from UI which contains pictures
Running version 2.5.305
Nicolas Giard
added in v3
Loknath Dhar
I'm still determining if this is a solution, but I misspelled too. For example, I misspelled "datafirm" and wanted to make it "datafarm".
I renamed the path where the word "datafirm" exist.
I had 3 pages under the folder. After manually changing it everywhere, I saw that the 'datafirm' folder was gone. Temporary solution, I guess.
Guns
3 years later, still not a thing.
Noah
If anybody is interested, how to manage folders by accessing the db here's my .md file where I documented this.
Serhii Moruk
Manage wiki js
## Use Putty to connect to server over SSH
## connect to docker container bash shell (just for info)
docker exec -it wikijs /bin/bash
## or the database container (use this one)
docker exec -it wiki-docker-db-1 /bin/bash
### connect to the postgressql db
psql -U wikijs -d wiki
#### make sure on correct db
\c wiki
show all tables
\dt
show shema
\dn
show all folders
SELECT * FROM public."assetFolders";
delete one folder
DELETE FROM public."assetFolders" WHERE id = 1;
delete folders
DELETE FROM public."assetFolders" WHERE id IN (1,3,5,6);
Qds Soft
Noah: Thank you for this workaraound. I installed dbgate for graphical database management, so I can administer it more easily.
KaizenHayashi
Noah: I don't understand this, I'm very new to wiki.js, apologies. Is there a more detailed step-by-step guide on how to manage folders?
Noah
KaizenHayashi: No not really. That‘s very detailed.
How did you install wikijs?
You gotta do this over the command line. There is no gui for this (yet). But like Qds Soft said, you could use some gui for the database.
KaizenHayashi
Noah: I installed wiki.js via this site (https://docs.requarks.io/install/docker-desktop). By command line do you mean Windows Powershell by any chance?
And I might have to check out dbgate before I ask any questions, but I really don't want to have too many external applications/software involved if possible.
I also have Docker on my device.
John G.
bumping this thread. This is really needed!
Nicolas Giard
Merged in a post:
Manage Folders
M
Mark Leigh
When will the functionality for deleting folders be made available?
Damián Berruezo
Indeed. I don't know it one can delete those manually from the file system but then again not every Wiki.js implementation will allow access to the file system. +1
L
Leny
Hello,
Do you have an idea about when it could be available ?
And any way to do this now, in the database ?
S
Sebastian Quezada
This is really needed in a collaborative environment where people makes mistakes. Folders structure is quickly unusable.
Load More
→