Steps to Reproduce
Because an upgrade from a working installation 4.0.11 to 4.1.x fails with productive DB i try to test with the demo 4.0 DB
According to the procedure on the demo data page:
Drop old working DB
Create new DB
Load Demo DB
Expected Behavior
The data is loaded successfully
Observed Behavior
sudo -u postgres psql netbox < netbox-demo-v4.0.sql
ERROR: syntax error at or near "<!"
LINE 1: <!DOCTYPE html>
^
ERROR: syntax error at or near "2024"
LINE 1: 2024 GitHub, Inc.
^
ERROR: syntax error at or near "/</"
LINE 1: /
^
ERROR: syntax error at or near "}"
LINE 1: }/!sc/
^
ERROR: syntax error at or near "margin"
LINE 1: margin-left:auto;
^
ERROR: syntax error at or near "margin"
LINE 1: margin-right:auto;
^
ERROR: syntax error at or near "display"
LINE 1: display:-webkit-box;
^
ERROR: syntax error at or near "display"
LINE 1: display:-webkit-flex;
^
ERROR: syntax error at or near "display"
LINE 1: display:-ms-flexbox;
^
ERROR: syntax error at or near "display"
LINE 1: display:flex;
^
ERROR: syntax error at or near "-"
LINE 1: -webkit-flex-wrap:wrap;
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex-wrap:wrap;
^
ERROR: syntax error at or near "flex"
LINE 1: flex-wrap:wrap;
^
ERROR: syntax error at or near "}"
LINE 1: }/!sc/
^
ERROR: syntax error at or near "display"
LINE 1: display:-webkit-flex;
^
ERROR: syntax error at or near "display"
LINE 1: display:-ms-flexbox;
^
ERROR: syntax error at or near "display"
LINE 1: display:flex;
^
ERROR: syntax error at or near "-"
LINE 1: -webkit-flex:1 1 100%;
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex:1 1 100%;
^
ERROR: syntax error at or near "flex"
LINE 1: flex:1 1 100%;
^
ERROR: syntax error at or near "-"
LINE 1: -webkit-flex-wrap:wrap;
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex-wrap:wrap;
^
ERROR: syntax error at or near "flex"
LINE 1: flex-wrap:wrap;
^
ERROR: syntax error at or near "max"
LINE 1: max-width:100%;
^
ERROR: syntax error at or near "}"
LINE 1: }/!sc/
^
ERROR: syntax error at or near "}"
LINE 1: }/!sc/
^
ERROR: syntax error at or near "}"
LINE 1: }}/!sc/
^
ERROR: syntax error at or near "}"
LINE 1: }}/!sc/
^
ERROR: syntax error at or near "display"
LINE 1: display:-webkit-flex;
^
ERROR: syntax error at or near "display"
LINE 1: display:-ms-flexbox;
^
ERROR: syntax error at or near "display"
LINE 1: display:flex;
^
ERROR: syntax error at or near "-"
LINE 1: -webkit-order:1;
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex-order:1;
^
ERROR: syntax error at or near "order"
LINE 1: order:1;
^
ERROR: syntax error at or near "width"
LINE 1: width:100%;
^
ERROR: syntax error at or near "margin"
LINE 1: margin-left:0;
^
ERROR: syntax error at or near "margin"
LINE 1: margin-right:0;
^
ERROR: syntax error at or near "-"
LINE 1: -webkit-flex-direction:column;
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex-direction:column;
^
ERROR: syntax error at or near "flex"
LINE 1: flex-direction:column;
^
ERROR: syntax error at or near "margin"
LINE 1: margin-bottom:0;
^
ERROR: syntax error at or near "min"
LINE 1: min-width:0;
^
ERROR: syntax error at or near "}"
LINE 1: }/!sc/
^
ERROR: syntax error at or near "-"
LINE 1: -ms-flex-direction:column;
^
ERROR: syntax error at or near "flex"
LINE 1: flex-direction:column;
^
ERROR: syntax error at or near "}"
LINE 1: }}/!sc/
^
ERROR: syntax error at or near "margin"
LINE 1: margin-top:0 !important;
^
ERROR: syntax error at or near "margin"
LINE 1: margin-bottom:0 !important;
^
ERROR: syntax error at or near "position"
LINE 1: position:-webkit-sticky;
^
ERROR: syntax error at or near "position"
LINE 1: position:sticky;
^
ERROR: syntax error at or near "top"
LINE 1: top:0px;
OS Version Ubuntu 24.04.1 LTS
NetBox version 4.0.11
Python version 3.12.3
Steps to Reproduce Because an upgrade from a working installation 4.0.11 to 4.1.x fails with productive DB i try to test with the demo 4.0 DB
According to the procedure on the demo data page: Drop old working DB Create new DB Load Demo DB
Expected Behavior The data is loaded successfully
Observed Behavior
sudo -u postgres psql netbox < netbox-demo-v4.0.sql
^ ERROR: syntax error at or near "/</" LINE 1: / ^ ERROR: syntax error at or near "}" LINE 1: }/!sc/ ^ ERROR: syntax error at or near "margin" LINE 1: margin-left:auto; ^ ERROR: syntax error at or near "margin" LINE 1: margin-right:auto; ^ ERROR: syntax error at or near "display" LINE 1: display:-webkit-box; ^ ERROR: syntax error at or near "display" LINE 1: display:-webkit-flex; ^ ERROR: syntax error at or near "display" LINE 1: display:-ms-flexbox; ^ ERROR: syntax error at or near "display" LINE 1: display:flex; ^ ERROR: syntax error at or near "-" LINE 1: -webkit-flex-wrap:wrap; ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex-wrap:wrap; ^ ERROR: syntax error at or near "flex" LINE 1: flex-wrap:wrap; ^ ERROR: syntax error at or near "}" LINE 1: }/!sc/ ^ ERROR: syntax error at or near "display" LINE 1: display:-webkit-flex; ^ ERROR: syntax error at or near "display" LINE 1: display:-ms-flexbox; ^ ERROR: syntax error at or near "display" LINE 1: display:flex; ^ ERROR: syntax error at or near "-" LINE 1: -webkit-flex:1 1 100%; ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex:1 1 100%; ^ ERROR: syntax error at or near "flex" LINE 1: flex:1 1 100%; ^ ERROR: syntax error at or near "-" LINE 1: -webkit-flex-wrap:wrap; ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex-wrap:wrap; ^ ERROR: syntax error at or near "flex" LINE 1: flex-wrap:wrap; ^ ERROR: syntax error at or near "max" LINE 1: max-width:100%; ^ ERROR: syntax error at or near "}" LINE 1: }/!sc/ ^ ERROR: syntax error at or near "}" LINE 1: }/!sc/ ^ ERROR: syntax error at or near "}" LINE 1: }}/!sc/ ^ ERROR: syntax error at or near "}" LINE 1: }}/!sc/ ^ ERROR: syntax error at or near "display" LINE 1: display:-webkit-flex; ^ ERROR: syntax error at or near "display" LINE 1: display:-ms-flexbox; ^ ERROR: syntax error at or near "display" LINE 1: display:flex; ^ ERROR: syntax error at or near "-" LINE 1: -webkit-order:1; ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex-order:1; ^ ERROR: syntax error at or near "order" LINE 1: order:1; ^ ERROR: syntax error at or near "width" LINE 1: width:100%; ^ ERROR: syntax error at or near "margin" LINE 1: margin-left:0; ^ ERROR: syntax error at or near "margin" LINE 1: margin-right:0; ^ ERROR: syntax error at or near "-" LINE 1: -webkit-flex-direction:column; ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex-direction:column; ^ ERROR: syntax error at or near "flex" LINE 1: flex-direction:column; ^ ERROR: syntax error at or near "margin" LINE 1: margin-bottom:0; ^ ERROR: syntax error at or near "min" LINE 1: min-width:0; ^ ERROR: syntax error at or near "}" LINE 1: }/!sc/ ^ ERROR: syntax error at or near "-" LINE 1: -ms-flex-direction:column; ^ ERROR: syntax error at or near "flex" LINE 1: flex-direction:column; ^ ERROR: syntax error at or near "}" LINE 1: }}/!sc/ ^ ERROR: syntax error at or near "margin" LINE 1: margin-top:0 !important; ^ ERROR: syntax error at or near "margin" LINE 1: margin-bottom:0 !important; ^ ERROR: syntax error at or near "position" LINE 1: position:-webkit-sticky; ^ ERROR: syntax error at or near "position" LINE 1: position:sticky; ^ ERROR: syntax error at or near "top" LINE 1: top:0px;ERROR: syntax error at or near "<!" LINE 1: <!DOCTYPE html> ^ ERROR: syntax error at or near "2024" LINE 1: 2024 GitHub, Inc.