Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 775 of 806  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
ID Date Icon Authordown Author Email Category OS ELOG Version Subject
  69658   Mon Mar 13 16:16:09 2023 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionLinux3.1.3Re: ssl certificate

I do run elog under:

Usr = elog
Grp = elog

But that does not change the location of my certificates: they are in "/usr/local/elog/ssl".
My guess: you just copied the .pem file to the /ssl directory, but did not rename it to server.crt?
And of course you need to overwrite server.key as well.

Kind Regards
Andreas

Giuseppe Cucinotta wrote:

Hi I'm here again,

According to my conf file I run elog under a specified user and group different from root. So I copied the .pem file I obtained from certbot in /etc/ssl as well as /urs/local/elog/ssl and ssl folder in the user directory (I will call it <user-dir>) but when I launch elog I receive the error that cannot initialize SSL because the old self signed certificate server.crt in <user-dir>/ssl is not found.

I wonder where in elog.cfg or elsewhere is written that <user-dir>/ssl/server.crt must be usedand how to fix it

Thanks

Giuseppe Cucinotta wrote:

Hi Laurent,

thanks very much! Probably I've copied the certificate in the wrong directory. I'll try ASAP

Laurent Jean-Rigaud wrote:

Hi Giuseppe,

The new certificate files should be copy under ssl folder (/usr/local/elog/ssl or /usr/share/elog/ssl by example, closed to templates and script directories) in place of the embedded (autosigned) certificate files enclosed with ELOG source.

It seems that there is no parameter to set a custom path.

SSL = <0 | 1>
Turn on Secure Socket Layer transport. If SSL is on, one can connect via https://... to the elogd daemon. If the URL = directive is used, make sure to use https://... instead of http://... there. The ELOG distribution contains a simple self-signed certificate in the ssl subdirectory. One can replace this certificate and key with a real ceritficate to avoid browser pop-up windows warning about the self-signed certificate. The default for this option is 0.

 

 

Giuseppe Cucinotta wrote:

We obtained a certificate from let's encrypt in order to replace the self signed certificate provided with elog. We copied the new certificates replacing the older server.crt

The problem is that when restarted elog raises an error related to the fact it is looking for server.crt and it doesn't find it anymore.

I searched in elog config file in order to find a way to indicate the new certificate but I didn't find how to manage this issue.

Any suggestion?

 

 

 

 

  69674   Sat Jun 17 22:13:01 2023 Idea Andreas Luedekeandreas.luedeke@psi.chQuestionAll3.1.3Re: Nested commands in logbook

Atrributes can only be defined once in a logbook.
But you can select which attributes are shown with the commands:

  • Show Attributes = <list>
    Attributes present in this list are shown in the single entry page. Omitting attributes can make sense for attributes which are automatically derived from other attributes via the Change <attribute> command.
  • Show Attributes Edit = <list>
    The same as Show Attributes, but for the entry form.

Those can be redifined in conditional attribute clauses.

(See https://elog.psi.ch/elog/config.html)

Leonardo Tacconi wrote:

Hi everybody,

I am trying to setup my personal ELog, defining attributes and stuff like that. I just tried to make some nested commands but I really could not achieve that. 

The idea is something like this:

Attributes = Author

Options Author = Tizio{1}, Caio{2}, Sempronio{3}

{1} Attributes = Author, Project

{1} Options Project = Proj1{a}, Proj2{b}, Proj3{c}

{a} Attributes = Author, Project, Year

{a} Options Year = 2017, 2019

Anyway, when I select Proj1 nothing really happens. So, is there any way to set up nested commands like in the reported example?

Many thanks in advance!

P.S. Is there any documentation in which are reported all the possible commands that can be used?   

 

  68778   Wed Apr 4 19:56:48 2018 Question Andrea Mazzolariandrea.mazzolari@gmail.comQuestionLinux3.1.3problem with chkeditor

Hi All,
I just installed elog latest version. I can see that my chkeditor (HTML encoding) is pretty simplified with respect to the version i can see there. Why this ? For example, it does not offer the possibility to upload images.

Could you please help me ?


Thank you
Andrea

  68784   Sat Apr 14 15:11:31 2018 Reply Andrea Mazzolariandrea.mazzolari@gmail.comQuestionLinux3.1.3Re: problem with chkeditor

If i try to upload an image here, i got the error "Image Source URL Is Missing"...

can you help me further ?
Best regards,
Andrea

Stefan Ritt wrote:

Can you post a picture here?

Andrea Mazzolari wrote:

Hi All,
I just installed elog latest version. I can see that my chkeditor (HTML encoding) is pretty simplified with respect to the version i can see there. Why this ? For example, it does not offer the possibility to upload images.

Could you please help me ?


Thank you
Andrea

 

 

  69535   Sun Jun 26 01:47:02 2022 Question Andrea Capraacapra@triumf.caQuestionLinux3.1.4-bcd7b50Edit entry from command line and appending attachment

I would like to edit an existing entry by adding new attachments at each call of elog from the command line.

If I issue

elog -h localhost -p 8XXX -l test -f /path/to/file_0.pdf -e N -x

and then 

elog -h localhost -p 8XXX -l test -f /path/to/file_1.pdf -e N -x

file_1.pdf replaces file_0.pdf, while I'd like entry N to have both pdfs.

Is there a workaround?

 

 

  66248   Thu Mar 12 08:03:07 2009 Warning Andraž 'ruskie' Levstikruskie-elog@codemages.netOtherLinux2.7.5-4Odd behaviour with gecko based browsers and reverse proxy.
I have a really odd issue with elog...

My setup:

elogd.cfg:
[global]
port = 2109
SMTP host = localhost
Resource dir = /usr/share/elog
Logbook dir = /srv/www/elog
charset = UTF-8
Main Tab = main
URL = https://elog.codemages.net
Relative redirection = 1
Usr = www
Grp = www
Resolve host names = 0
Self register = 0 
Admin user = ruskie
SSL = 0
Login expiration = 20

[links]
Subdir = links
Theme = default
Comment = Link spam
Attributes = Author, Category, Link, Comment
Options Category = General, Law, IT, Odds, Linux
Required Attributes = Link, Comment
Page Title = ELOG - Link spam
Reverse sort = 1
Quick filter = Date, Category
Time format = %Y-%m-%dT%H:%M
Date format = %Y-%m-%d
Password file = links.pwd
Admin user = ruskie
RSS Title = $logbook $entry time :$Author :$Link :$Comment

[notes]
Subdir = notes
Theme = default
Comment = Various notes
Attributes = Category, Comment
Options Category = General, Law, IT, Odds, Linux
Required Attributes = Comment
Page Title = ELOG - Various notes
Reverse sort = 1
Quick filter = Date, Category
Time format = %Y-%m-%dT%H:%M
Date format = %Y-%m-%d
Password file = notes.pwd
Admin user = ruskie
RSS Title = $logbook $entry time :$Comment


lighttpd.conf:
$HTTP["host"] =~ "elog.*" {
  proxy.server = ( "" =>
                   ( "10.0.0.10" =>
                     (
                       "host" => "10.0.0.10",
                       "port" => 2109
                     )
                   )
                 )

}

If I access elog directly on 2109 I get no issues but when I use this configuration it takes minutes to access
any elog page at all. But the odd thing is this only happens when I'm using a gecko based browser(firefox,
xulrunner based etc...) if I use webkit-gtk or elinks all the pages load up with no noticable delay.

I have tried this on different computers, different configurations and so on... And always the same behaviour
when it comes to a gecko based browser. Elinks and webkit-gtk load up fine.

Marking this as Other so far. If anyone knows anything about running elog and lighttpd togheter please speak up.
  904   Mon Feb 7 09:58:25 2005 Question Anand Senguptaanandss@iucaa.ernet.inQuestionLinux repository of elog configuration files

Hi 

Is there a repository of elog configuration files for newbies to lookup and
learn ? I have seen the 'contributions' elog - useful as it is ... it is not
much. I would appreciate if someone can point out such a site where people
have contributed their elog configuration files.

Thanks,
AnandO.
  929   Fri Feb 11 15:44:38 2005 Question Anand Senguptaanandss@iucaa.ernet.inQuestionLinux Help with configuration newbie
Hi,

We have set up a elog server at our institute. The configuration file is
attached. We have the following queries:

1. When replying to another reply in a thread, the author_name attribute is
not substitued (as desired). Since this is a mandatory field, we are not
able to send the reply message. However, reply to the originial message
works fine.

2. "Use Email From = string" prepends an additional "" to the "From"
field in the e-mails.

3. "Fixed Attributes Reply = Subject" fixes the subject line while replying.
However when we add "Category" attribute to this list, it breaks.

Can someone help us?

Suggestions and tips will be thankfully recieved.
Attachment 1: elog_config.txt
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;  CMB ELOG CONFIGURATION  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

password file = cmb.pwd
Admin User = sarah, sengupta
Self register = 3
Menu commands = New, Edit, Reply, Find, Config, Admin, Change password, Download, Logout, Help
Find Menu commands = New, Edit, Reply, Find, Config, Admin, Change password, Logout, Help
Theme = default
Comment = Extended Hierarchical Search Pipeline Development

; -- A few flags
Page Title = ELOG - $subject
Reverse sort = 1
Quick filter = Date, Type
LogFile = /usr/local/epd.log
Filtered browsing = 0
Summary lines = 0
Resubmit default = 2
Restrict edit = 1

; -- Default mode for search display. On the find entry form, the checkboxes are set accordingly.
Display mode = threaded

; -- Number of logbook entries displayed per page in a search result. The default is 20.
Entries per page = 25

; -- Define a number of attributes for the logbook, separated by commata. Typical values are "Author", 
; -- "Subject" or  "Type".
Attributes = Author, Category, Subject
ROptions Category = General, Reference, Methods, Results, Query
Required Attributes = Author, Subject, Category

; -- preset author and email attributes
Preset Author = $long_name
Preset Author Email = $user_email

; -- add last revision on each edit
Subst on Edit Last Revision = $date by $long_name

; -- these attributes cannot be changed ever
Locked Attributes = Author, Last Revision

; -- We don't want a default email message to go to all the users
Suppress email to users = 0
Display Email recipients = 0
Use Email Subject = [ELOG] $subject
Use Email From = "$long_name <$user_email>"

; -- Options for edit (Author and email is already preset so we dont need to substitute those attributes)
Subst on edit subject  = $subject (revised)
Subst on edit category = $category

; -- The attributes specified here cannot be modified during Editing
Fixed Attributes Edit = Author, Author Email, Subject

; -- Options for reply (Anyone can reply so we must remove Author and email attributes from reply and substitute the 
; -- current logged in person's name and email id) 
Subst on reply subject = Re: $subject
Subst on reply category = $category
Subst on reply Author  = $long_name
Subst on reply Email = $user_email
Remove on reply = Author, Author Email

; -- The attributes specified here cannot be modified when an existing entry is modified via the Reply button
Fixed Attributes Reply = Subject

ELOG V3.1.5-3fb85fa6