Hi, I want to make sure I understand what this command does before I run it on my production server. It will install the seed data but not the demo data. It will *NOT* remove any data currently in the database. Is this correct?? Thanks much, --- Case Torres [hidden email] |
Case Torres wrote:
> Hi, > > I want to make sure I understand what this command does before I run it on > my production server. > It will install the seed data but not the demo data. > It will *NOT* remove any data currently in the database. > > Is this correct?? It is correct. Another thing to mention is that the password for the "admin" user (and the flexadmin etc) will be overriden (to "ofbiz"). You'll have to change them right after the update. Jacopo > > Thanks much, > --- > Case Torres > [hidden email] > |
Thanks Jacopo,
Is this the right command because I'm still getting all the demo data.? ant run-install-seed Is there any difference between: ant run-install-seed and java -jar ofbiz.jar -install -readers=seed Case Torres [hidden email] > -----Original Message----- > From: Jacopo Cappellato [mailto:[hidden email]] > Sent: Saturday, March 01, 2008 12:30 PM > To: [hidden email] > Subject: Re: running ant run-install-seed > > Case Torres wrote: > > Hi, > > > > I want to make sure I understand what this command does > before I run > > it on my production server. > > It will install the seed data but not the demo data. > > It will *NOT* remove any data currently in the database. > > > > Is this correct?? > > It is correct. > Another thing to mention is that the password for the "admin" > user (and the flexadmin etc) will be overriden (to "ofbiz"). > You'll have to change them right after the update. > > Jacopo > > > > > Thanks much, > > --- > > Case Torres > > [hidden email] > > > |
Administrator
|
> Thanks Jacopo,
> > Is this the right command because I'm still getting all the demo data.? > ant run-install-seed Did you remove demo data before (ant clean-data) ? Else ant run-install-seed will simply overrides seed data > > Is there any difference between: > ant run-install-seed > > and > > java -jar ofbiz.jar -install -readers=seed No differences Jacques > > Case Torres > [hidden email] > > > >> -----Original Message----- >> From: Jacopo Cappellato [mailto:[hidden email]] >> Sent: Saturday, March 01, 2008 12:30 PM >> To: [hidden email] >> Subject: Re: running ant run-install-seed >> >> Case Torres wrote: >> > Hi, >> > >> > I want to make sure I understand what this command does >> before I run >> > it on my production server. >> > It will install the seed data but not the demo data. >> > It will *NOT* remove any data currently in the database. >> > >> > Is this correct?? >> >> It is correct. >> Another thing to mention is that the password for the "admin" >> user (and the flexadmin etc) will be overriden (to "ofbiz"). >> You'll have to change them right after the update. >> >> Jacopo >> >> > >> > Thanks much, >> > --- >> > Case Torres >> > [hidden email] >> > >> > > |
In reply to this post by Jacopo Cappellato
I didn't really discuss this much when I did the change a few weeks ago as it is something that has been discussed in the past but was waiting for realization. There is now a new EE data file set called "seed-initial" that is meant to only be loaded the first time. I originally added this so that scheduled services would not get reloaded over and over, causing multiple sets of service to run at once. In other words previously if you loaded the seed data after a code update 10 times you would have 11 (10 plus the initial one) scheduled instances of the back order checking service, the entity sync remove cleanup service, and so on all running. To help with this problem I just added the securityext/data/ PasswordSecurityData.xml file to the seed-initial file set. Now if you just load the "seed" data it won't reset the passwords. I did notice that this file doesn't have all of the passwords in it anymore though... but at least admin, system, and anonymous are in there. In a way this is good because most other users are in the demo data, and their passwords are with them there, so updating the "seed" data file set is still safe. -David On Mar 1, 2008, at 1:29 PM, Jacopo Cappellato wrote: > Case Torres wrote: >> Hi, >> I want to make sure I understand what this command does before I >> run it on >> my production server. >> It will install the seed data but not the demo data. >> It will *NOT* remove any data currently in the database. >> Is this correct?? > > It is correct. > Another thing to mention is that the password for the "admin" user > (and the flexadmin etc) will be overriden (to "ofbiz"). > You'll have to change them right after the update. > > Jacopo > >> Thanks much, >> --- >> Case Torres >> [hidden email] > |
In reply to this post by CaseT
Case Torres wrote:
> Thanks Jacopo, > > Is this the right command because I'm still getting all the demo data.? Are you sure? Just to clarify: "ant run-install-seed" (that has the same effect as "java -jar ofbiz.jar -install -readers=seed") will not remove existing demo data in your database. Jacopo > ant run-install-seed > > > > Is there any difference between: > ant run-install-seed > > and > > java -jar ofbiz.jar -install -readers=seed > > Case Torres > [hidden email] > > > >> -----Original Message----- >> From: Jacopo Cappellato [mailto:[hidden email]] >> Sent: Saturday, March 01, 2008 12:30 PM >> To: [hidden email] >> Subject: Re: running ant run-install-seed >> >> Case Torres wrote: >>> Hi, >>> >>> I want to make sure I understand what this command does >> before I run >>> it on my production server. >>> It will install the seed data but not the demo data. >>> It will *NOT* remove any data currently in the database. >>> >>> Is this correct?? >> It is correct. >> Another thing to mention is that the password for the "admin" >> user (and the flexadmin etc) will be overriden (to "ofbiz"). >> You'll have to change them right after the update. >> >> Jacopo >> >>> Thanks much, >>> --- >>> Case Torres >>> [hidden email] >>> |
In reply to this post by Jacques Le Roux
Thanks for your reply Jacques, No I didn't remove demo data using "ant clean-data". Won't that remove all my data, not just the demo data? This is my production server that the company has been using since the 1st of the year. After making a small change to the order entitymodel_view.xml, I accidentally ran ant run-install instead of ant run-install-seed. It's my (novice) understanding that running "ant clean-data" will wipe out all the company orders and 18k contacts in the database as well as the demo data. Is this correct?? If so I'll have to remove all the demo data manually. [ugh :-(] Thanks much, Case Torres [hidden email] > -----Original Message----- > From: Jacques Le Roux [mailto:[hidden email]] > Sent: Saturday, March 01, 2008 2:36 PM > To: [hidden email]; [hidden email] > Subject: Re: running ant run-install-seed, still gets demo data > > > Thanks Jacopo, > > > > Is this the right command because I'm still getting all the > demo data.? > > ant run-install-seed > > Did you remove demo data before (ant clean-data) ? Else ant > run-install-seed will simply overrides seed data > > > > > Is there any difference between: > > ant run-install-seed > > > > and > > > > java -jar ofbiz.jar -install -readers=seed > > No differences > > Jacques > > > > > Case Torres > > [hidden email] > > > > > > > >> -----Original Message----- > >> From: Jacopo Cappellato [mailto:[hidden email]] > >> Sent: Saturday, March 01, 2008 12:30 PM > >> To: [hidden email] > >> Subject: Re: running ant run-install-seed > >> > >> Case Torres wrote: > >> > Hi, > >> > > >> > I want to make sure I understand what this command does > >> before I run > >> > it on my production server. > >> > It will install the seed data but not the demo data. > >> > It will *NOT* remove any data currently in the database. > >> > > >> > Is this correct?? > >> > >> It is correct. > >> Another thing to mention is that the password for the "admin" > >> user (and the flexadmin etc) will be overriden (to "ofbiz"). > >> You'll have to change them right after the update. > >> > >> Jacopo > >> > >> > > >> > Thanks much, > >> > --- > >> > Case Torres > >> > [hidden email] > >> > > >> > > > > > |
In reply to this post by Jacopo Cappellato
Yes, I'm sure. Looks like I'll have to remove the demo data manually or at
least change the screen code so it doesn't show up on the various screens. Just to clarify what I did and my new understanding, in my haste and being a novice, I initially ran, ant run-install. I was thinking that if I now ran ant run-install-seed, the demo data would be wiped out. Not true. But if I now run with the "clean" command, I'll wipe out *all* our data, not just the demo data. Right? Thanks again for you your help, Case Torres [hidden email] > -----Original Message----- > From: Jacopo Cappellato [mailto:[hidden email]] > Sent: Saturday, March 01, 2008 10:59 PM > To: [hidden email] > Subject: Re: running ant run-install-seed, still gets demo data > > Case Torres wrote: > > Thanks Jacopo, > > > > Is this the right command because I'm still getting all the > demo data.? > > Are you sure? > Just to clarify: "ant run-install-seed" (that has the same > effect as "java -jar ofbiz.jar -install -readers=seed") will > not remove existing demo data in your database. > > Jacopo > > > > ant run-install-seed > > > > > > > > Is there any difference between: > > ant run-install-seed > > > > and > > > > java -jar ofbiz.jar -install -readers=seed > > > > Case Torres > > [hidden email] > > > > > > > >> -----Original Message----- > >> From: Jacopo Cappellato [mailto:[hidden email]] > >> Sent: Saturday, March 01, 2008 12:30 PM > >> To: [hidden email] > >> Subject: Re: running ant run-install-seed > >> > >> Case Torres wrote: > >>> Hi, > >>> > >>> I want to make sure I understand what this command does > >> before I run > >>> it on my production server. > >>> It will install the seed data but not the demo data. > >>> It will *NOT* remove any data currently in the database. > >>> > >>> Is this correct?? > >> It is correct. > >> Another thing to mention is that the password for the "admin" > >> user (and the flexadmin etc) will be overriden (to "ofbiz"). > >> You'll have to change them right after the update. > >> > >> Jacopo > >> > >>> Thanks much, > >>> --- > >>> Case Torres > >>> [hidden email] > >>> > |
Case Torres wrote:
> Yes, I'm sure. Looks like I'll have to remove the demo data manually or at > least change the screen code so it doesn't show up on the various screens. > Just to clarify what I did and my new understanding, in my haste and being a > novice, I initially ran, ant run-install. I was thinking that if I now ran > ant run-install-seed, the demo data would be wiped out. Not true. > But if I now run with the "clean" command, I'll wipe out *all* our data, not > just the demo data. Right? Yes, but only if you run "ant clean-all" or "ant clean-data" AND you are using the default Derby db. If you are running an external db they will have no effect on the data (both seed and demo). Jacopo > > Thanks again for you your help, > > Case Torres > [hidden email] > > > >> -----Original Message----- >> From: Jacopo Cappellato [mailto:[hidden email]] >> Sent: Saturday, March 01, 2008 10:59 PM >> To: [hidden email] >> Subject: Re: running ant run-install-seed, still gets demo data >> >> Case Torres wrote: >>> Thanks Jacopo, >>> >>> Is this the right command because I'm still getting all the >> demo data.? >> >> Are you sure? >> Just to clarify: "ant run-install-seed" (that has the same >> effect as "java -jar ofbiz.jar -install -readers=seed") will >> not remove existing demo data in your database. >> >> Jacopo >> >> >>> ant run-install-seed >>> >>> >>> >>> Is there any difference between: >>> ant run-install-seed >>> >>> and >>> >>> java -jar ofbiz.jar -install -readers=seed >>> >>> Case Torres >>> [hidden email] >>> >>> >>> >>>> -----Original Message----- >>>> From: Jacopo Cappellato [mailto:[hidden email]] >>>> Sent: Saturday, March 01, 2008 12:30 PM >>>> To: [hidden email] >>>> Subject: Re: running ant run-install-seed >>>> >>>> Case Torres wrote: >>>>> Hi, >>>>> >>>>> I want to make sure I understand what this command does >>>> before I run >>>>> it on my production server. >>>>> It will install the seed data but not the demo data. >>>>> It will *NOT* remove any data currently in the database. >>>>> >>>>> Is this correct?? >>>> It is correct. >>>> Another thing to mention is that the password for the "admin" >>>> user (and the flexadmin etc) will be overriden (to "ofbiz"). >>>> You'll have to change them right after the update. >>>> >>>> Jacopo >>>> >>>>> Thanks much, >>>>> --- >>>>> Case Torres >>>>> [hidden email] >>>>> |
Administrator
|
From: "Jacopo Cappellato" <[hidden email]>
> Case Torres wrote: >> Yes, I'm sure. Looks like I'll have to remove the demo data manually or at >> least change the screen code so it doesn't show up on the various screens. >> Just to clarify what I did and my new understanding, in my haste and being a >> novice, I initially ran, ant run-install. I was thinking that if I now ran >> ant run-install-seed, the demo data would be wiped out. Not true. >> But if I now run with the "clean" command, I'll wipe out *all* our data, not >> just the demo data. Right? > > Yes, but only if you run "ant clean-all" or "ant clean-data" AND you are > using the default Derby db. > If you are running an external db they will have no effect on the data > (both seed and demo). > > Jacopo Maybe to better understand all that, just have a look at the main build.xml (in OFBiz root). It's open source, remember ;o) Jacques > >> >> Thanks again for you your help, >> >> Case Torres >> [hidden email] >> >> >> >>> -----Original Message----- >>> From: Jacopo Cappellato [mailto:[hidden email]] >>> Sent: Saturday, March 01, 2008 10:59 PM >>> To: [hidden email] >>> Subject: Re: running ant run-install-seed, still gets demo data >>> >>> Case Torres wrote: >>>> Thanks Jacopo, >>>> >>>> Is this the right command because I'm still getting all the >>> demo data.? >>> >>> Are you sure? >>> Just to clarify: "ant run-install-seed" (that has the same >>> effect as "java -jar ofbiz.jar -install -readers=seed") will >>> not remove existing demo data in your database. >>> >>> Jacopo >>> >>> >>>> ant run-install-seed >>>> >>>> >>>> >>>> Is there any difference between: >>>> ant run-install-seed >>>> >>>> and >>>> >>>> java -jar ofbiz.jar -install -readers=seed >>>> >>>> Case Torres >>>> [hidden email] >>>> >>>> >>>> >>>>> -----Original Message----- >>>>> From: Jacopo Cappellato [mailto:[hidden email]] >>>>> Sent: Saturday, March 01, 2008 12:30 PM >>>>> To: [hidden email] >>>>> Subject: Re: running ant run-install-seed >>>>> >>>>> Case Torres wrote: >>>>>> Hi, >>>>>> >>>>>> I want to make sure I understand what this command does >>>>> before I run >>>>>> it on my production server. >>>>>> It will install the seed data but not the demo data. >>>>>> It will *NOT* remove any data currently in the database. >>>>>> >>>>>> Is this correct?? >>>>> It is correct. >>>>> Another thing to mention is that the password for the "admin" >>>>> user (and the flexadmin etc) will be overriden (to "ofbiz"). >>>>> You'll have to change them right after the update. >>>>> >>>>> Jacopo >>>>> >>>>>> Thanks much, >>>>>> --- >>>>>> Case Torres >>>>>> [hidden email] >>>>>> > > |
In reply to this post by Jacopo Cappellato
If I understand your comments below correctly i.e. "If you are running an external db they will have no effect on the data (both seed and demo)" I'm stuck with the Demo data because I'm using a Postgres database and I accidentally installed demo data and there is no command I can run that will get rid of the demo data. "ant clean-all" and "ant clean-data" gets rid of the demo data, as well as everything else, but this is true only if using the Derby db. Yikes! If that's true, I'm stuck with the demo data in my postgres db on my production server. I read the build.xml and was able to follow the code into the framework/build.xml but didn't see anything that indicated the demo data gets wiped or not. Am I still misunderstanding? Thanks for you help in this matter. Case > -----Original Message----- > From: Jacopo Cappellato [mailto:[hidden email]] > Sent: Sunday, March 02, 2008 8:49 AM > To: [hidden email] > Subject: Re: running ant run-install-seed, still gets demo data > > Case Torres wrote: ... > > But if I now run with the "clean" command, I'll wipe out *all* our > > data, not just the demo data. Right? > > Yes, but only if you run "ant clean-all" or "ant clean-data" > AND you are using the default Derby db. > If you are running an external db they will have no effect on > the data (both seed and demo). > > Jacopo > > > > > > Thanks again for you your help, > > > > Case Torres > > [hidden email] > > > > > > > >> -----Original Message----- > >> From: Jacopo Cappellato [mailto:[hidden email]] > >> Sent: Saturday, March 01, 2008 10:59 PM > >> To: [hidden email] > >> Subject: Re: running ant run-install-seed, still gets demo data > >> > >> Case Torres wrote: > >>> Thanks Jacopo, > >>> > >>> Is this the right command because I'm still getting all the > >> demo data.? > >> > >> Are you sure? > >> Just to clarify: "ant run-install-seed" (that has the same > effect as > >> "java -jar ofbiz.jar -install -readers=seed") will not remove > >> existing demo data in your database. > >> > >> Jacopo > >> > >> > >>> ant run-install-seed > >>> > >>> > >>> > >>> Is there any difference between: > >>> ant run-install-seed > >>> > >>> and > >>> > >>> java -jar ofbiz.jar -install -readers=seed > >>> > >>> Case Torres > >>> [hidden email] > >>> > >>> > >>> > >>>> -----Original Message----- > >>>> From: Jacopo Cappellato [mailto:[hidden email]] > >>>> Sent: Saturday, March 01, 2008 12:30 PM > >>>> To: [hidden email] > >>>> Subject: Re: running ant run-install-seed > >>>> > >>>> Case Torres wrote: > >>>>> Hi, > >>>>> > >>>>> I want to make sure I understand what this command does > >>>> before I run > >>>>> it on my production server. > >>>>> It will install the seed data but not the demo data. > >>>>> It will *NOT* remove any data currently in the database. > >>>>> > >>>>> Is this correct?? > >>>> It is correct. > >>>> Another thing to mention is that the password for the "admin" > >>>> user (and the flexadmin etc) will be overriden (to "ofbiz"). > >>>> You'll have to change them right after the update. > >>>> > >>>> Jacopo > >>>> > >>>>> Thanks much, > >>>>> --- > >>>>> Case Torres > >>>>> [hidden email] > >>>>> > |
You could drop all tables in your database, then run ant install-seed.
-Adrian Case Torres wrote: > If I understand your comments below correctly i.e. "If you are running an > external db they will have no effect on the data (both seed and demo)" I'm > stuck with the Demo data because I'm using a Postgres database and I > accidentally installed demo data and there is no command I can run that will > get rid of the demo data. "ant clean-all" and "ant clean-data" gets rid of > the demo data, as well as everything else, but this is true only if using > the Derby db. > > Yikes! If that's true, I'm stuck with the demo data in my postgres db on my > production server. > > I read the build.xml and was able to follow the code into the > framework/build.xml but didn't see anything that indicated the demo data > gets wiped or not. > > Am I still misunderstanding? > Thanks for you help in this matter. > > Case > > >> -----Original Message----- >> From: Jacopo Cappellato [mailto:[hidden email]] >> Sent: Sunday, March 02, 2008 8:49 AM >> To: [hidden email] >> Subject: Re: running ant run-install-seed, still gets demo data >> >> Case Torres wrote: > ... >>> But if I now run with the "clean" command, I'll wipe out *all* our >>> data, not just the demo data. Right? >> Yes, but only if you run "ant clean-all" or "ant clean-data" >> AND you are using the default Derby db. >> If you are running an external db they will have no effect on >> the data (both seed and demo). >> >> Jacopo >> >> >>> Thanks again for you your help, >>> >>> Case Torres >>> [hidden email] >>> >>> >>> >>>> -----Original Message----- >>>> From: Jacopo Cappellato [mailto:[hidden email]] >>>> Sent: Saturday, March 01, 2008 10:59 PM >>>> To: [hidden email] >>>> Subject: Re: running ant run-install-seed, still gets demo data >>>> >>>> Case Torres wrote: >>>>> Thanks Jacopo, >>>>> >>>>> Is this the right command because I'm still getting all the >>>> demo data.? >>>> >>>> Are you sure? >>>> Just to clarify: "ant run-install-seed" (that has the same >> effect as >>>> "java -jar ofbiz.jar -install -readers=seed") will not remove >>>> existing demo data in your database. >>>> >>>> Jacopo >>>> >>>> >>>>> ant run-install-seed >>>>> >>>>> >>>>> >>>>> Is there any difference between: >>>>> ant run-install-seed >>>>> >>>>> and >>>>> >>>>> java -jar ofbiz.jar -install -readers=seed >>>>> >>>>> Case Torres >>>>> [hidden email] >>>>> >>>>> >>>>> >>>>>> -----Original Message----- >>>>>> From: Jacopo Cappellato [mailto:[hidden email]] >>>>>> Sent: Saturday, March 01, 2008 12:30 PM >>>>>> To: [hidden email] >>>>>> Subject: Re: running ant run-install-seed >>>>>> >>>>>> Case Torres wrote: >>>>>>> Hi, >>>>>>> >>>>>>> I want to make sure I understand what this command does >>>>>> before I run >>>>>>> it on my production server. >>>>>>> It will install the seed data but not the demo data. >>>>>>> It will *NOT* remove any data currently in the database. >>>>>>> >>>>>>> Is this correct?? >>>>>> It is correct. >>>>>> Another thing to mention is that the password for the "admin" >>>>>> user (and the flexadmin etc) will be overriden (to "ofbiz"). >>>>>> You'll have to change them right after the update. >>>>>> >>>>>> Jacopo >>>>>> >>>>>>> Thanks much, >>>>>>> --- >>>>>>> Case Torres >>>>>>> [hidden email] >>>>>>> > > |
In reply to this post by CaseT
Hi Guys,
It looks like there is something wrong with this new reader type "seed-initial". I am trying to load the data on entirely new empty db and have a quit strange behaviour with loading user logins. It does loads the three users 'anonymous', 'system' and 'admin', but the currentPasswords are NULL values as well as passwordHints, though in the seed file they are not NULLs obviousely. For example for the system account password hint should be "Do not enable this account" this is how it is set in data xml file. One more strange thing is that within other data files loading status messages - the ones which are displayed when you run 'ant run-install-seed' there is NO PasswordSecurityData.xml entry. I am using the revision r655515 and Postgresql 8.1 as the database. Would apprecitae any ideas on what's going on. Thank you in advance.
|
I recommend reading the comments in the build.xml file for that and related targets. -David On May 12, 2008, at 1:37 PM, JohnBrown wrote: > > Hi Guys, > > It looks like there is something wrong with this new reader type > "seed-initial". I am trying to load the data on entirely new empty > db and > have a quit strange behaviour with loading user logins. It does > loads the > three users 'anonymous', 'system' and 'admin', but the > currentPasswords are > NULL values as well as passwordHints, though in the seed file they > are not > NULLs obviousely. For example for the system account password hint > should be > "Do not enable this account" this is how it is set in data xml file. > One > more strange thing is that within other data files loading status > messages - > the ones which are displayed when you run 'ant run-install-seed' > there is NO > PasswordSecurityData.xml entry. > > I am using the revision r655515 and Postgresql 8.1 as the database. > > Would apprecitae any ideas on what's going on. Thank you in advance. > > > CaseT wrote: >> >> >> Hi, >> >> I want to make sure I understand what this command does before I >> run it on >> my production server. >> It will install the seed data but not the demo data. >> It will *NOT* remove any data currently in the database. >> >> Is this correct?? >> >> Thanks much, >> --- >> Case Torres >> [hidden email] >> >> > > -- > View this message in context: http://www.nabble.com/running-ant-run-install-seed-tp15780445p17189949.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Yes, I see it there. Thanks David for the hint.
|
Free forum by Nabble | Edit this page |