Re: [openwisp] Old database in new version

2017-10-19 Thread Federico Capoano
The best thing would be to upgrade the old server, or a copy of the old server and then move the data. Federico On Thu, Oct 19, 2017 at 3:26 PM henriqsc wrote: > Alright I will try something but I'm actually creating a new server and > trying to transfer the existing database (sqlite) to this

Re: [openwisp] Old database in new version

2017-10-19 Thread henriqsc
Alright I will try something but I'm actually creating a new server and trying to transfer the existing database (sqlite) to this new server. Just copying the existing database to the new server works fine for authentication and templates, but not for the Devices (aka Configurations) section.

Re: [openwisp] Old database in new version

2017-10-19 Thread Federico Capoano
The ansible role and the django migrations should take care of it automatically, BUT please backup all your database and files before upgrading in case something goes wrong. It happened only once that I'm aware of but better prevent corrupting your system. If you use VM or lxc, make a snapshot that

Re: [openwisp] Re: robustness visualization for netjsongraph

2017-10-19 Thread Federico Capoano
On Thu, Oct 19, 2017 at 12:55 PM Leonardo Maccari wrote: > > > On 19/10/17 10:33, Federico Capoano wrote: > > >> Just the examples. The modifications I made are only to the CSS and to >> the way the d3 function is called from the HTML. >> > > Nice, I guess we can include the most significant exam

Re: [openwisp] Old database in new version

2017-10-19 Thread henriqsc
Hi Federico, openwisp2. I removed the question cause I would study ansible tasks to see if there is something that does that when it finds an existing database. Anyway the question is that I have an older version from around march running in production but I want to install a new one for contin

Re: [openwisp] Old database in new version

2017-10-19 Thread Federico Capoano
You mean the openwisp1 generation (OpenWISP Manager)? Federico On Thu, Oct 19, 2017 at 1:00 PM henriqsc wrote: > > Is there a straightforward way to install a database from an older > openwisp version or should I figure out how to convert it to the new schema? > > -- > You received this message

[openwisp] Old database in new version

2017-10-19 Thread henriqsc
Is there a straightforward way to install a database from an older openwisp version or should I figure out how to convert it to the new schema? -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving email

[openwisp] Old database in new versions

2017-10-19 Thread henriqsc
Is there a straightforward way to install a database from an older openwisp versions or should I figure out how to convert it to the new schema? -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving email

Re: [openwisp] Re: robustness visualization for netjsongraph

2017-10-19 Thread Leonardo Maccari
On 19/10/17 10:33, Federico Capoano wrote: > > > Just the examples. The modifications I made are only to the CSS > and to the way the d3 function is called from the HTML. > >   > Nice, I guess we can include the most significant examples in the main > netjsongraph.js repository, I'd sugge

Re: [openwisp] Re: robustness visualization for netjsongraph

2017-10-19 Thread Federico Capoano
On Thu, Oct 19, 2017 at 9:11 AM Leonardo Maccari wrote: > > Hi Federico > > https://github.com/netCommonsEU/netjson-robustness-analyser >> > > Great thanks! > > > glad you like it. > > > The second thing is just a small set of modifications to netjsongraph.js >> to show the new network. >> Source

Re: [openwisp] Re: robustness visualization for netjsongraph

2017-10-19 Thread Leonardo Maccari
Hi Federico > https://github.com/netCommonsEU/netjson-robustness-analyser > > >   > Great thanks! glad you like it. > > The second thing is just a small set of modifications to > netjsongraph.js > to show the new n