how change post quick reply component become editor?
ed5bfe2d-fb9a-41f3-8b77-b33ae0c7d0c8-image.png
2c12236d-3bbf-4d3c-8f26-4ffc3490277d-image.png
After uploading the avatar works as follows -
Change avatar.
New avatar is uploaded.
Go to the profile page.
Oops, avatar is not changed (pay attention - header avatar has changed).
Refresh the page (F-5).
Now everything is fine...
The official website nodebb is no such this problem (but you use imgur).
I used the latest version of nodebb.
All plugins - standard.
From package.json
In the console writes the following errors:
20/9 02:44 [6085] - error: unable to delete picture /tmp/UK4yjoGTlM3VRQPoUjtUiQGD.png
20/9 02:44 [6085] - error: unable to delete picture /tmp/Gs5yOQkSfl4d9aqL7u4HrdZE.png
20/9 02:45 [6085] - error: Error: ENOENT, unlink '/uploads/profile/1-profileimg.png'
20/9 02:45 [6085] - error: unable to delete picture /tmp/iL3iMK_i-0vqMVyhW1rJoXJL.jpeg
20/9 02:45 [6085] - error: unable to delete picture /tmp/zI1g0N-Q7N3Sf6Sr9o1Cb-vk.jpeg
20/9 02:46 [6085] - error: unable to delete picture /tmp/vc4t_y786bFjsYcyeqgRiePp.jpeg
20/9 02:50 [6085] - error: unable to delete picture /tmp/KKegOkwq0jxW8QlavvV_CleM.jpeg
20/9 02:50 [6085] - error: unable to delete picture /tmp/bbofUS4seYULxQIHUowf1rl-.jpeg
20/9 02:51 [6085] - error: unable to delete picture /tmp/631by4ltY0LknU5a7sQDEqjm.jpeg
20/9 02:51 [6085] - error: unable to delete picture /tmp/TnwYf0CAA4fznYMlf2TcvpPI.jpeg
Why nodebb works for me unfair?
It could be a permission problem though.
Are you sure that nodeBB can read and write at these directories?
This is just a browser cache issue, as the filename itself has not changed, so it is cached.
@julian In that case, why the errors in the console?
That'd be a different issue
That error isn't critical, we try to delete the tmp files after upload and if they are already deleted then you get those logs.
@julian I've just stumbled upon the same issue.
I wanna get around it, what possibilities do I have, as our upcoming user-base will not be technically advanced and they'll blame the system.
Is there anywhere a timestamp of the last changed avatar? Or how can I use a Date.now()
cache-buster inside the template?
I had a similar issue.
But the origin of the trouble seems to be the Nginx cache.