Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 254 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Versiondown Subject
  68176   Mon Nov 2 08:41:20 2015 Reply Andreas Luedekeandreas.luedeke@psi.chBug reportAll3.1.1Re: restrict edit time and autosave
Hi Kester,
yes, I did run into the same problem, that I could not even delete old drafts due to our restrict edit time.
We allow anonymous submissions in our operation logbooks. After a while drafts of unsubmitted messages just pile up; and I need to remove them as administrator.
While I can do that easily for anonymous drafts, I cannot do that for drafts of other users: I don't easily see those drafts.
It would be really nice, if drafts would be handled different then other entries regarding "Restrict edit time" as you've suggested.
Cheers, Andreas
Kester Habermann wrote:

Hello,

When using restrict edit time together with autosave, there is the following problem: The counter for restrict edit time seems to start after the autosave. If the time is up, it is no longer possible to submit the report.
It is also not possble to edit old drafts if restrict edit has elapsed since the creation of the save.
Autosave is definitively a nice new feature. However, I think it would be better if the counter for restrict edit time only started after the "submit" of the report and allowed edits to drafts no matter how old they are. As it is one needs to either set a really high value for restrict edit time or turn off autosave.
The issue seems to be related to: https://midas.psi.ch/elogs/Forum/68103

Regards

Kester

 

 

 

 

  68189   Fri Nov 13 11:26:12 2015 Question Xuan Wuwux@ihep.ac.cnQuestionLinux3.1.1email notification authentication failed

Hi All,

I got into trouble setting up the automated email notification.

elog.cfg:

;Send automatic email notifications
SMTP host = mail.ihep.ac.cn
;SMTP host = 127.0.0.1

;Some SMTP server require username/passowrd authentication
;elogd -t <your password> for creating SMTP password
SMTP username = wux@ihep.ac.cn

SMTP Password = .JYEytMGvsHANeCIfQJXmscIt4NOtzJ8GbAnh3XH280
;SMTP Password = V3gxMzYxODAxMjAxNA==
;No Email notification
Suppress Email to users = 1

 

elogd -v:

GET /LEBT/?cmd=Forgot&login_name=wux HTTP/1.1
timezone: -28800, offset: 28800


Email from <wux@ihep.ac.cn> to wux@ihep.ac.cn, SMTP host mail.ihep.ac.cn:
220 ihep.ac.cn Anti-spam GT for Coremail System (ihep[20151015])
EHLO 10.1.44.220
250-mail
250-PIPELINING
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-coremail 1Uxr2xKj7kG0xkI17xGrUDI0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Url11UVUCa0xDrUUUUj
250-STARTTLS
250 8BITMIME
AUTH LOGIN
username:
wux@ihep.ac.cnPassword:
.JYEytMGvsHANeCIfQJXmscIt4NOtzJ8GbAnh3XH280
535 Error: authentication failed

 

test with telnet:

[wux@logbook ~/elog]$ telnet mail.ihep.ac.cn 25
Trying 202.38.128.6...
Connected to mail.ihep.ac.cn.
Escape character is '^]'.
220 ihep.ac.cn Anti-spam GT for Coremail System (ihep[20151015])
EHLO 10.1.44.220
250-mail
250-PIPELINING
250-AUTH LOGIN PLAIN
250-AUTH=LOGIN PLAIN
250-coremail 1Uxr2xKj7kG0xkI17xGrUDI0s8FY2U3Uj8Cz28x1UUUUU7Ic2I0Y2Ur3T0__UCa0xDrUUUUj
250-STARTTLS
250 8BITMIME
AUTH LOGIN
334 dXNlcm5hbWU6
AUTH PLAIN
535 Error: authentication failed
Connection closed by foreign host.


Any advice and suggestions will be appreciate.

  68194   Fri Nov 20 10:28:41 2015 Question Mike Gilesmike.giles@gmx.comQuestionWindows3.1.1log entries after a certain date not displayed - 3.1.1

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

  68195   Fri Nov 20 11:06:24 2015 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1
Hi Mike,
I don't think that it is a good idea to have two elogd servers accessing the same files: that's what you are doing with the Dropbox folder, isn't it? ELOG is not made to be used like that.
If you want to share the same entries in different logbooks, then you should use the "mirror server" functionality in ELOG. Have a look at: https://midas.psi.ch/elog/config.html#mirroring
Cheers, Andreas
Mike Giles wrote:

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

  68197   Fri Nov 20 12:40:19 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

Besides the commen Andrea made I would like to add that you can convince elog to show all files if you simply restart it, then it will re-scan all files. But as Andreas said, if two elogd instances write to the same directory, you will get a mess with double IDs of entries.

Stefan

Mike Giles wrote:

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

  68201   Tue Nov 24 09:18:40 2015 Reply Mike Gilesmike.giles@gmx.comQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

Thanks very much for your comments. I will take a look at the mirror server functionality.

I have only been running one elogd at a time, restarting elogd (on Windows 10) doesn't seem to pick up the changes made on Windows 8.1 PC (stopped elogd after changes made and log file updated)

Mike

Stefan Ritt wrote:

Besides the commen Andrea made I would like to add that you can convince elog to show all files if you simply restart it, then it will re-scan all files. But as Andreas said, if two elogd instances write to the same directory, you will get a mess with double IDs of entries.

Stefan

Mike Giles wrote:

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

  68202   Tue Nov 24 12:35:22 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

Ah, I see another problem. The pre 3.1 version had all logbook files in one directory, and the 3.1 puts the files in one subdirectoy per year. On transition from 3.0 to 3.1, an automatic conversion is made, but only once. If you later add files into the root logbook directory, they will not be seen. So you have to move them manually into the right subdirectory.

Mike Giles wrote:

Thanks very much for your comments. I will take a look at the mirror server functionality.

I have only been running one elogd at a time, restarting elogd (on Windows 10) doesn't seem to pick up the changes made on Windows 8.1 PC (stopped elogd after changes made and log file updated)

Mike

Stefan Ritt wrote:

Besides the commen Andrea made I would like to add that you can convince elog to show all files if you simply restart it, then it will re-scan all files. But as Andreas said, if two elogd instances write to the same directory, you will get a mess with double IDs of entries.

Stefan

Mike Giles wrote:

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

 

  68203   Tue Nov 24 21:29:16 2015 Reply Mike Gilesmike.giles@gmx.comQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

Hi, I have noticed that if an entry is not submitted it is saved in a sub-folder (name is current ID number) eg http://localhost:8090/mike/23, while draft it doesn't appear in list page but you can browse directly to it.

When you update an entry on one server instance, if you then browse to the entry ID on the 2nd server instance it is draft. If you edit then submit the entry then appears in list page on 2nd server instance.

Thanks again.

Stefan Ritt wrote:

Ah, I see another problem. The pre 3.1 version had all logbook files in one directory, and the 3.1 puts the files in one subdirectoy per year. On transition from 3.0 to 3.1, an automatic conversion is made, but only once. If you later add files into the root logbook directory, they will not be seen. So you have to move them manually into the right subdirectory.

Mike Giles wrote:

Thanks very much for your comments. I will take a look at the mirror server functionality.

I have only been running one elogd at a time, restarting elogd (on Windows 10) doesn't seem to pick up the changes made on Windows 8.1 PC (stopped elogd after changes made and log file updated)

Mike

Stefan Ritt wrote:

Besides the commen Andrea made I would like to add that you can convince elog to show all files if you simply restart it, then it will re-scan all files. But as Andreas said, if two elogd instances write to the same directory, you will get a mess with double IDs of entries.

Stefan

Mike Giles wrote:

Hi,

I'm having an issue with Elog 3.1.1 on windows 10 not displaying all log entries (after a certain date) in a logbook directory.

The logbook is saved in a Dropbox folder and the entries were created on a windows 8.1 PC with 3.1.1 also.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

 

 

ELOG V3.1.5-3fb85fa6