Antelope-Valley-College / polr

GNU General Public License v2.0
24 stars 10 forks source link

Installation and post-install issues #14

Open ADSTfowlerj opened 3 months ago

ADSTfowlerj commented 3 months ago

I'm able to follow the install instructions and substitute in the AVC git repository. Everything installs fine. The composer runs fine as a user in the www-data group. Tried editing both the simple .env file and the complex .env file. I inserted an admin user into the users table.

I've done the install three times to make certain there wasn't an error in process.

Expected Behavior

Now the website should appear and enable further setup or the website should present itself and allow me to login with the inserted admin user.

Current Behavior

The web site redirects to domain.name/setup (expected) and returns "ERR_TOO_MANY_REDIRECTS."

So I ran polr on port 8000 (php artisan serve -vvvv), updated my nginx config, and restarted both fpm and nginx. The instance reports "invalid request (Malformed HTTP request)" for both HTTP and HTTPS.

Possible Solution

I wish I knew. Help please.

Steps to Reproduce (for bugs)

Follow the present install guide to reproduce. I removed the entire directory and tried it three different times. It always arrives at the same point of failure when following the directions. https://l.adst.org/setup

The nginx logs state: 2024/07/31 11:46:15 [error] 3174242#3174242: 761 upstream prematurely closed connection while reading response header from upstream, client: 162.158.187.63, server: l.adst.org, request: "GET /setup HTTP/1.1", upstream: "fastcgi://127.0.0.1:8000", host: "l.adst.org" 2024/07/31 11:46:16 [error] 3174243#3174243: 764 upstream prematurely closed connection while reading response header from upstream, client: 162.158.186.242, server: l.adst.org, request: "GET /setup HTTP/1.1", upstream: "fastcgi://127.0.0.1:8000", host: "l.adst.org"

Context

I cannot get the application working.

Your Environment

nginx version: nginx/1.27.0 PHP 8.2.21 cli/fpm

php composer.phar install --no-dev -o Installing dependencies from lock file. Verifying lock file contents can be installed on current platform. Nothing to install, update or remove.

Tested with Chrome variants (Brave, Throium) and Firefox

Link to instance: https://l.adst.org/

Help please.