Issue with Admin Panel since upgrade to 1.4.2
-
And if I try to run a ./nodebb setup I'm stuck with this again
MongoError: Index with name: _key_1_value_-1 already exists with different options at Function.MongoError.create (/root/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/error.js:31:11) at /root/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:483:72 at authenticateStragglers (/root/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:429:16) at .messageHandler (/root/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/pool.js:463:5) at Socket.<anonymous> (/root/nodebb/node_modules/mongodb/node_modules/mongodb-core/lib/connection/connection.js:317:22) at emitOne (events.js:96:13) at Socket.emit (events.js:188:7) at readableAddChunk (_stream_readable.js:172:18) at Socket.Readable.push (_stream_readable.js:130:10) at TCP.onread (net.js:542:20)
And I have no idea how to drop tables like it was suggested in other topics for this issue.
-
-
Thanks @PitaJ
Yes, I figured the first error and you're right, the second one doesn't really matter, since nodebb can run just fine.Regarding errors in the Web Console with Chrome I have this
acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9 Uncaught Error: Script error for "admin/settings/general" http://requirejs.org/docs/errors.html#scripterror at F (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at HTMLScriptElement.onScriptError (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at Function.g.load (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at Object.load (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at w.load (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at w.fetch (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at w.check (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at w.enable (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at Object.enable (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9) at w.<anonymous> (acp.min.js?v=0ee92c85-fd2c-4b17-89be-6850365e30bf:9)
and I also get this one
acp.min.js:5:31243 ws://mywebsite.com/socket.io/?EIO=3&transport=websocket&sid=SAHhHJgofRKGxakMAAAH has been interrupted while loading the page
-
@TaLoche I'm not sure what's causing that issue. Can you run it in dev mode with
./nodebb dev
? That way it doesn't minify the javascript files and should provide for a better error readout. -
@teh_g is that on cold load? What happens when you try to go to a different page?
-
@teh_g what language are you using? Can you test with
en-GB
selected in your user settings? -
@PitaJ said in Issue with Admin Panel since upgrade to 1.4.2:
@teh_g what language are you using? Can you test with
en-GB
selected in your user settings?I am using en-US.
Switching to en-GB sort of works. On the initial load of the page, I get the same issue. If I do an F5 to reload, it shows the proper text.
-
@teh_g yeah I just pulled the latest from branch
v1.x.x
and I can't repro. -
-
@teh_g I'd suggest trying
./nodebb build
edit: I just tried it on linux as well. Worked fine.
-
@PitaJ can I ask you something,
./nodebb build
uses to close after finishing? here is showing29/12 22:57:21 [490] - info: [build] Building javascript 29/12 22:57:21 [490] - info: [build] Building client-side CSS 29/12 22:57:44 [490] - info: [build] js => Completed in 22.595s
but it doesn't finishes, for minutes.
-
@priapo yeah the build script should close after finishing. It looks like you may have some corruption. Have you tried
git reset --hard origin/v1.x.x
? -
I tried installing it in the host instead of inside a cointainer, and the error continues the same
It returns a 404 error when acessing
https://thewizards.club/api/language/en-GB/admin%2Fadmin
But finds it when acessing
https://thewizards.club/api/language/en-GB/admin/admin
@PitaJ can you tell us what you did to install it? I followed the rules in the docs for the Ubuntu.
EDIT: also this
-
@priapo have you tried accessing without a reverse proxy?