Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 422 of 808  Not logged in ELOG logo
ID Date Icondown Author Author Email Category OS ELOG Version Subject
  68204   Wed Nov 25 08:51:46 2015 Reply Stefan Rittstefan.ritt@psi.chQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

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 is not made for that. Elog is a web server, so you don't have to transfer data via a could service (except maybe for backup). You can access your one and only elog instance from everywhere. Everything else will give you trouble.

Mike Giles wrote:

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 submit the entry then appears in list page on 2nd server instance.

Thanks again.

Stefan Ritt wrote:

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.

Mike Giles wrote:

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)

Mike

Stefan Ritt wrote:

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

Mike Giles wrote:

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.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

 

 

 

  Draft   Wed Nov 25 09:26:39 2015 Reply Mike Gilesmike.giles@gmx.comQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

 

Stefan Ritt wrote:

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 is not made for that. Elog is a web server, so you don't have to transfer data via a could service (except maybe for backup). You can access your one and only elog instance from everywhere. Everything else will give you trouble.

Mike Giles wrote:

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 submit the entry then appears in list page on 2nd server instance.

Thanks again.

Stefan Ritt wrote:

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.

Mike Giles wrote:

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)

Mike

Stefan Ritt wrote:

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

Mike Giles wrote:

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.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

 

 

 

 

  68206   Wed Nov 25 09:27:07 2015 Reply Mike Gilesmike.giles@gmx.comQuestionWindows3.1.1Re: log entries after a certain date not displayed - 3.1.1

Understood, Thanks very much for your help.

Stefan Ritt wrote:

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 is not made for that. Elog is a web server, so you don't have to transfer data via a could service (except maybe for backup). You can access your one and only elog instance from everywhere. Everything else will give you trouble.

Mike Giles wrote:

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 submit the entry then appears in list page on 2nd server instance.

Thanks again.

Stefan Ritt wrote:

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.

Mike Giles wrote:

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)

Mike

Stefan Ritt wrote:

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

Mike Giles wrote:

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.

I created an entry in windows 10, this created a new log file (new day) with a duplicate ID, deleted the log file and then the windows 10 pc displayed all entries.

Is there any way to ensure Elogd picks up all log files ?

Thanks & Regards,

Mike

 

 

 

 

 

 

 

  68207   Fri Nov 27 06:31:25 2015 Reply Dawangraymund.dawang@gmail.comQuestionWindowsLatestRe: How to configure SMTP server in Windows using gmail

Hi Stefan,

I remeber when I used elog email notif feature in my previous workplace which is running in windows, I just put IP address on SMTP host = X.X.X.X at the config file and it run without any problem. I'm thinking they are using SMTP server. Can you please recommend any SMTP server and SMTP relayer site that I can use to be able to successfully send my email notification. I tried SendGrid SMTP cloud server but i have hard time and still failing. you might recommend SMTP server that you are using now in your elog site. Thank you so much.

Stefan Ritt wrote:

I believe there is a stunnel port for Windows, but that's more for the experienced users. I guess there is no simple solution.

Stefan

Dawang wrote:

Thanks Stefan,

I checked in my ELOG folder and can't find the stunnel.cfg. Is that only available in Linux? Can you please recommend a third party SMTP server for me use to successfully enable mail notif via Windows OS. Thanks much

Cheers,

 

Raymund

Stefan Ritt wrote:

Elog does not directly support TLS encryption. See here for a wrokaround: elog:68039

 

Dawang wrote:

Hi ELOG Community,

Please help me to configure my smtp server in Windows using gmail server

This is what in my config:

 

SMTP host = smtp.gmail.com

SMTP username = raymund.dawang@engagis.com (company email subscribing in gmail)
SMTP Password = xxxxxxx
 

And I was prompted by this error in elog: Error sending Email via <i>"smtp.gmail.com"</i>: 5.7.0 Must issue a STARTTLS command first. ir5sm11631778pbc.13 - gsmtp

 

Apprecite you help. Thanks.

 

 

 

 

  68211   Wed Dec 16 09:56:09 2015 Reply Andreas Luedekeandreas.luedeke@psi.chRequestWindowsLatestRe: Sample of actual elog Config with URL in SSL

You normally don't need to specify "URL = xxx" at all. It is only needed if you work with a Proxy that changes the normal ELOG URL. And yes, you'll need "Port = 433" and "SSL =1".

And elogd must be compiled with USE_SSL=1, maybe that's your problem?

In addition you should buy a valid SSL certificate. Otherwise every user needs to acknowledge an exception for your invalid SSL certificate.

Cheers, Andreas

Dawang wrote:

HI Guys,

Can you please give me an idea how will I write in the config. I want my elog will be accessed via internet. Though there's a tutorial / guideline, I need an actual config file for me to easily grasp how the URL = xxx should be write. Do my port should be Port = 433 and SSL=1?

Thanks,

 

Raymund

 

  68215   Tue Jan 12 11:50:22 2016 Reply Stefan Rittstefan.ritt@psi.chRequestLinuxV3.1.0-2411f95Re: Prefill attributes for new post

Put a "p" in front of the attribute, like "&pSubsystem=Vacuum". This is kind of an undocumented feature just for the experts ;-)

Johan Forsberg wrote:

Hi all,

I have a use case for ELOG where I need to be able to "prefill" some attributes in the "cmd=new" form, based on the URL.

To illustrate, imagine a link that takes the user directly to the form for creating a new post, with the "Subsystem" attribute already filled out to "Vacuum".

Is this possible already? I've tried naively using URL parameters (e.g. "&Subsystem=Vacuum") but that does not work. If it's not implemented, I think it would be a useful feature to have (and quite important for my particular use case). I could create a new post first using the "elog" tool, with the desired attributes set, but it makes more sense to defer the actual creation of the post to the user, i.e. he/she might change their mind before pressing "submit".

Thanks,

Johan Forsberg, MAX IV Laboratory, Sweden

 

  68216   Tue Jan 12 14:05:55 2016 Reply Johan Forsbergjohan.forsberg@maxlab.lu.seRequestLinuxV3.1.0-2411f95Re: Prefill attributes for new post

Wow, than you both for the quick response! I agree it's quite a hidden gem, but the most important thing is that it works, thanks!

Stefan Ritt wrote:

Put a "p" in front of the attribute, like "&pSubsystem=Vacuum". This is kind of an undocumented feature just for the experts ;-)

Johan Forsberg wrote:

Hi all,

I have a use case for ELOG where I need to be able to "prefill" some attributes in the "cmd=new" form, based on the URL.

To illustrate, imagine a link that takes the user directly to the form for creating a new post, with the "Subsystem" attribute already filled out to "Vacuum".

Is this possible already? I've tried naively using URL parameters (e.g. "&Subsystem=Vacuum") but that does not work. If it's not implemented, I think it would be a useful feature to have (and quite important for my particular use case). I could create a new post first using the "elog" tool, with the desired attributes set, but it makes more sense to defer the actual creation of the post to the user, i.e. he/she might change their mind before pressing "submit".

Thanks,

Johan Forsberg, MAX IV Laboratory, Sweden

 

 

  68218   Tue Jan 12 16:10:34 2016 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxELOG V3.1.0-241Re: Monitoring a logbook for changes

Use automatic email notifications or RSS feeds. Read the manual for that.

Stefan

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