Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

- #237

Closed
ghost opened this issue Sep 28, 2014 · 3 comments
Closed

- #237

ghost opened this issue Sep 28, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Sep 28, 2014

No description provided.

@cmorgner
Copy link
Member

Hi,

please use the user "admin" to log into Structr, the superadmin user is not a real user, so you can not log in with it.

Best,
Christian

@cmorgner
Copy link
Member

There is a difference between the superuser (which can be configured in the structr.conf) and an "ordinary" user, so you won't be able to login with admin/admin even if you configure it in the structr.conf, because you will only rename the existing superadmin (which represents the superadmin concept) to admin.

To be clear: you should not need to rename the superadmin user in the structr.conf file, and you will not be able to log in with the superuser credentials. There should however be an existing user named admin (with the password admin) already in the database when you start Structr for the first time.

The issue here seems to be that the initial seed file (seed.zip) is not imported. Can you please try again with an empty db directory (just delete it), make sure that the seed.zip file is present in the structr directory, and that you run the exec command from the structr/structr-ui directory?

Please verify that the file logs/server.log contains these lines:

Sep 28, 2014 10:35:47 PM org.structr.module.JarConfigurationProvider scanResources
INFORMATION: 3 JARs scanned
Sep 28, 2014 10:35:47 PM org.structr.core.Services initialize
INFORMATION: Starting services
Sep 28, 2014 10:35:47 PM org.structr.core.graph.NodeService initialize
INFORMATION: Initializing database (./db) ...
Sep 28, 2014 10:35:47 PM org.structr.core.graph.NodeService initialize
INFORMATION: Database ready.
Sep 28, 2014 10:35:49 PM org.structr.core.graph.NodeService importSeedFile
INFORMATION: Found initial seed file and no application nodes, applying initial seed..
Sep 28, 2014 10:35:50 PM org.structr.core.graph.SyncCommand importDatabase
INFORMATION: Imported 116 nodes and 0 rels, committing transaction..
Sep 28, 2014 10:35:50 PM org.structr.core.graph.SyncCommand importDatabase
INFORMATION: Import done in 1.188289496 s

If login still fails, please send your server.log file to team@structr.com so we can help!

Thanks and best regards,
Christian

@ghost ghost mentioned this issue Sep 29, 2014
Closed
cmorgner added a commit that referenced this issue Sep 29, 2014
…g file will now be created from

existing template (or startup will fail). This addresses issue #237.
cmorgner added a commit that referenced this issue Sep 29, 2014
re #237, added clarification for superadmin
@cmorgner
Copy link
Member

Please check if this works for you now, and close this issue. Thank you!

@ghost ghost closed this as completed Sep 29, 2014
@ghost ghost changed the title Connection closes right after login - Apr 1, 2017
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant