'django.db.utils.ProgrammingError' when i want to edit device #867

Closed
opened 2025-12-29 16:26:28 +01:00 by adam · 3 comments
Owner

Originally created by @buffonj on GitHub (Apr 17, 2017).

I have create a device in devices/DCIM. when i click the device name link, there is an error page after that.
the error information is below:
<class 'django.db.utils.ProgrammingError'>

error: function concat(text, text) does not exist
LINE 1: SELECT (CONCAT(SUBSTRING(dcim_poweroutlet.name FROM '^[^0-9]...
^

so what's the problem?

Originally created by @buffonj on GitHub (Apr 17, 2017). I have create a device in devices/DCIM. when i click the device name link, there is an error page after that. the error information is below: <class 'django.db.utils.ProgrammingError'> error: function concat(text, text) does not exist LINE 1: SELECT (CONCAT(SUBSTRING(dcim_poweroutlet.name FROM '^[^0-9]... ^ so what's the problem?
adam closed this issue 2025-12-29 16:26:28 +01:00
Author
Owner

@jeremystretch commented on GitHub (Apr 17, 2017):

You have not provided sufficient detail for anyone to help you. Please provide the versions of NetBox and Django which you are running, as indicated by the bug report template, as well as the version of PostgreSQL you are using and some background on your installation.

@jeremystretch commented on GitHub (Apr 17, 2017): You have not provided sufficient detail for anyone to help you. Please provide the versions of NetBox and Django which you are running, as indicated by the bug report template, as well as the version of PostgreSQL you are using and some background on your installation.
Author
Owner

@buffonj commented on GitHub (Apr 18, 2017):

Netbox version: 1.9.5
Django version 1.11
PostgreSQL version: 8.4.20
I followed the installation documentation from GitHub. After I finish all the steps, I must manually execute the command "gunicorn -c /opt/netbox/gunicorn_config.py netbox.wsgi" to let Netbox start. But it is not important right now. the error page is below.
image

@buffonj commented on GitHub (Apr 18, 2017): Netbox version: 1.9.5 Django version 1.11 PostgreSQL version: 8.4.20 I followed the installation documentation from GitHub. After I finish all the steps, I must manually execute the command "gunicorn -c /opt/netbox/gunicorn_config.py netbox.wsgi" to let Netbox start. But it is not important right now. the error page is below. ![image](https://cloud.githubusercontent.com/assets/26614245/25113502/875669ae-242a-11e7-9d79-653d2fceaa15.png)
Author
Owner

@jeremystretch commented on GitHub (Apr 18, 2017):

Your version of PostgreSQL has been EOL for nearly three years and does not support the CONCAT function. Please upgrade to a currently supported version (9.2 or better).

@jeremystretch commented on GitHub (Apr 18, 2017): Your version of PostgreSQL has been [EOL](https://www.postgresql.org/support/versioning/) for nearly three years and does not support the `CONCAT` function. Please upgrade to a currently supported version (9.2 or better).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#867