Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login page is empty #2375

Closed
MathiewMay2 opened this issue Sep 7, 2020 · 15 comments
Closed

Login page is empty #2375

MathiewMay2 opened this issue Sep 7, 2020 · 15 comments
Assignees
Labels
bug Something isn't working

Comments

@MathiewMay2
Copy link

MathiewMay2 commented Sep 7, 2020

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

@lpomme
Copy link

lpomme commented Sep 7, 2020

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.

@endrureza
Copy link

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

@robertgirhiny
Copy link

robertgirhiny commented Sep 7, 2020

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

@dmigis
Copy link

dmigis commented Sep 7, 2020

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)

@MarsWarrior
Copy link

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 ],

@lpomme
Copy link

lpomme commented Sep 7, 2020

The problem was 2.5.117. Downgrading to 2.4.107 works.

@MathiewMay2
Copy link
Author

The problem was 2.5.117. Downgrading to 2.4.107 works.

I will try this thanks for your advice

@anortef
Copy link

anortef commented Sep 7, 2020

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

@NGPixel
Copy link
Member

NGPixel commented Sep 7, 2020

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

@NGPixel NGPixel self-assigned this Sep 7, 2020
@NGPixel NGPixel added the bug Something isn't working label Sep 7, 2020
@moqmar
Copy link

moqmar commented Sep 7, 2020

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

@MarsWarrior
Copy link

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

@NGPixel
Copy link
Member

NGPixel commented Sep 7, 2020

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

@NGPixel
Copy link
Member

NGPixel commented Sep 8, 2020

2.5.126 released

@NGPixel NGPixel closed this as completed Sep 8, 2020
@MarsWarrior
Copy link

@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.

@leofass
Copy link

leofass commented Dec 28, 2020

same issue on 2.5.170 (beta) Docker version.
Screenshot_20201228_140604

jionggyu pushed a commit to jionggyu/wiki-2.5.302-patch that referenced this issue Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

10 participants