You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When going to the streams page in the latest version v2.12.2 I get a 500 Internal error message.
This is a line from the logs:
⚠ warning select stream.* from stream where is_deleted = 0 group by id order by CAST(incoming_port AS INTEGER) ASC - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTEGER) ASC' at line 1
Nginx Proxy Manager Version
2.12.2
To Reproduce
Steps to reproduce the behavior:
Go to the streams page
See the error
Expected behavior
List the streams
Screenshots
Operating System
Ubuntu 24 - using docker image
The text was updated successfully, but these errors were encountered:
.orderByRaw('CAST(incoming_port AS INTEGER) ASC');
However, it goes wrong on MySQL 8.0, probably can be fixed by this:
--- CAST(`stream`.incoming_port AS INTEGER) DESC;+++ CAST(`stream`.incoming_port AS UNSIGNED INTEGER) DESC;
or just replace INTEGER with UNSIGNED
PgSQL and MySQL conflict here, I'm not familiar with PgSQL so I cannot give a perfect solution, maybe just delete the sorting :)
Describe the bug
When going to the streams page in the latest version v2.12.2 I get a 500 Internal error message.
This is a line from the logs:
⚠ warning select
stream
.* fromstream
whereis_deleted
= 0 group byid
order by CAST(incoming_port AS INTEGER) ASC - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTEGER) ASC' at line 1Nginx Proxy Manager Version
2.12.2
To Reproduce
Steps to reproduce the behavior:
Expected behavior
List the streams
Screenshots
Operating System
Ubuntu 24 - using docker image
The text was updated successfully, but these errors were encountered: