Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 255 of 808  Not logged in ELOG logo
icon5.gif   log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Fri Nov 20 10:28:41 2015 
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.
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Andreas Luedeke on Fri Nov 20 11:06:24 2015 
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,
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Stefan Ritt on Fri Nov 20 12:40:19 2015 
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
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Tue Nov 24 09:18:40 2015 
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)
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Stefan Ritt on Tue Nov 24 12:35:22 2015 
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.
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Tue Nov 24 21:29:16 2015 
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
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Stefan Ritt on Wed Nov 25 08:51:46 2015 
Drafts are not shown in the list page, but you can browse directly to them, if you know their idea. They are also shown if you hit "new". Then
a box comes up "You have unfished drafts, do you want to edit them?". This is the new draft feature introduced recently and a feature of elog.

But I guess you have a more general problem. You run two elogd severs, and you transfer information between the two servers via Dropbox. Elog
    icon2.gif   Re: log entries after a certain date not displayed - 3.1.1, posted by Mike Giles on Wed Nov 25 09:26:39 2015 
 




Stefan
Ritt wrote:



Drafts are not shown in the list page, but you can browse directly to
ELOG V3.1.5-3fb85fa6