Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 725 of 796  Not logged in ELOG logo
    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefano Bonaldo on Fri Dec 16 02:44:53 2016 
Hello Alan,

I tried with a new logbook with an attribute without "date" name, but unfortunately I got the same error. Any other suggestions?

Thanks
    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefan Ritt on Fri Dec 16 09:27:26 2016 Screen_Shot_2016-12-16_at_9.26.51_.png
Still no luck. Tried your URL and still works fine for me:

    icon2.gif   Re: elogd crash on sorting the entries by an datetime attribute, posted by Stefan Ritt on Fri Dec 16 09:55:20 2016 
Ok I found it!

Was tricky. In my development environment (XCode) it worked fine. Only when I compiled elogd under Sierra on the command line, the probelm occured.
That's why I did not see it earlier. It has to do with some functions Apple apparently changed ("strlcpy"). These function now have a new
icon5.gif   Elog crashes with null Username, posted by Alan Grant on Sun Dec 18 08:51:47 2016 
I haven't found any reporterd issues in the forum similar yet, but it appears there is a bug in Elog when logging into logbooks. If I leave Username
and Password null and click Submit the daemon crashes. We've been having this problem off and on and after some verbose logging level 3 I was drawn
to these recurring lines in the log:
    icon2.gif   Re: Elog crashes with null Username, posted by Stefan Ritt on Mon Dec 19 12:28:47 2016 
Ups. This bug must have lingered there since the beginning of time. Funny that nobody noticed in the last ten years or so. I have fixed it in the current
git revision.




Alan
    icon2.gif   Re: Elog crashes with null Username, posted by Alan Grant on Mon Dec 19 19:42:05 2016 
Thanks for the speedy fix.

FYI, our other Elog instances which are running ealrier versions do not exhibit this problem, as I confirmed that entering null
ID/password returns "Invalid Username or password" as expected. This may be why it wasn't mentioned by anyone else before. Maybe something
icon5.gif   elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Mon Jan 9 17:15:56 2017 
My MacOS (10.12.2) elogd version V3.1.2 is a recent git commit (edc5e85), due to the fix to my earlier-described issue solved in the thread here: https://midas.psi.ch/elogs/Forum/68519.

I am trying to (re-)set up Mirror functionality with a linux server running the standard public (V3.1.2-bd75964).  I had initially updated
the linux server so that it also had the latest git commit (edc5e85), but could then not even add new logbook entries that involved attachments to it.
    icon1.gif   Re: elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Fri Jan 13 08:27:15 2017 Screen_Shot_2017-01-13_at_8.24.07_AM.png
The attached screenshot shows the behaviour after doing a synchronization (with Mirror simulate = 1) following first having ensured that the local (Mac)
and remote (linux) ELOGs initially showed "All entries identical" when doing a simulated synchronization, and then having edited local entries
9707 and 9709 by uploading (different) attachments to them.
ELOG V3.1.5-2eba886