Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 213 of 806  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  65918   Thu Jul 3 08:25:10 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.3Re: Icon and Quick filter

Ok, now I got the point. I fixed this problem in elog revision #2114. Quick filters are now working with icons:

Capture.png

  65919   Thu Jul 3 08:57:32 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux2.7.4Re: Sorting Museremail

Steve Williamson wrote:

We use elog for (amongst other things) a simple change management log.  About two dozen users allowed to do updates and their email addresses are listed at the bottom of the page to allow any of them to be included on circulation for a change request.  The email addresses appear in the order that they were added (i.e. apparently random).  Is there any way to sort these, ideally by Last part of Full Name/First part of Full Name, but login name or email address would be OK?

 

Ok, I added sorting for "museremail" and "muserlist" type of attributes. Sorting is simply done by sorting the email addresses and first part of full name, respectively. The change is implemented in SVN revision #2115.

  65923   Thu Jul 10 12:46:52 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows2.7.3-2104Re: Synchronising between physically separate networks

Dougie Mooney wrote:

Hi there. Just started recently set up the application and think its very usable and easily configured - great stuff

I'm looking to roll it out to the masses but have a slight logistical problem in that we work on 2 separate networks - NET1 with connection to the internet, and NET2 physically isolated from NET1 and the internet.

It would be desirable to allow users to add/update/delete logs from both NET1 and NET2 with periodic synchronisation.

I believe the mirroring facility is what should be used, and think the following setup and synchronisation steps may be workable:

Setup:

  • elog installed on node of NET1
  • elog installed on 2 nodes of NET2
  • elog server running on NET1 and node1 of NET2 both using a common elogd.cfg

Performing Synchronisation:

  1. Stop the server on NET1
  2. copy logbook directories from NET1 to node2 of NET2
  3. start server on node2 of NET2 using the -M option
  4. once above complete, copy logbook directories from node 2 NET2 to NET1
  5. Start the server on NET1

Am I on the right track?

Would very much appreciate comments and and advice on the above.

 A couple of comments:

  • In principle you could use one elogd.cfg for two running daemons, but only if they do not modify the file. If you use "extensible attributes" for example, you would have write access. If this happens from both servers at the same time, the config file can get corrupt. This is even more true with a password file, which gets written every time a users accesses a page. If you only run one server at a time, then they can share the config file of course.
  • The synchronization works bi-directional between two elog daemons. Requirement is that they have access to each other. The synchronization master acts like a "browser" to the slave to send/retrieve entries. So if you can affort punching a hole into your firewall between NET1 and NET2, you could synchronize two servers directly and don't have to bother with three servers. If you have however really physically separated nets, such that you need a memory stick to transport data from one net to the other, then indeed you need the above described scenario. I never tried it in this way, but in principle it should work.
  65931   Wed Jul 23 15:06:59 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion V2.7.3-205Re: preset type useremail with current user

Peter Hirschbichler wrote:

Hi, I would like to preset an attribute type useremail with $user_email but that does not work because $user_email contains mailto: like mailto:user_email@domain
Has anyone an idea how to resolve this problem?

Type Reporter = useremail
Preset Reporter = $user_email

 This was a bug. I fixed it in SVN revision 2118.

  65932   Wed Jul 23 15:14:58 2008 Reply Stefan Rittstefan.ritt@psi.chBug report 2.7.4Re: Thumbnails not working

Kevin O'Sullivan wrote:

I get the following error where thumbnails should go: Cannot create thumbnail, please check ImageMagick installation.

I restarted elog and check the log, it does in fact detect ImageMagick and it does have the most recent version. I'm running ubuntu 2.6.24-19-server.  Is there something else I should be checking?

 Try the following:

  • Put logfile = elog.log into your elogd.cfg
  • Upload an image to get the error
  • Examine your elog.log file

You should get something like:

23-Jul-2008 15:10:38 [] Server listening on port 8080 ..
23-Jul-2008 15:10:52 [stefan@127.0.0.1] {demo} SHELL "convert "logbooks\demo\080723_151052_Capture.png" "logbooks\demo\080723_151052_Capture.png.png""

In your logfile. Now try the "convert" command manually under the same account elogd is running. Possible reasons for problems are:

  • The "convert" command is not in your path or links to another program. Unfortunately ImageMagick chose a pretty standard name for this program
  • The account under which elogd is running does not have write access to the logbook directory
  • converts wants to call ghostscript for PDF conversion, but it is not installed
  • ...
  65934   Thu Jul 24 11:28:30 2008 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows Re: WINDOWS binaries with latest fixes.

Franck C wrote:

Hi,

When the WINDOWS binaries with the latest bug fixes will be available on the download page ?

Have a nice day

 Whenever you ask for it 

I made you an elog274-1.exe containing revision 2118.

  65936   Wed Jul 30 10:06:57 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.73-1.exeRe: Elogd.exe crashes almost everyday

jh wrote:

My Elog running on windows 2003 sp1 is crashing with this error "  Faulting application elogd.exe, version 0.0.0.0, faulting module elogd.exe, version 0.0.0.0, fault address 0x00061330."  the version of elogd.exe is  has a built date of 2/22/2008.  Will upgrading to the latest windows binary resolve this issue?    Thanks!!

 I would give it a try!

  65938   Thu Jul 31 09:25:01 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportLinux2.7.4-2113Re: Exploit Browser Tabs to Make Anonymous Entries

Alan Stone wrote:

One of my shifters just managed to make an anonymous logbook entry even though the Author attribute is required.

It turns out that he had two tabs in his browser opened/logged into the Elog.  He logged out in one tab only.   Then he

did some other work on the desktop.  Then he returned to the browser to make a new logbook entry, finding the tab which

still showed the logged in menu, including the link for "New".  The Shifer is on day two, so he did not give any special

notice to seeing Anonymous in the Author field instead of his name.  He did point it out when I came in, and noted that

no warning was given about making an anonymous entry.

 

I tested the same scenario myself.  One cannot preview an anonymous entry (when Author field is a required attribute).

A warning is given.  However, one can submit the anonymous entry, and no warning is given.

 What configuration do you use? I tried to reproduce your problem with a "minimal" configuration like

[demo]
Attributes = Author, Subject
Preset Author = $long_name
Locked Attributes = Author

When I log out from the second browser tab and click on "New" on the first browser tab, I am shown the login page, not the new entry page. I guess your "menu commands" and "guest menu commands" allow non-logged in users to issue a "New" command. Try removing that.

Stefan

ELOG V3.1.5-3fb85fa6