You are not logged in.

#1 2022-12-05 05:10:24

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Firefly III, 500 error code and 404s

I have several websites self hosted through my reverse proxy of choice (Caddy) and decided to try a PHP based one (Firefly III, a financial tool). Some configs follow:

caddy block:

<my domain name> {
    root * /usr/share/webapps/firefly-iii/public/
    php_fastcgi unix//run/php-fpm/php-fpm.sock
    file_server
}

If I try access the server I get an Error 500.

If I change the root to .../public/v3/ I get a blank page. If I check the Network tab in the browser it looks like it tries grabbing some static resources but none of them are acquired and return 404s (even though these files are actually there).

I have a user, database, and password for the app setup in Postgres.

I ran the php artisan commands listed here as root.

If anyone can help, that would be great, otherwise I'll try via Firefly III community channels, whatever they are.

Last edited by felixculpa (2022-12-05 05:10:52)

Offline

#2 2022-12-05 08:56:38

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,200

Re: Firefly III, 500 error code and 404s

Isn't that more a caddy-relatedproblem?
I've no experience w/ that, but the suggested php_fastcgi config looks kinda different and less like apache/nginx and even then you'd be missing a colon…
https://caddyserver.com/docs/caddyfile/patterns#php
https://caddyserver.com/docs/caddyfile/ … anded-form

Offline

#3 2022-12-06 00:28:13

felixculpa
Member
From: Alberta, Canada
Registered: 2012-06-12
Posts: 270

Re: Firefly III, 500 error code and 404s

That looks like some good starting points! I've never done PHP stuff before so it's all pretty new to me.

Offline

Board footer

Powered by FluxBB