wiki-v1
wiki-v1 copied to clipboard
Image upload function
Actual behavior
Too often the function to upload and insert image fails with no clear reason. Example: i upload image, the image windows shows a notification that file has been uploaded OK, but it doesn't show on the list of pictures. And there is a message that there was an error getting image list.
Next time i open the window, the picture is still not there, but i cant upload it - because the system complains image exists already !
Broken, no easy workaround. This sometimes fixes after restarting wiki And there is no information about any errors in the log files - bad.
Expected behavior
Make it simple and working. Just show the files and do simple standard html upload instead of this fancy picture window, if this would just work.
Steps to reproduce the behavior
Heh, I get "that file is too big"
I experience similar messages as well, v1.0.68. Insert new image (upload), OK, save changes, go back in, attempt to upload another image, and system states that the PREVIOUS image already exists --- same as OP.
My file too big problem was a result of my (virtual) machine not having enough RAM. Increasing memory allows the image upload function to work in the same way as the OP reports.
You can only upload one image per page edit session/instance/whatever.
same issue here!
As everyone i guess ;)
i got uploads working by making folders and default permissions for data/cache data/temp-upload and data/thumbs, watch for the pm2 logs for info
Same issue here. Using the docker image from https://hub.docker.com/r/requarks/wiki/
Is there any workaround to get this work? I can´t use wikijs just for this issue.
I think I fixed this bug, I'll pull request if anybody need it