I fixed my own issue. Apparently some install scripts fail when run as root (or with sudo). I'm not sure why this is the case, but I got everything to work by running sudo chown -R ralph:www-data /path/to/nodebb && ./nodebb upgrade as a standard user.
nodebb 1.5.2 Profile Cover images
-
So, I'm tailing the error logs to see if anything comes up. nothing remarkable.
Heres the issue:
I upload the image for profile cover, it displays once its uploaded. I refresh the page reverts back to a previous image that was uploaded before. Depending on the file type that was uploaded before.So If png was a cat, and you upload a new png with something else it would revert back to Cat even tho its a new image. Same goes for other file formats.
Is this a permissions issue? Not deleting the files previously for overwriting?
-
Is it happening on this forum as well?
-
@baris you mean images being uploaded to the forums from people? No, that seems to be fine.
-
I mean uploading a profile cover picture on this forum.
-
@baris Nope seems fine on this forum, like i said it could be a perms error but not finding any errors for it.
-
It could be cache, are you using anything to cache the images? Try adding a query param to it to see if you get the newly uploaded image.
-
@baris No i didnt add any special caching to NGINX lately. It seems i am getting a warning from Socketio a client request body is buffered to a temporary file /var/lib/nginx/body/0000000001 hmm
-
location ~ ^/assets/(.*) { root /home/**/nodebb/; try_files /build/public/$1 /public/$1 @nodebb;
Theres no assets folder in that location. Where the heck is it being routed too? lol
Oh wait derp, it replaces assets name.
PS: I turned cloudflare caching off its in dev mode so thats not the issue.