Wiki: Login page is empty

Created on 7 Sep 2020  路  15Comments  路  Source: Requarks/wiki

OS: Debian
Wiki.js version: 2.5.117
Database engine: postgres 9.7

I installed wiki js and create the admin account then it sent me to the login page at localhost:3000/login but that page is empty, i tried restarting the server but i cant figure out what is going wrong, there is no error in the console, this is my first time installing wiki js.

here is the error output by my browser

app.js?1599437069:346 TypeError: Cannot read property 'strategy' of undefined
    at a.filteredStrategies (login.js?1599437069:2)
    at fn.run (app.js?1599437069:346)
    at un (app.js?1599437069:346)
    at Array.<anonymous> (app.js?1599437069:346)
    at Xt (app.js?1599437069:346)

image

bug help

Most helpful comment

The issue has been resolved and an updated release will be published shortly.

All 15 comments

This happens to me as well.
It says page creation is completed but showing the same image as the original post. I installed it under 2019 with posgresql.

is it confirmed on the latest version or this happening also on the nearest latest version (2.4.107) ?

The same thing happened to me.
I just installed a fresh version with sqlite, following the setup guide. I downloaded this version:
wget https://github.com/Requarks/wiki/releases/download/2.5.117/wiki-js.tar.gz

Maybe here is the commented form block:
image

OS: Ubuntu 16.04.3 LTS

Same on Docker, latest version, clean install.
Error message in Chrome developer console:
TypeError: Cannot read property 'strategy' of undefined at a.filteredStrategies (login.js?1599437069:2) at fn.run (app.js?1599437069:346) at un (app.js?1599437069:346) at Array.<anonymous> (app.js?1599437069:346) at Xt (app.js?1599437069:346)

Same here, also on Docker using Postgres 11.
I already had on-boarding problems with the beta/canary versions yesterday.

An upgrade from 2.4.107 ruins the installation, but a fresh install also prevents any user from logging in.

In some cases, it seems that I can create an initial home page without logging in:
image
...but when I try that, I get the unauthorized screen:
image

There are no errors in the container log:

Loading configuration from /wiki/config.yml... OK,
2020-09-07T08:01:43.634Z [MASTER] info: =======================================,
2020-09-07T08:01:43.637Z [MASTER] info: = Wiki.js 2.5.117 =====================,
2020-09-07T08:01:43.637Z [MASTER] info: =======================================,
2020-09-07T08:01:43.638Z [MASTER] info: Initializing...,
2020-09-07T08:01:44.698Z [MASTER] info: Using database driver pg for postgres [ OK ],
2020-09-07T08:01:44.707Z [MASTER] info: Connecting to database...,
2020-09-07T08:01:44.756Z [MASTER] info: Database Connection Successful [ OK ],
2020-09-07T08:01:46.037Z [MASTER] warn: Mail is not setup! Please set the configuration in the administration area!,
2020-09-07T08:01:46.592Z [MASTER] info: Loading GraphQL Schema...,
2020-09-07T08:01:47.844Z [MASTER] info: GraphQL Schema: [ OK ],
2020-09-07T08:01:48.315Z [MASTER] info: HTTP Server on port: [ 3000 ],
2020-09-07T08:01:48.328Z [MASTER] info: HTTP Server: [ RUNNING ],
2020-09-07T08:01:48.622Z [MASTER] info: No new analytics providers found: [ SKIPPED ],
2020-09-07T08:01:48.672Z [MASTER] info: Loaded 19 authentication strategies: [ OK ],
2020-09-07T08:01:48.710Z [MASTER] info: No new comment providers found: [ SKIPPED ],
2020-09-07T08:01:48.761Z [MASTER] info: No new editors found: [ SKIPPED ],
2020-09-07T08:01:48.858Z [MASTER] info: No new loggers found: [ SKIPPED ],
2020-09-07T08:01:49.039Z [MASTER] info: No new renderers found: [ SKIPPED ],
2020-09-07T08:01:49.122Z [MASTER] info: No new search engines found: [ SKIPPED ],
2020-09-07T08:01:49.208Z [MASTER] info: No new storage targets found: [ SKIPPED ],
2020-09-07T08:01:49.210Z [MASTER] info: Checking for installed optional extensions...,
2020-09-07T08:01:49.241Z [MASTER] info: Optional extension git is installed. [ OK ],
2020-09-07T08:01:49.261Z [MASTER] info: Optional extension pandoc was not found on this system. [ SKIPPED ],
2020-09-07T08:01:49.282Z [MASTER] info: Optional extension puppeteer was not found on this system. [ SKIPPED ],
2020-09-07T08:01:49.285Z [MASTER] info: Optional extension sharp was not found on this system. [ SKIPPED ],
2020-09-07T08:01:49.296Z [MASTER] info: Authentication Strategy Local: [ OK ],
2020-09-07T08:01:50.903Z [MASTER] info: (COMMENTS/DEFAULT) Initializing...,
2020-09-07T08:01:50.903Z [MASTER] info: (COMMENTS/DEFAULT) Initialization completed.,
2020-09-07T08:01:50.923Z [MASTER] info: Purging orphaned upload files...,
2020-09-07T08:01:50.926Z [MASTER] info: Syncing locales with Graph endpoint...,
2020-09-07T08:01:50.928Z [MASTER] info: Fetching latest updates from Graph endpoint...,
2020-09-07T08:01:50.997Z [MASTER] info: Purging orphaned upload files: [ COMPLETED ],
Loading configuration from /wiki/config.yml... OK,
2020-09-07T08:01:51.423Z [JOB] info: Rebuilding page tree...,
2020-09-07T08:01:51.484Z [MASTER] info: Fetching latest updates from Graph endpoint: [ COMPLETED ],
2020-09-07T08:01:51.485Z [MASTER] info: Pulled latest locale updates for English from Graph endpoint: [ COMPLETED ],
2020-09-07T08:01:51.495Z [MASTER] info: Syncing locales with Graph endpoint: [ COMPLETED ],
2020-09-07T08:01:52.458Z [JOB] info: Using database driver pg for postgres [ OK ],
2020-09-07T08:01:52.676Z [JOB] info: Rebuilding page tree: [ COMPLETED ],
2020-09-07T08:16:51.000Z [MASTER] info: Purging orphaned upload files...,
2020-09-07T08:16:51.004Z [MASTER] info: Purging orphaned upload files: [ COMPLETED ],
2020-09-07T08:31:51.006Z [MASTER] info: Purging orphaned upload files...,
2020-09-07T08:31:51.009Z [MASTER] info: Purging orphaned upload files: [ COMPLETED ],
2020-09-07T08:46:51.011Z [MASTER] info: Purging orphaned upload files...,
2020-09-07T08:46:51.014Z [MASTER] info: Purging orphaned upload files: [ COMPLETED ],

The problem was 2.5.117. Downgrading to 2.4.107 works.

The problem was 2.5.117. Downgrading to 2.4.107 works.

I will try this thanks for your advice

Happens with the 2.5, 2, and latest tags (they all point to the same image) in Docker too.

The issue has been resolved and an updated release will be published shortly.

Works with Docker now when using the canary tag, thank you for the fast fix! :+1:

I still hve problems with the canary build and on-boardinf.

Difficulties logging in, failure to create first page, etc.

2020-09-07T20:10:29.383Z [MASTER] error: Failed to save configuration to DB: update "settings" set "value" = $1, "updatedAt" = $2 where "key" = $3 - Connection terminated unexpectedly, Connection Error: Connection ended unexpectedly

@MarsWarrior That looks like a connection problem with your database, not Wiki.js.

2.5.126 released

@NGPixel , I will retrace all my steps again with the latest release, and open e new issue if I still have problems.
The 2.4 version works without problems, and both versions are running on the same Docker Swarm on different subdomains.

same issue on 2.5.170 (beta) Docker version.
Screenshot_20201228_140604

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ccolella-mdc picture ccolella-mdc  路  3Comments

ghost picture ghost  路  3Comments

failover88 picture failover88  路  4Comments

bennycode picture bennycode  路  4Comments

gruesomehit picture gruesomehit  路  4Comments