MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » General Talk


General Talk Talk about the MediaPortal TV-Server

Reply
 
Thread Tools Display Modes
Old 2007-07-24, 18:20   #1 (permalink)
Portal Member
 
sunflower's Avatar
 
Join Date: Feb 2007
Location: Cologne
Age: 46
Posts: 80
Thanks: 2
Thanked 0 Times in 0 Posts

Country:

My System

Default SVN updated also the database (structure)

Hi, installing the SVN updated also the database (structure), previous data was lost. Three questions:

- Why is this done? What was changed in the db-structure (tables, columns)?
- I made a backup of the db before installing the SVN , can I use it?

- Would it be possible to describe the changes in the db-structure for new SVN's
as reconfiguring the entire database takes a lot of time (channel scan, grouping, renaming and mapping channels, web epg...)

sunflower is offline   Reply With Quote
Old 2007-07-24, 20:38   #2 (permalink)
Portal Developer
 
frodo's Avatar
 
Join Date: Apr 2004
Location: The Netherlands
Age: 37
Posts: 1,516
Thanks: 3
Thanked 119 Times in 44 Posts

Country:

My System

Default

Quote:
Hi, installing the SVN updated also the database (structure), previous data was lost.
Yes this can happen if you use latest svns

Quote:
- Why is this done? What was changed in the db-structure (tables, columns)?
Its done to add support for DVB-S2 by adding the pilot & rollof values
to the database

Quote:
- I made a backup of the db before installing the SVN , can I use it?
no

Quote:
- Would it be possible to describe the changes in the db-structure for new SVN's
Its possible, but not done atm. We only warn people about database changes
when a new release has been made.
Will discuss it with the team
Frodo
frodo is offline   Reply With Quote
This User Say Thank You:
Old 2007-07-24, 23:29   #3 (permalink)
MP Donator
 
vvulture's Avatar
 
Join Date: Jun 2006
Location: Sydney
Age: 36
Posts: 262
Thanks: 5
Thanked 2 Times in 2 Posts

Country:

My System

Default

I understand the risks with using SVN's, and most of us will take this risk...

But it would be nice if a warning was included when database changes are required, because it would make some of us wait before taking the plunge.

I decided to update to the latest SVN last night thinking that it would take no more than an hour or so...., but i was annoyed when i realised that it was now going to take a hell of a lot longer..

just my 2 cents worth..
__________________
Kids and computers do not mix...
vvulture is offline   Reply With Quote
Old 2007-07-24, 23:30   #4 (permalink)
Portal Member
 
Join Date: Dec 2005
Location: IOW
Age: 45
Posts: 491
Thanks: 15
Thanked 3 Times in 3 Posts

Country:

My System

Default

If you use svn's then it's 'part and parcel' things may change! I've had to rescan/setup channels several times over lasr few months but just accept it as part of using 'beta' software! Spose morale is 'don't use svn if yu don't want change'
Nemulate is online now   Reply With Quote
Old 2007-07-24, 23:33   #5 (permalink)
Portal Tester
 
Muldini's Avatar
 
Join Date: Feb 2007
Posts: 198
Thanks: 47
Thanked 0 Times in 0 Posts

Country:

My System

Default

Quote:
Originally Posted by vvulture View Post
I understand the risks with using SVN's, and most of us will take this risk...

But it would be nice if a warning was included when database changes are required, because it would make some of us wait before taking the plunge.

I decided to update to the latest SVN last night thinking that it would take no more than an hour or so...., but i was annoyed when i realised that it was now going to take a hell of a lot longer..

just my 2 cents worth..
After installing the new SVN, the Server tells you that the DB needs to be updated, you can cancel at this point and revert to your old SVN with the old setting still being there.

Regards,
Muldini
Muldini is offline   Reply With Quote
Old 2007-07-24, 23:52   #6 (permalink)
MP Donator
 
vvulture's Avatar
 
Join Date: Jun 2006
Location: Sydney
Age: 36
Posts: 262
Thanks: 5
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by Nemulate View Post
If you use svn's then it's 'part and parcel' things may change! I've had to rescan/setup channels several times over lasr few months but just accept it as part of using 'beta' software! Spose morale is 'don't use svn if yu don't want change'
Like i said... i understand the risks..


Quote:
After installing the new SVN, the Server tells you that the DB needs to be updated, you can cancel at this point and revert to your old SVN with the old setting still being there.

Regards,
Muldini
Well actually, i was not warned that the database needed to be changed.
I was actually greeted with a message that told me that a database update had failed, and that a new database needed to be created.
It was already too late.
Not once was i aksed if i wanted to proceed with a database update..
__________________
Kids and computers do not mix...
vvulture is offline   Reply With Quote
Old 2007-07-25, 00:07   #7 (permalink)
Portal Member
 
sunflower's Avatar
 
Join Date: Feb 2007
Location: Cologne
Age: 46
Posts: 80
Thanks: 2
Thanked 0 Times in 0 Posts

Country:

My System

Default

I can understand using SVNs is always risky and takes time.

My wish was just to know which changes had been made in the db.
With a bit of db knowledge one could change the db's structure manually (add fields etc) without detroying the entire db, or reload the untouched tables from a backup. This could save a lot of work.
sunflower is offline   Reply With Quote
Old 2007-07-25, 00:11   #8 (permalink)
Portal Tester
 
Muldini's Avatar
 
Join Date: Feb 2007
Posts: 198
Thanks: 47
Thanked 0 Times in 0 Posts

Country:

My System

Default

2 fields for DVB-S2 were added. ( http://forum.team-mediaportal.com/sh...8&postcount=10 )

Like frodo said, a change that makes it possible to keep the old data is currently being discussed by the team.

http://forum.team-mediaportal.com/im...ng-t25700.html

Regards,
Muldini
Muldini is offline   Reply With Quote
Old 2007-07-25, 00:14   #9 (permalink)
MP Donator
 
vvulture's Avatar
 
Join Date: Jun 2006
Location: Sydney
Age: 36
Posts: 262
Thanks: 5
Thanked 2 Times in 2 Posts

Country:

My System

Default

Quote:
Originally Posted by sunflower View Post
I can understand using SVNs is always risky and takes time.

My wish was just to know which changes had been made in the db.
With a bit of db knowledge one could change the db's structure manually (add fields etc) without detroying the entire db, or reload the untouched tables from a backup. This could save a lot of work.
I second that... Its a good idea.


Quote:
Like frodo said, a change that makes it possible to keep the old data is currently being discussed by the team.

http://forum.team-mediaportal.com/im...ng-t25700.html

Regards,
Muldini

Don't mean to be rude, but talk about an afterthought....
__________________
Kids and computers do not mix...

Last edited by vvulture; 2007-07-25 at 00:17. Reason: Automerged Doublepost
vvulture is offline   Reply With Quote
Old 2007-07-31, 09:16   #10 (permalink)
MP Donator
 
joystick's Avatar
 
Join Date: Jan 2006
Posts: 378
Thanks: 11
Thanked 16 Times in 13 Posts

Country:

My System

Send a message via ICQ to joystick Send a message via Skype™ to joystick
Default

Hi folks,
I'm jsut a new user to MP, and I was wondering If you have to uninstall TV Server everytime you want to use the latest SVN, unlike with the client, where you can install SVN just "on top"
This is no thread "hijacking"- I just thought that my question fits the threat...
thx

cheers
joystick
__________________
C2D 6550, 3gb, ASUS P5K-E WiFi AP, 2*500 GB Samsung Sata, 3TB Nas over Powerline,2x FloppyDTV DVB-C+, Alphacrypt, HIS ATI HD2600XT 256MB, Zalman HD160+Irtrans, Harmony One + DiNovo Mini, MP 0.2.3 + Tv Server latest SVN, WinXP SP2
joystick is offline   Reply With Quote
Reply

Bookmarks

Tags
database, structure, updated

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Just updated to latest SVN Efros MediaPortal 1 Talk 0 2007-03-26 02:05
externaly updated ID3 tags are not commited to database idioteque Support 3 2007-02-14 20:52
Movie database not updated robytex General Support 8 2006-10-23 15:18
How do I update to latest SVN if I've updated before? Topher5000 General Support 3 2006-06-17 00:25


All times are GMT +1. The time now is 12:45.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden