NetBox v2.0 Beta 1

293 views
Skip to first unread message

Jeremy Stretch

unread,
Mar 22, 2017, 10:27:17 AM3/22/17
to NetBox
Hi folks,

I'm happy to announce that the first beta for NetBox v2.0 has been released! This release is significant as the REST API has been completely rewritten to support read/write operations. (The one exception to this is custom fields, which are currently read-only pending further development.)

While this release is not suitable for production use, you are encouraged to test it out using a clone of your production data. Please be sure to post to the mailing list or raise a bug report regarding any issues you encounter. The documentation for this release is available here: http://netbox.readthedocs.io/en/v2-beta/

Jeremy

Jeremy Stretch

unread,
Mar 22, 2017, 10:31:38 AM3/22/17
to NetBox
And in all the excitement, I neglected to tell you where it is. You can pull down the v2-beta branch (again, not to your production instance), or download the release package here: https://github.com/digitalocean/netbox/releases/tag/v2.0-beta1

Alex Rodenberg

unread,
Mar 23, 2017, 4:59:05 AM3/23/17
to NetBox
Awesome progress, been using the api2 branch for a while with no issues :)

Terry McKenna

unread,
Mar 23, 2017, 3:27:14 PM3/23/17
to NetBox
Getting the following error:

Step: Run Database Migrations
# cd /opt/netbox/netbox/
# ./manage.py migrate

 "Traceback (most recent call last);
FIle "./manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management"

I've installed pre-v2 editions of NetBox before so I am somewhat familiar with the install.

Ubuntu Server 16.10

Thanks

Jeremy Stretch

unread,
Mar 23, 2017, 3:32:23 PM3/23/17
to Terry McKenna, NetBox
Looks like something's wrong with the Python environment. Are you using a virtualenv? There are a few common issues listed here: http://stackoverflow.com/questions/30389771/importerror-no-module-named-django-core-management-when-using-manage-py

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/edc9a28f-6867-4ec8-8113-b85da1faa033%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Terry McKenna

unread,
Mar 23, 2017, 3:39:48 PM3/23/17
to NetBox
I had to execute the script using the following syntax:
# python3.5 ./manage.py migrate

I'll have to fix my Python path later. 

Thanks for pointing me in the right direction Jeremy.


On Thursday, March 23, 2017 at 3:32:23 PM UTC-4, Jeremy Stretch wrote:
Looks like something's wrong with the Python environment. Are you using a virtualenv? There are a few common issues listed here: http://stackoverflow.com/questions/30389771/importerror-no-module-named-django-core-management-when-using-manage-py
On Thu, Mar 23, 2017 at 3:27 PM, Terry McKenna <terry....@gmail.com> wrote:
Getting the following error:

Step: Run Database Migrations
# cd /opt/netbox/netbox/
# ./manage.py migrate

 "Traceback (most recent call last);
FIle "./manage.py", line 8, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management"

I've installed pre-v2 editions of NetBox before so I am somewhat familiar with the install.

Ubuntu Server 16.10

Thanks

On Wednesday, March 22, 2017 at 10:27:17 AM UTC-4, Jeremy Stretch wrote:
Hi folks,

I'm happy to announce that the first beta for NetBox v2.0 has been released! This release is significant as the REST API has been completely rewritten to support read/write operations. (The one exception to this is custom fields, which are currently read-only pending further development.)

While this release is not suitable for production use, you are encouraged to test it out using a clone of your production data. Please be sure to post to the mailing list or raise a bug report regarding any issues you encounter. The documentation for this release is available here: http://netbox.readthedocs.io/en/v2-beta/

Jeremy

--
You received this message because you are subscribed to the Google Groups "NetBox" group.
To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discus...@googlegroups.com.
To post to this group, send email to netbox-...@googlegroups.com.

Terry McKenna

unread,
Mar 24, 2017, 2:12:27 PM3/24/17
to NetBox
Are both versions of Python required?


Installation

Debian/Ubuntu

Python 3:

# apt-get install -y python3 python3-dev python3-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev

Python 2:

# apt-get install -y python2.7 python-dev python-pip libxml2-dev libxslt1-dev libffi-dev graphviz libpq-dev libssl-dev

Jeremy Stretch

unread,
Mar 24, 2017, 2:55:49 PM3/24/17
to Terry McKenna, NetBox
No, you can run either Python 2 or Python 3. I recommend 3 unless you have a need to run Python 2.

To unsubscribe from this group and stop receiving emails from it, send an email to netbox-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to netbox-discuss@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/netbox-discuss/a2306f8b-a9cd-427d-aaac-bdd6bfe1a131%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages