You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Daniel Coric <co...@gmail.com> on 2017/06/20 18:21:31 UTC

Following error occurred during login: User not found.

Hello to everyone,

I am trying to work through the "Apache OFBiz Technical Production Setup Guide" wiki page (using release16.11).
After I run ./gradlew "ofbiz --load-data readers=seed,seed-initial", start the OFBiz and try to login the following error occurs: 
"Following error occurred during login: User not found."

What am I missing? I'm... "a bit" confused with these "seed" "seed-initial" "demo" data explanations (on the same page):

"By default the install routine will load the "seed" and "demo" sets of data files, as defined in the entityengine.xml file and in the ofbiz-component.xml file in each component."

"Note that you can choose to only load the basic "seed" data and not load the "demo" set of data files. To do this run something like: gradlew "ofbiz --load-data readers=seed,seed-initial""

"Definition: Seed Initial Data is data that is only required the first time the system is loaded like the password of the admin user. 
Later if you want to update the seed data, you would normally not want the password of admin to be set back to 'ofbiz'."

Few rows after:
"The OFBiz demo data includes a Party with ID "admin" and it has a number of UserLogin accounts associated with it that have varying permissions."

TASK: Guess where lives admin account?! :)


Thank you,
Daniel 

Re: Following error occurred during login: User not found.

Posted by Daniel Coric <co...@gmail.com>.
Hi Craig,

that worked like a charm.

Thanks,
Daniel

On 2017-06-20 20:24 (+0200), Craig Parker <cr...@fossfolks.com> wrote: 
> Someone correct me if I'm wrong (I'm still new) but I believe:
> 
> ./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" 
> loadAdminUserLogin -PuserLoginId=admin
> 
> loads up seed data AND an admin user
> 
> 
> On 06/20/2017 02:21 PM, Daniel Coric wrote:
> > Hello to everyone,
> >
> > I am trying to work through the "Apache OFBiz Technical Production Setup Guide" wiki page (using release16.11).
> > After I run ./gradlew "ofbiz --load-data readers=seed,seed-initial", start the OFBiz and try to login the following error occurs:
> > "Following error occurred during login: User not found."
> >
> > What am I missing? I'm... "a bit" confused with these "seed" "seed-initial" "demo" data explanations (on the same page):
> >
> > "By default the install routine will load the "seed" and "demo" sets of data files, as defined in the entityengine.xml file and in the ofbiz-component.xml file in each component."
> >
> > "Note that you can choose to only load the basic "seed" data and not load the "demo" set of data files. To do this run something like: gradlew "ofbiz --load-data readers=seed,seed-initial""
> >
> > "Definition: Seed Initial Data is data that is only required the first time the system is loaded like the password of the admin user.
> > Later if you want to update the seed data, you would normally not want the password of admin to be set back to 'ofbiz'."
> >
> > Few rows after:
> > "The OFBiz demo data includes a Party with ID "admin" and it has a number of UserLogin accounts associated with it that have varying permissions."
> >
> > TASK: Guess where lives admin account?! :)
> >
> >
> > Thank you,
> > Daniel
> 
> 

Re: Following error occurred during login: User not found.

Posted by Craig Parker <cr...@fossfolks.com>.
Someone correct me if I'm wrong (I'm still new) but I believe:

./gradlew "ofbiz ‐‐load-data readers=seed,seed-initial" 
loadAdminUserLogin -PuserLoginId=admin

loads up seed data AND an admin user


On 06/20/2017 02:21 PM, Daniel Coric wrote:
> Hello to everyone,
>
> I am trying to work through the "Apache OFBiz Technical Production Setup Guide" wiki page (using release16.11).
> After I run ./gradlew "ofbiz --load-data readers=seed,seed-initial", start the OFBiz and try to login the following error occurs:
> "Following error occurred during login: User not found."
>
> What am I missing? I'm... "a bit" confused with these "seed" "seed-initial" "demo" data explanations (on the same page):
>
> "By default the install routine will load the "seed" and "demo" sets of data files, as defined in the entityengine.xml file and in the ofbiz-component.xml file in each component."
>
> "Note that you can choose to only load the basic "seed" data and not load the "demo" set of data files. To do this run something like: gradlew "ofbiz --load-data readers=seed,seed-initial""
>
> "Definition: Seed Initial Data is data that is only required the first time the system is loaded like the password of the admin user.
> Later if you want to update the seed data, you would normally not want the password of admin to be set back to 'ofbiz'."
>
> Few rows after:
> "The OFBiz demo data includes a Party with ID "admin" and it has a number of UserLogin accounts associated with it that have varying permissions."
>
> TASK: Guess where lives admin account?! :)
>
>
> Thank you,
> Daniel