-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
New install throws 500 Errorcode #386
Comments
I've got the feeling like this is related to you changing the ports in Could you SSH into the container, and let me know what the error is that gets logged in Ps: that's probably in |
I don't think this is a bug, since the problem appeared after you modified the provided |
Hello, thanks for the fast response! The log repeats the following error 152 times:
|
Nice, I think you found a bug. I assume https://www.valutafx.com changed the design of their page, so the conversion rate scraper isn't working anymore. However, this is an automated process. I highly doubt this is what's causing the 500 on your instance. Could you see if any errors pop up in the log when you refresh the page (and force the 500)? |
It now logs this error:
|
Ah! This is useful, thanks. So I recently switched to Vite. The Docker files should have been modified, but clearly something is not going as intended. Did you upgrade from an earlier version perhaps? Or is this a fresh setup? Either way, try running |
Hello! The install was made yesterday with a fresh pull. The error seems to be an dependency issue: root@96d7f9dbec7d:/var/www# yarn install
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
error @vitejs/plugin-vue2@2.2.0: The engine "node" is incompatible with this module. Expected version "^14.18.0 || >= 16.0.0". Got "15.14.0"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
root@96d7f9dbec7d:/var/www# yarn build
yarn run v1.22.19
$ vite build
/bin/sh: 1: vite: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Got it, it’s clear to me now. I’ll be sure to fix this either tonight or tomorrow. Keep you posted. |
Weird. Trying this now, but it runs fine on a fresh Docker container. Could you perhaps try the Docker setup we provide out of the box, and see if that works for you? Or does it give you the same problem? |
Hello, Sorry for the delay in my answer. I tried a completely fresh install (pulled today from Main) with the unmodified docker-compose file. I still get an Error Code 500, this time the Console logs: app_1 | 127.0.0.1 - 16/Apr/2023:19:58:21 +0000 "GET /index.php" 302
app_1 | 2023-04-16 19:58:21,317 CRIT uncaptured python exception, closing channel <POutputDispatcher at 139659108571744 for <Subprocess at 139659108570592 with name php-fpm in state RUNNING> (stderr)> (<class 'OSError'>:[Errno 29] Illegal seek [/usr/lib/python3/dist-packages/supervisor/supervisord.py|runforever|218] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|handle_read_event|281] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|record_output|215] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|_log|184] [/usr/lib/python3/dist-packages/supervisor/loggers.py|info|327] [/usr/lib/python3/dist-packages/supervisor/loggers.py|log|345] [/usr/lib/python3/dist-packages/supervisor/loggers.py|emit|227] [/usr/lib/python3/dist-packages/supervisor/loggers.py|doRollover|264])
app_1 | 127.0.0.1 - 16/Apr/2023:19:58:21 +0000 "GET /index.php" 500
app_1 | 2023-04-16 19:58:21,449 CRIT uncaptured python exception, closing channel <POutputDispatcher at 139659108571744 for <Subprocess at 139659108570592 with name php-fpm in state RUNNING> (stderr)> (<class 'OSError'>:[Errno 29] Illegal seek [/usr/lib/python3/dist-packages/supervisor/supervisord.py|runforever|218] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|handle_read_event|281] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|record_output|215] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|_log|184] [/usr/lib/python3/dist-packages/supervisor/loggers.py|info|327] [/usr/lib/python3/dist-packages/supervisor/loggers.py|log|345] [/usr/lib/python3/dist-packages/supervisor/loggers.py|emit|227] [/usr/lib/python3/dist-packages/supervisor/loggers.py|doRollover|264]) The application also logs the following while building: app_1 | 2023-04-16 19:57:58,849 CRIT uncaptured python exception, closing channel <POutputDispatcher at 139659108571744 for <Subprocess at 139659108570592 with name php-fpm in state STARTING> (stderr)> (<class 'OSError'>:[Errno 29] Illegal seek [/usr/lib/python3/dist-packages/supervisor/supervisord.py|runforever|218] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|handle_read_event|281] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|record_output|215] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|_log|184] [/usr/lib/python3/dist-packages/supervisor/loggers.py|info|327] [/usr/lib/python3/dist-packages/supervisor/loggers.py|log|345] [/usr/lib/python3/dist-packages/supervisor/loggers.py|emit|227] [/usr/lib/python3/dist-packages/supervisor/loggers.py|doRollover|264])
app_1 | [16-Apr-2023 19:57:58] NOTICE: ready to handle connections
app_1 | 2023-04-16 19:57:58,850 CRIT uncaptured python exception, closing channel <POutputDispatcher at 139659108571744 for <Subprocess at 139659108570592 with name php-fpm in state STARTING> (stderr)> (<class 'OSError'>:[Errno 29] Illegal seek [/usr/lib/python3/dist-packages/supervisor/supervisord.py|runforever|218] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|handle_read_event|281] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|record_output|215] [/usr/lib/python3/dist-packages/supervisor/dispatchers.py|_log|184] [/usr/lib/python3/dist-packages/supervisor/loggers.py|info|327] [/usr/lib/python3/dist-packages/supervisor/loggers.py|log|345] [/usr/lib/python3/dist-packages/supervisor/loggers.py|emit|227] [/usr/lib/python3/dist-packages/supervisor/loggers.py|doRollover|264]) in addition to this: app_1 | error @vitejs/plugin-vue2@2.2.0: The engine "node" is incompatible with this module. Expected version "^14.18.0 || >= 16.0.0". Got "15.14.0"
app_1 | error Found incompatible module.
app_1 | info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
`` |
I've got the same issue. I installed using docker, updated added git to the docker file, and installed yarn in a container. Now I can see a login page, but other options are getting 500 errors. |
That's not cool. I'll look into this over the weekend. |
Not really sure what exactly to make of this (multiple issues have been reported in this issue, ranging from As the most recent reported issue is related to Yarn, I'm going to continue with switching to NPM (see #409). Hope that resolves your issues! |
I just released v0.14.0, which upgraded a lot of packages and is where we made the switch from Yarn to NPM. I'd love to hear if that solves your installation issues! |
Since I haven't heard back in 2 months, I'm going to go ahead and close this issue. If the issue remains, please feel free to re-open and hit me up 🙂 |
Expected behavior
The application is installed via Docker (and a modified docker-compose.yml) on a local machine. It should display the budget site.
Current behavior
Error Log:
The site throws with an 500 Error code
Steps to reproduce
I modified the docker-compose so it looks like this:
The primary change was to include traefik and remove the port for mysql, as it conflicts with other containers.
I created it with
docker-compose up -d
and it build / started without a breaking error.If applicable, screenshots can be added here
The text was updated successfully, but these errors were encountered: