board icon indicating copy to clipboard operation
board copied to clipboard

Restyaboard shows whitepage and keeps reloading

Open gcommit opened this issue 4 years ago • 12 comments
trafficstars

I followed these instructions, but with php7.4 https://slacker.ro/2020/01/06/how-to-install-restyaboard-on-debian-buster/

When i build my restyaboard, i will get a whitepage with an orange loading bar, which keeps loading from new, every second. In the nginx logs i can see this:

web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124279 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124305 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124328 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124354 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124379 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124413 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124441 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
web_1  | 172.22.0.1 - - [07/Jul/2021:12:15:24 +0000] "GET /api/v1/oauth.json?_=1625660124472 HTTP/1.1" 404 31 "http://localhost/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36

Nginx is up and running, postresql, fpm as well and i get no errors during the installation

Can someone help? Bildschirmfoto 2021-07-07 um 14 21 51

gcommit avatar Jul 07 '21 12:07 gcommit

@gcommit You can use the Restyaboard installation script to install Restyaboard on your debian system,

Please attach the Nginx error log in the folder path "/var/log/nginx/error.log", it can be an issue of database connection or file permission issue

sridhar391 avatar Jul 07 '21 14:07 sridhar391

The error log is empty, the db connection is successfull and i can't use your install script, since it needs manual input and i can't use it with an automated docker setup.

Everythings needs to be installed and configured in setup.sh and Dockerfile, so when i start an "docker-compose up --build" i will get an fully installed and configured restyaboard

gcommit avatar Jul 07 '21 14:07 gcommit

i also changed permissions of files mentioned here: (manual install) https://restya.com/board/docs/install-restyaboard/

gcommit avatar Jul 07 '21 14:07 gcommit

any suggestion?

gcommit avatar Jul 08 '21 10:07 gcommit

Absolutely agree with the Docker suggestion. I am facing a similar issue every few months there is some kind of failure that results in this similar white screen issue. I would love to have a simple Docker image running, with storage on external hard drive setting, so that when an error was faced we could just Rebuld the Docker Container and everything would be back to working in minutes.

manakill avatar Jul 10 '21 16:07 manakill

@gcommit Can you please send us the instructions you have followed to setup the Restyaboard in docker

sridhar391 avatar Jul 12 '21 04:07 sridhar391

I already did ...

"I followed these instructions, but with php7.4 https://slacker.ro/2020/01/06/how-to-install-restyaboard-on-debian-buster/" "i also changed permissions of files mentioned here: (manual install) https://restya.com/board/docs/install-restyaboard/"

gcommit avatar Jul 12 '21 05:07 gcommit

So? Any News?

gcommit avatar Jul 19 '21 09:07 gcommit

@gcommit Sorry for the late response, can you please follow the instructions from the link https://restya.com/board/docs/install-restyaboard-docker/ for installation of Restyaboard in docker

sridhar391 avatar Jul 27 '21 14:07 sridhar391

No. I Can't follow these steps, since this pre-configured does not fit in my infra. Thats why i follow "I followed these instructions, but with php7.4 https://slacker.ro/2020/01/06/how-to-install-restyaboard-on-debian-buster/" "i also changed permissions of files mentioned here: (manual install) https://restya.com/board/docs/install-restyaboard/"

As is just said now for the 3rd time.

I need help with this instructions and the whitepage resulting.

gcommit avatar Jul 27 '21 14:07 gcommit

Sometimes I can resolve the whitepage issue by deleting cookies and temp internet files. Sometimes there is a Token left over that causes the whitepage issue

manakill avatar Jul 28 '21 00:07 manakill

@gcommit Please set R_DEBUG as true on the config.inc.php file in line 15 on /usr/share/nginx/html/restyaboard/server/php path like https://github.com/RestyaPlatform/board/blob/dev/server/php/config.inc.php#L15 and copy the response of http://<restyaboard_url>/api/v1/oauth.json on the Network tab of Browser developer tools and paste it here.

sridhar391 avatar Jul 28 '21 13:07 sridhar391