directus / v8-archive

Directus Database API — Wraps Custom SQL Databases with a REST/GraphQL API
https://docs.directus.io/api/reference.html
505 stars 204 forks source link

Server Error After Login #1226

Closed srjrol closed 4 years ago

srjrol commented 5 years ago

After updating from version Spouting Whale — (190807A) to Spouting Whale — (190807A) my installation broke and I encounter a constant server error after login. I also tried a clean install of the latest version with a fresh database but I get the Server Error.

I installed version Shield — (190827A), using GitVersion in Cpanel to copy the repo.

I used the built-in wizard to create the default API with a new database. I've included a zip of the files and a copy of the database that was created.

image

Bug Report

Steps to Reproduce

  1. Go to Login page
  2. Login
  3. See error

Expected Behavior

Login and use the app without error.

Actual Behavior

The error appears after login and prevents all use of the app.

Other Context & Screenshots

Error in the log:

[2019-08-28 02:20:02] api[].ERROR: Directus\Exception\UnauthorizedException: Unauthorized request in /home/drivve5/public_html/drivve/src/helpers/app.php:268

Technical Details

srjrol commented 5 years ago

I was able to update my database manually using bin/directus db:upgrade but I still encounter the same error.

benhaynes commented 5 years ago

Thanks @srjrol — we'll take a look.

@directus/api-team — just be aware that this is with MariaDB, in case that is part of the culprit.

yakou32 commented 5 years ago

Note that I have the same issue with MySQL 5.6...

EDIT____ MySQL 5.7

rijkvanzanten commented 5 years ago

@yakou32 Makes sense, Directus requires 5.7+

https://docs.directus.io/getting-started/installation.html#requirements

yakou32 commented 5 years ago

Oops, Sorry for the typo. I rechecked, and I have the 5.7 version.

binal-7span commented 5 years ago

@srjrol - I need your help to replicate this issue. I checked in MariaDB but not able to reproduce it. I pinged you at slack for further discussion. Let's connect there.

binal-7span commented 5 years ago

@srjrol - May I have a screen recording for your issue?

binal-7span commented 4 years ago

As this issue is not reproducible in the latest version; I am closing this. Feel free to reopen it.