Loss of genre id's
Loss of genre id's
After upgrading I lost my genre_id's in the album table, they are now empty. Is this normal? Is the upgrade supposed to wipe them out?
I did customize my genre table when I started, creating my own set. Maybe that is why? All of the album_id's are different now, so I dont think there is a way to bring my old album table online and update the new album table genre_id field. Do you think there is a way?
Thank you Willem for your assistance.
-hulby
Thank you Willem for your assistance.
-hulby
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
I found the problem:
Remove line 71 from incremental_upgrade_19.sql:
(the previous line: TRUNCATE TABLE `track`; is not a problem and will be rebuild)
I will soon release u bugfix.
I hope you have a backup of you database.
Than you can restore the database and update it again with the fix above.
Remove line 71 from incremental_upgrade_19.sql:
Code: Select all
TRUNCATE TABLE `album`;
I will soon release u bugfix.
I hope you have a backup of you database.
Than you can restore the database and update it again with the fix above.
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Did you do a full update after upgrading netjukebox?hulby wrote:That worked, well kind of. The db incrementally upgraded, and the genre_id's are still in there. Now I am back to the problem of the tracks not showing up. When I run Update, the track table is empty.
Otherwise the tracks will stay empty.
I did remove the line in incremental_upgrade_19.sql that truncates the track table. When the upgrade ran, the tracks were there, and so were the genre_id's. However when I clicked Update, it wiped out the track table.
You want me to email you the netjukebox mysql db itself? What is your email address, it is not under your profile?
You want me to email you the netjukebox mysql db itself? What is your email address, it is not under your profile?
- wbartels
- netjukebox developer
- Posts: 881
- Joined: Thu Nov 04, 2004 3:12 pm
- Location: Netherlands
- Contact:
Yeshulby wrote:You want me to email you the netjukebox mysql db itself? What is your email address, it is not under your profile?
My email is on my homepage: http://www.netjukebox.nl/about.php