Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 717 of 796  Not logged in ELOG logo
IDup Date Icon Author Author Email Category OS ELOG Version Subject
  69127   Sun Mar 29 13:30:09 2020 Idea Sunilkumarsunilanaveri@gmail.comQuestionWindows3.14How to add bulk client list at once

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

Attachment 1: Screenshot_3.jpg
Screenshot_3.jpg
  69128   Wed Apr 1 12:29:47 2020 Question MATT TERRONmatao11235@gmail.comQuestionLinux | Windows3.14email notification fail to retrieve images in the text

When I use the email notification for an entry with images in the text, it seems the email server cannot retrieve the image. When I inspected the URL of the image it went to the login page.

Is that because the logbook has a password config that the access from the URL of the image needs authentication?    Or I am just using the image upload the wrong way .

Attachment 1: email_notification_problem.png
email_notification_problem.png
  69129   Wed Apr 1 13:01:39 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows3.14Re: email notification fail to retrieve images in the text

First thing you want to try is to upgrade elog to the last version. Older versions have problems in including images.

Then you want to check the "Email Format" in your elogd.cfg configuration file. Only if "16" is included there, then attachments are sent as email attachments and images will be included in yoru email. If not, only a link of the image is included in your email, and you correctly realized that you then cannot view the image because your email client does not knwo how to authenticate itself at the elog server.

Stefan

MATT TERRON wrote:

When I use the email notification for an entry with images in the text, it seems the email server cannot retrieve the image. When I inspected the URL of the image it went to the login page.

Is that because the logbook has a password config that the access from the URL of the image needs authentication?    Or I am just using the image upload the wrong way .

 

  69130   Wed Apr 1 15:16:43 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.14Re: How to add bulk client list at once

Options are limited to 200. To add options dynamically, use 

Extendable options = <name>

as desribed in the manual.

Stefan

Sunilkumar wrote:

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

 

  69131   Wed Apr 1 15:57:27 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.3Re: Logfile not registering entry numbers?

I finally found some time to fix that bug. Was just that the log file hat #0, the bug should not have had any ohter side effects. Now the logfile is fine.

David Pilgram wrote:

As a regular elog (ab)user, I have seen this behaviour from time to time.  So far as I recall, the cause actually is that a normal entry is looking for the entry in the "Reply to" field of the normal entry in the yymmdda.log file.  When that entry does not exist, then I see a duplicate line of an entry with entry "#0", in emboldened black type.  I did have a screenshot, but cannot find it for now. 

A quick (relative term, that) search usually finds the entry which references the missing "Reply to" line, and editing that, all is well.  I'm not sure how this can happen, but it does.  NB, I'm still on elog 2.9.2 so I don't know how the draft facility works and possibly enhances the possibility of this issue.

 

Note that this is different to the case (rather more frequent) where the entry in  the "In reply to" field is missing.  This causes elog to go into a continuous loop and only the strongest measures  ("kill -9 xxxx in linux) will break this out.  This can happen more frequently as if you delete a thread with a large number (>40?) of entries, elog crashes, but more importantly, hasn't finished the job.  Clicking on the remenents of the thread (which are usually the later entries) causes the endless loop.

Andreas Luedeke wrote:

It looks like you've found a bug in ELOG. I've checked my elog.log and see that all NEW entry lines show "#0".

I've looked into the code: the message is written before the new entry is submitted, and only then the entry ID is defined.
For new entries one would need to make the logging print line later - but that would blow up the code.
The message IDs are correct for saving drafts and editing entries. I'll discuss with Stefan if that should be fixed.
 
Andreas
 
Sergio Navarrete wrote:

I have configured a logbook with the logfile on, but when a user replies to an entry the line logged goes

Date Time [User@IP] {Logbook} NEW entry #0

How can I make the #0 be the real entry number for the reply?

 

 

 

 

  69132   Wed Apr 1 19:27:53 2020 Reply Sunilkumarsunilanaveri@gmail.comQuestionWindows3.14Re: How to add bulk client list at once

Hi Stefan 

Thanks for Response , It helped me lot .

is it possible to give refence to include 1000 clients in one file and adding that referece file to Roptions ?

Once we click Client Mnemonic it should fetch the data from that file and return  the Client Name .

Stefan Ritt wrote:

Options are limited to 200. To add options dynamically, use 

Extendable options = <name>

as desribed in the manual.

Stefan

Sunilkumar wrote:

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

 

 

  69133   Wed Apr 1 20:01:26 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.14Re: How to add bulk client list at once

No, that's not possible with elog.

Sunilkumar wrote:

Hi Stefan 

Thanks for Response , It helped me lot .

is it possible to give refence to include 1000 clients in one file and adding that referece file to Roptions ?

Once we click Client Mnemonic it should fetch the data from that file and return  the Client Name .

Stefan Ritt wrote:

Options are limited to 200. To add options dynamically, use 

Extendable options = <name>

as desribed in the manual.

Stefan

Sunilkumar wrote:

Please let me know how to add Button for adding client next to Client Mnemonics.

 

I need to add bulk client lists in the Elog page there are 1000+ clients  .

I need to select client from the drop down list if its not there i need to add them using Add Client Button 

Please let me know the steps.

 

 

 

 

 

  69134   Thu Apr 2 13:37:21 2020 Reply Stefan Rittstefan.ritt@psi.chQuestionWindowsV3.1.4-a04faf9fRe: Mirroring function for a full both-sides synchronization

The entry ID #0 was a bug in logging routine only, so in the elog logbook the ID is certainly not zero. But the logging bug has been fixed now, so please update your version of elog.

Then I tried to reproduce your problem. I set up two servers, the master listening at port 8080 and the slave listening at port 8081. I created two entries at the master, did manual synchronization, then created one entry on the slave, and did another synchronization on the master. I got both sides correctly transferred, no problem with ID zero. See attached screenshot. I used following elogd.cff on the master side:

[global]
port = 8080
password file = passwd
Mirror server =    http://localhost:8081
Mirror simulate =1

[demo]
Theme = default
Comment = General Linux Tips & Tricks
Attributes = Author, Type, Category, Subject
Options Type = Routine, Software Installation, Problem Fixed, Configuration, Other
Options Category = General, Hardware, Software, Network, Other
Extendable Options = Category
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type

Sergei Gavrilov wrote:

Hello, dear ELOG's gurus.
Please help me to understand a problem with mirroring function.
It appears in ELOG V3.1.4-a04faf9f - the last official Windows release, as well as previous 3.1.3 Windows release, which I have checked for comparison.

When I'm using a manual configuration with "mirror server, cron, user" options for one (master) of two servers, it operates well, except the situation, when a new entry is submitted at the second (slave) server.
For example, for a new entry with a real ID#2 at Slave its logfile gives "NEW entry #0", so logfile of the master server gives "MIRROR: Error receiving message: Received wrong entry id "0"".
After that Master deletes this entry at Slave "MIRROR delete remote entry #2".

In case of mirror functions in both .cfg files (Master to Slave, Slave to Master) both servers hung on after the first mirror process.

Now let's imagine, what I want to do. 
Master, as a main-operation global log, is off-operation, Slave automatically becomes a reserv-operation local log with full information from Master due to previous periodic mirroring.
Users work with Slave, submit new entries - all with #0 ID.
After repairing Master starts active mirroring and just deletes all new entries from Slave.

It seems, that the problem is not with mirroring, but with a new entry ID, as was mentioned in https://elog.psi.ch/elogs/Forum/68850
Were these ID#0/mirror problems resolved somehow or may be it is not a problem, but simply my errors in ELOG configuration?
Is there a chance to get an up-to-date Windows-release with working both-sides mirror function and all other addings after V3.1.4-a04faf9f ?

Best regards,
Sergei

 

Attachment 1: Screenshot_2020-04-02_at_13.42.23_.png
Screenshot_2020-04-02_at_13.42.23_.png
ELOG V3.1.5-fe60aaf