BugNET

Open source issue tracking & project management
Welcome to BugNET Register | Login |

BugNET Forums

 
  Forum  Support  Installation pr...  Database Creation Scripts
Previous Previous
 
Next Next
New Post 8/17/2006 2:32 PM
User is offline MichaelB
1 posts
No Ranking


Database Creation Scripts 

I'm trying to install and run BugNET for the first time and have run into a small snag.  The nant scripts don't work with Visual Web Devloper 2005 Express Edition and I don't have the full-fledged Visual Studio.  So instead of using nant, I've done all the install and setup manually.

The one piece that I had issues with was the creation of all the DB tables, stored procedures, etc.  I ran all the SQL scripts that came in the Zip package but could never get them to run cleanly.  At this point I don't think I've got all the right versions in sync.  I think this is mostly due to the scripts wanting to build upon tables and stored procedures that are already there instead of building them from scratch.

Does anyone have a complete backup or set of SQL statements to create a blank DB from scratch?  Would someone mind doing a Tasks -> Generate Scripts  for me to create the SQL statements?  or point me in the right direction with what I've done wrong...

Any help is greatly appreciated.

Michael

 
New Post 8/18/2006 2:25 PM
User is offline rachitpatel
16 posts
No Ranking


Re: Database Creation Scripts 

I guess somebody can definitely provide that but did you try using the latest version? There's src\Installer\Default.aspx page in the release, so it's a web installer. It should take care of everything. You don't need to run nant scripts anymore.

There's README_INSTALLATION.txt file which should guide you with the installation.

- Rachit

 
New Post 8/23/2006 6:59 AM
User is offline jharris
2 posts
No Ranking


Re: Database Creation Scripts 

I'm seeing things similar to what Michael is describing and some problems which are related to Tables not being populated by the install (using the new install option) for 0.7.0.  At first it was the CustomFieldType table which I corrected manually, but I'm also getting FK constraint errors elsewhere.  I also experienced the issue above and there seems to be an issue with populating the permissions table.  Also if the default roles require permissions they are also don't seem to be populated by the install.  Is it possible to post a backup of a new database known to function with 0.7.0? 

Please forgive a bugnet newbie if this is a known issue...

As always help is appreciated,

Red

 

 

 

 
New Post 8/23/2006 7:22 AM
User is offline admin
645 posts
bugnetproject.com
1st Level Poster




Re: Database Creation Scripts 
 jharris wrote

I'm seeing things similar to what Michael is describing and some problems which are related to Tables not being populated by the install (using the new install option) for 0.7.0.  At first it was the CustomFieldType table which I corrected manually, but I'm also getting FK constraint errors elsewhere.  I also experienced the issue above and there seems to be an issue with populating the permissions table.  Also if the default roles require permissions they are also don't seem to be populated by the install.  Is it possible to post a backup of a new database known to function with 0.7.0? 

Please forgive a bugnet newbie if this is a known issue...

As always help is appreciated,

Red

What tables were missing from the script and errors are you getting? I re-generated the script yesterday for version 0.7 and ran it successfully on my machine but maybe I missed something.

T he latter is an issue  though where I have not dealt with creating the proper permissions for each "default" role.

As for a backup, this is not possible.  0.7 is a development version and is not backed up anywhere besides source control and to my knowledge all of the scripts have had this problem since it hasn't been addressed yet.

Davin Dubeau
BugNET - Core Developer

 
New Post 8/23/2006 7:38 AM
User is offline jharris
2 posts
No Ranking


Re: Database Creation Scripts 

 

I haven't observed that specific tables are absent, but the application seems to require data in certain tables in order to function.  Specifically I've observed this in ProjectCustomFieldType where after the install there are no records present and the application will crash without data in these tables when creating a custom field.  I'm also getting some other FK constraint violations such as on "FK_Bug_Resolution"  which happens when "BugNet_Bug_CreateNewBug" is executed.  This leads me to believe there are other tables which may have a similar issue.  I can wipe my DB clean and start over if I'm the only one exhibiting the behavior, but the first issue seems like it will manifest itself regardless of how the scripts in the install folder are executed.  I've reviewed the scripts and code and can't find any hint of an insert statement which would populate ProjectCustomFieldType.

 
Previous Previous
 
Next Next
  Forum  Support  Installation pr...  Database Creation Scripts

Forum Policy

These Discussion Forums are dedicated to the discussion of the BugNET issue tracker.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:
1. No Advertising.
2. No Flaming or Trolling.
3. No Profanity, Racism, or Prejudice.
4. Site Moderators have the final word on approving/removing a thread or post or comment.
5. English language posting only, please.