Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 94 of 807  Not logged in ELOG logo
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  68565   Tue Jan 31 11:42:19 2017 Reply Terry Almondterry.almond@stfc.ac.ukQuestionWindows2.8.1-2350Re: Opening a Local File using <a href="file:///../filename.doc">text</a>

Hi Stefan,

Obviously it's not magic but my inability to explain. I've attached a quick jpg of the file structure we use. So for every project we just repeat the file structure. It then becomes a browser based interface for our engineers, inspectors, project managers etc. so via the network they can access the data anywhere onsite.

Elog is used in an iframe on the manrec page. Here we record several logs (a record of everything we do, a record of test equipment, tools used, harnesses, connectors made and disconnected, etc. and what i'm now trying to achieve a document record / check list).

Now in the data directory we store hundreds of documents from procedures, circuit diagrams, mechanical drawings, parts lists, test reports and data, inspection reports, down to consumables like what type of cloth and liquid was used to wipe down a cable.

So the bulk of documents can fit on to an 8G memory stick, the only section that doesn't fit is the test data.  So when we need to move off site, or supply this data to a subcontractor we copy the contents (minus the test data) on to a memory stick, when the memory stick is returned we simply synchronise it back to the network. So the only links that would fail to work off site are links to test data - which we are not worried about.

Now, any new person working on the project needs to review the check list (hopefully the new elog if i can get it to work) part of this check list  / document record could say something like - carry out inspection, refer to drawing <href link> now this is where the problem occurs, as when the files are on the site based machine, we know the file structure is on the M:Drive; however when the memory stick is now plugged into a subcontractors machine / laptop we have no control of the drive allocation, so how can i get the link to the drawing to work?

When they finish the job required, they upload the data to the memory stick and state where.  ie inspection carried out - results passed see report "xyz" <href link>

I hope this now makes more sense

Kind regards

 

Terry

Stefan Ritt wrote:

If a file is on a memorystick and the memorystick is gone, how could elog bring it back? What you ask for is magic, sorry for that. Also if you move files outiside elog from one folder (drive) to anohter. How shoudl elog keep track of these files if they are outside? If your colleague moves some piece of equipment from A to B, without telling you, how can you guess where B is?

Terry Almond wrote:

Hi Stefan

Unfortunately this would become impractical for us as many of the test data files which we'd need to link too are Gb's in size, some over 100Gb, hence only the files needed to do a say an inspection of the equipment would be copied onto memory sticks. Currently we use an excel speadsheet to store hyperlinks to all of the files / directories we need - unfortunately some people forget to update this and it was asked could we do it using elog as people are familiar with this wonderful peice of software.

Hence why i'm now investigating - so is it actually posible?

Kind regards

Terry 

Stefan Ritt wrote:

Linking to external files via "file:///..." is a bad idea, since only a pointer is stored in the elog. So if someone puts somehing on M: and the drive is removed, the file is physically gone. No way to retrieve it. Instead of puttting links to files, users should get trained to ATTACH the files to elog cntries (V3 of elog has a "Drop attachments here..." section. Only then the files are physically transferred into elog and accessible independed of your external memory stick.

Stefan

Terry Almond wrote:

I've created an elog where users can then enter links to a file: for example they would enter:

<a href="file:///M:/Data/Inspection%20Reports/ABC123.doc">ABC123</a>

If they are running this on their desktops where everyones M drive is mapped to the same location, not a problem, the file opens perfectly.

The problem we have is some people work off of site and hence they run everything from a memory stick (USB drive), then once back in the office, copy the memory stick back on to the network.

Unfortunately when off of site the href link M: is no longer valid as the M drive doesn't exist.

Hence i've been trying to open a local file with the following syntax: 

<a href="file:///../ABC123.doc">ABC123</a>

It just won't open

Hence in my frustration i basically copied the word file ABC123.doc into every single directory on the memory stick thinking surely this must work, it must find it somewhere, unfortunately not.

What am i doing wrong?

 

 

 

 

 

  66273   Wed Mar 25 14:16:21 2009 Question Tero Suominentero.suominen73@gmail.comQuestionAll2.7.5-2168How to configure eLog to send an e-mail notification when new logbook entry time is reached?

Hello!

First I would like to thank you for making such a good free software available:). Then right back into the busness. I have a question to developers. I used the following Options to get the logbook entry  which defines the licences expiration date (See the attachement). Now I would like to ask on how to configure eLog to send an e-mail notification when this date is reached?

 

Attributes = Licence Expiration date
Type Licence Expiration date = date
Date format = %A, %B %d, %Y

 

The ideal solution would be to have configurable variable which would automatically send a notification X days before the expiration date is reached. Do you think this would be possible feature request to this Forum into eLog wishlist?

BR,


Tero Suominen

Attachment 1: Expiration_field.GIF
Expiration_field.GIF
  66275   Wed Mar 25 14:35:23 2009 Reply Tero Suominentero.suominen73@gmail.comQuestionAll2.7.5-2168Re: How to configure eLog to send an e-mail notification when new logbook entry time is reached?

Stefan Ritt wrote:

 

Tero Suominen wrote:

Hello!

First I would like to thank you for making such a good free software available:). Then right back into the busness. I have a question to developers. I used the following Options to get the logbook entry  which defines the licences expiration date (See the attachement). Now I would like to ask on how to configure eLog to send an e-mail notification when this date is reached? 

 

Attributes = Licence Expiration date
Type Licence Expiration date = date
Date format = %A, %B %d, %Y

 

BR,


Tero Suominen

 

That's not possible with ELOG, which is meant as an electronic logbook. You need a calendar application for that. 

 Hi! Thanks for the quick response. Do you have any suggestions on which calendar applications I should start looking for for this purpose?

Thanks,

Tero

  68252   Mon Feb 8 13:52:33 2016 Question Tapasi Ghoshtapasi03@gmail.comQuestionMac OSXelog-3.1.0New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

Attachment 1: image.png
image.png
  68254   Mon Feb 8 16:19:11 2016 Reply Tapasi Ghoshtapasi03@gmail.comQuestionMac OSXelog-3.1.0Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Thanks for your reply.

I am the user and  it also has the write access 

cd /usr/local/elog/

ls -ltr

drwxrwxrwx  6 tapasi  admin  204 Jan  7 18:26 demo

Andreas Luedeke wrote:

You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.

Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")

Cheers, Andreas

Tapasi Ghosh wrote:

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

 

 

  68256   Mon Feb 8 17:40:27 2016 Reply Tapasi Ghoshtapasi03@gmail.comQuestionMac OSXelog-3.1.0Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Sorry, it was my mistake while copying  from terminal to the email .  There is no "demo" directory under /usr/local/lib.

Tapasis-MacBook-Pro:elog tapasi$ cd  /usr/local/elog/logbooks/demo

Tapasis-MacBook-Pro:demo tapasi$ ls -ltr

total 0

drwxr-xr-x   3 tapasi  admin   102 Sep 22 11:00 2001

drwxr-xr-x  55 503     admin  1870 Dec 17 13:21 2015

drwxr-xr-x   2 tapasi  admin    68 Jan  7 14:54 2016

 

So, how can I change the user from "nobody" to my name, so that elogd runs in my user name ?

Thanks

Andreas Luedeke wrote:

The process elogd runs as the user "nobody". This user obviously cannot write to /usr/local/elog/logbooks/demo.

But apparently you've created the wrong directory anyway: you've listed /usr/local/elog/demo, but ELOG looks for /usr/local/elog/logbooks/demo.

Cheers, Andreas

Tapasi Ghosh wrote:

Thanks for your reply.

I am the user and  it also has the write access 

cd /usr/local/elog/

ls -ltr

drwxrwxrwx  6 tapasi  admin  204 Jan  7 18:26 demo

Andreas Luedeke wrote:

You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.

Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")

Cheers, Andreas

Tapasi Ghosh wrote:

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

 

 

 

 

  68224   Wed Jan 13 08:25:50 2016 Idea Tamas Galtgal@km3net.deInfoLinuxELOG V2.9.2-245Slackbot for ELOG

Dear all,

I just wanted to share a small script which I wrote to integrate our ELOG in Slack. This allows us to be notified immediately if there is a new logbook entry directly within the appropriate Slack channels. We're using ELOG V2.9.2-245 but if the log-file format has "Subject, Author, Type" in the header, it should work with any other version. I'm using Pyinotify for the file watch which relies on a Linux Kernel feature (merged in kernel 2.6.13) called inotify, so the script only works on Linux.

Here is the code: https://github.com/tamasgal/elog-slack

Cheers and thanks for ELOG!

Tom

Attachment 1: elog-slack.png
elog-slack.png
  68225   Wed Jan 13 08:37:42 2016 Reply Tamas Galtgal@km3net.deQuestionLinuxELOG V3.1.0-241Re: Monitoring a logbook for changes

I recommend monitoring directly on the server. Here is an example of a very simply Python script (https://github.com/tamasgal/elog-slack) which monitors the files very efficiently and immediately pushes notifications to Slack (slack.com). Just look at the code, it's pretty straight forward and very easy to adapt it to other (web) services.

Btw. here is an ELOG entry of it https://midas.psi.ch/elogs/Forum/68224

Johan Forsberg wrote:

Hi again!

I've another need that you probably already thought of :)

I'd like to be able to efficiently monitor a logbook for changes (new or edited posts) somehow. The most reasonable way I've found so far is to periodically poll a search that looks for posts after the time of the last poll. But that might note be very efficient, especially if the polling period gets short (or number of clients grows).

Is there some other feature that could be used for this? I was thinking maybe the ETag or Last-Modified HTTP header field could be used to show changes to a logbook by just reading the headers, but it would also require HEAD request support which does not seem to be there.

Cheers,

Johan

 

ELOG V3.1.5-3fb85fa6