UniTime / unitime

Comprehensive University Timetabling System
http://www.unitime.org
Apache License 2.0
274 stars 162 forks source link

admin admin is not recognized #46

Closed karammr closed 5 years ago

karammr commented 5 years ago

I followed the steps verbatim i entered admin admin for username and password respectively it failed to log me in what am i doing wrong?

Thanks

tomas-muller commented 5 years ago

It is hard to say as you have not provided any details.

Was there any error on the login screen? Are there any errors in the tomcat log?

karammr commented 5 years ago

Thank you for your prompt response The error on the log in screen was: Authentication failed: Login Failure: all modules ignored. The log is:

ERROR TableGenerator -> could not read a hi value - you need to populate the table: timetable.hibernate_unique_key [01/24/19 21:25:17] ERROR QueryLogFilter -> Failed to persist 1 log entries:could not read a hi value - you need to populate the table: timetable.hibernate_unique_key org.hibernate.id.IdentifierGenerationException: could not read a hi value - you need to populate the table: timetable.hibernate_unique_key at org.hibernate.id.TableGenerator$1.execute(TableGenerator.java:169) at org.hibernate.id.TableGenerator$1.execute(TableGenerator.java:154) at org.hibernate.jdbc.WorkExecutor.executeReturningWork(WorkExecutor.java:72) at org.hibernate.jdbc.AbstractReturningWork.accept(AbstractReturningWork.java:51) at org.hibernate.engine.transaction.internal.jdbc.JdbcIsolationDelegate.delegateWork(JdbcIsolationDelegate.java:74) at org.hibernate.id.TableGenerator.generateHolder(TableGenerator.java:153) at org.hibernate.id.TableHiLoGenerator$1.getNextValue(TableHiLoGenerator.java:90) at org.hibernate.id.enhanced.LegacyHiLoAlgorithmOptimizer.generate(LegacyHiLoAlgorithmOptimizer.java:77) at org.hibernate.id.TableHiLoGenerator.generate(TableHiLoGenerator.java:87) at org.unitime.commons.hibernate.id.UniqueIdGenerator.generate(UniqueIdGenerator.java:65) at org.hibernate.event.internal.AbstractSaveEventListener.saveWithGeneratedId(AbstractSaveEventListener.java:118) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.saveWithGeneratedOrRequestedId(DefaultSaveOrUpdateEventListener.java:209) at org.hibernate.event.internal.DefaultSaveEventListener.saveWithGeneratedOrRequestedId(DefaultSaveEventListener.java:55) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.entityIsTransient(DefaultSaveOrUpdateEventListener.java:194) at org.hibernate.event.internal.DefaultSaveEventListener.performSaveOrUpdate(DefaultSaveEventListener.java:49) at org.hibernate.event.internal.DefaultSaveOrUpdateEventListener.onSaveOrUpdate(DefaultSaveOrUpdateEventListener.java:90) at org.hibernate.internal.SessionImpl.fireSave(SessionImpl.java:715) at org.hibernate.internal.SessionImpl.save(SessionImpl.java:707) at org.hibernate.internal.SessionImpl.save(SessionImpl.java:702) at org.unitime.timetable.filter.QueryLogFilter$Saver.run(QueryLogFilter.java:255)

Kindest Regard


Marcel


On Thu, Jan 24, 2019 at 8:09 PM Tomáš Müller notifications@github.com wrote:

It is hard to say as you have not provided any details.

Was there any error on the login screen? Are there any errors in the tomcat log?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/UniTime/unitime/issues/46#issuecomment-457298670, or mute the thread https://github.com/notifications/unsubscribe-auth/AGbWobLbvdWOIS12xWy00dTymi8ObSTOks5vGfbFgaJpZM4aRar4 .

tomas-muller commented 5 years ago

It appears you did not populate the timetable database. After running the schema.sql script, you need to populate the database using either the blank-data.sql (just the bare essentials, including the admin/admin user) or woebegon-data.sql script (including the example that is available in our online demo).

karammr commented 5 years ago

Thank you so much I was able to enter

I have couple questions if you don't mind: With respect to removing the subjects for the Instructional planning department,how can I do that? How can I create a timetable? or delete one?

Thank you and Thank you Marcel Kindest Regard


Marcel R. Karam,

On Thu, Jan 24, 2019 at 8:29 PM Tomáš Müller notifications@github.com wrote:

It appears you did not populate the timetable database. After running the schema.sql script, you need to populate the database using either the blank-data.sql (just the bare essentials, including the admin/admin user) or woebegon-data.sql script (including the example that is available in our online demo https://demo.unitime.org).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/UniTime/unitime/issues/46#issuecomment-457305297, or mute the thread https://github.com/notifications/unsubscribe-auth/AGbWoRJAPNfjYI6Ae2HDjD_wsgqtKoohks5vGft3gaJpZM4aRar4 .

tomas-muller commented 5 years ago

You can delete a subject area (or move it under a different department) on the Edit Subject Area page, but only when there are no offered courses in the subject area.

You can create a timetable using the Course Timetabling > Solver page. You can delete a saved timetable on the Course Timetabling > Saved Timetables page.

For more details, please see the following manuals:

These manuals are also available in the menu, under Help > Manuals.

You can also take a look at our Course Timetabling in UniTime webinar recording.