[Solved] Avatar's refuse to resize.
-
@julian said:
@Dazzuh Oh, you use the tarballs located on this page?
Good news, we just released v0.4.3, so you can just drop in the updated code, and run
./nodebb upgrade
Updated, fixed the avatar problem but multiple new problems have arisen.
I'm having a similar problem to this (Although, I'm using redis)
at first I was logged in with the "register / login" text showing at the top right, so I figured I'd try logging out and back in, Logged out now I can't log back in, it stops at "logging in.." which is there the page would usually refresh and I'd logged in, though this time it does nothing.
So I figured I'd restart nodebb, no luck, ran npm update and tried launching again, still nothing.Also the forums show like this when you hard refresh it, clicking the logo at the top left temporarily fixes this, though that's a problem for another time, I've fixed that before.
-
@Dazzuh please run the following commands:
$ npm install nodebb-theme-vanilla@latest $ npm install nodebb-theme-lavender@latest
No clue why, but npm seems to be serving stale versions of vanilla and lavender for no reason at all...
Our
package.json
shows this:"nodebb-theme-vanilla": "~0.0.19", "nodebb-theme-lavender": "~0.0.25"
, which is fine... -
@julian said:
@Dazzuh please run the following commands:
$ npm install nodebb-theme-vanilla@latest $ npm install nodebb-theme-lavender@latest
No clue why, but npm seems to be serving stale versions of vanilla and lavender for no reason at all...
Our
package.json
shows this:"nodebb-theme-vanilla": "~0.0.19", "nodebb-theme-lavender": "~0.0.25"
, which is fine...Doesn't seem to have changed anything at all, even after a restart.
edit:
Nevermind, running those commands without @latest fixed the theme issue however login issue is still there. -
@julian said:
Clear cache? Please let me know what errors show up in web inspector/console.
node_redis: no callback to send error: Error: ERR unknown command 'pexpire'
Error: Error: ERR unknown command 'pexpire'
at HiredisReplyParser.<anonymous> (/var/www/gdt/nbb/nodebb/node_modules/redis/index.js:263:27)
at HiredisReplyParser.EventEmitter.emit (events.js:95:17)
at HiredisReplyParser.execute (/var/www/gdt/nbb/nodebb/node_modules/redis/lib/parser/hiredis.js:41:18)
at RedisClient.on_data (/var/www/gdt/nbb/nodebb/node_modules/redis/index.js:488:27)
at Socket.<anonymous> (/var/www/gdt/nbb/nodebb/node_modules/redis/index.js:82:14)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket.<anonymous> (stream_readable.js:745:14)
at Socket.EventEmitter.emit (events.js:92:17)
at emitReadable (_stream_readable.js:407:10)
at emitReadable (_stream_readable.js:403:5)
info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
info: [app] Database connection closed.
info: [app] Shutdown complete.Restarts after that.
-
@baris said:
You need to update redis to 2.6.0 at least.
Sorry, but I have no idea when it comes to redis.
I've downloaded redis from redis.io, buut using that loads a different database for nodebb (I assume? all categories and users are gone when I use it)
Any idea how I can update and use the same database? orr, transfer it, at least. I'm probably asking a bit much now but as I said I am pretty new to using redis.
using linux, ubuntu 12.04, using apt-get install redis and it's supposedly on the latest version, though I know how allot of stuff can be outdated on ubuntu's default sources. -