Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 2 of 236  Not logged in ELOG logo
icon5.gif   Elog on FreeBSD, posted by Truupe on Mon Aug 5 20:45:15 2024 
Anyone using elog on FreeBSD nowadays?  I know it used to be in the ports tree about 10 years ago but seems to be abandoned.  Tried to compile
from source on 14.1, but no luck there.
    icon2.gif   Re: Elog on FreeBSD, posted by Truupe on Mon Aug 5 21:15:08 2024 
Welp, nevermind, I dug a little more and managed to compile it on 14.1 using cmake.




Truupe
wrote:



Anyone using elog on FreeBSD nowadays?  I know it used to be in the
icon4.gif   Invalid Content-Length in header when running behind a load balancer, posted by Tamas Gal on Wed Jan 25 14:36:33 2023 Screenshot_2023-01-25_at_14.46.05.png
I am still struggling to get ELOG running behind a load balancer and hope to get some advice here. As already reported in https://elog.psi.ch/elogs/Forum/69542 I
observed an infinite loop of redirects when prompted to log in and using a non-empty password file. Without a password, the service worked as
expected. This was with version 3.1.3.
    icon2.gif   Re: Invalid Content-Length in header when running behind a load balancer, posted by Tamas Gal on Wed Jan 25 19:51:29 2023 
I put the ELOG service behind an Apache reverse proxy which is now sitting behind the HAProxy. It works like this, but it's just a workaround. I
am pretty sure that ELOG has problems to communicate with HAProxy correctly and it seems that Apache is more forgiving. So that the chain HAProxy ->
Apache -> ELOG and vice versa is working.
       icon2.gif   Re: Invalid Content-Length in header when running behind a load balancer, posted by André on Mon Jul 22 16:30:04 2024 
I have the same problem. I found a temporary solution: https://elog.psi.ch/elogs/Forum/69807




Tamas
Gal wrote:



I put the ELOG service behind an Apache reverse proxy which is now sitting
          icon2.gif   Re: Invalid Content-Length in header when running behind a load balancer, posted by Stefan Ritt on Wed Jul 31 14:22:52 2024 
I changed elog to interprete the content-length header case in-sensitive and committed the change. Can you try again?

Stefan




André
icon1.gif   HTTP headers should be parsed case insensitive, posted by André on Mon Jul 22 16:17:55 2024 
I'm trying to run elog behind haproxy, but get the error "Invalid Content-Length in header" on posting.

As stated in the manual,
haproxy rewrites all headers to lower case.
    icon2.gif   Re: HTTP headers should be parsed case insensitive, posted by Stefan Ritt on Wed Jul 31 14:21:21 2024 
I changed elog to interprete the content-length header case in-sensitive and committed the change. Can you try again?

Stefan




André
icon5.gif   Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 12:53:23 2024 Screenshot_from_2024-07-26_11-46-44.pngScreenshot_from_2024-07-26_11-47-58.png
Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition
    icon2.gif   Re: Old attachments erroneously appearing on new Elog entries., posted by Stefan Ritt on Fri Jul 26 13:01:54 2024 
This bug has been fixed in meantime, please upgrade to the current version.
       icon2.gif   Re: Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 13:14:38 2024 
Thanks very much for the quick response Stefan. My apologies, I thought I was on the latest version or I would have upgraded before contacting you.
The file I installed from was the rpm "elog-3.1.5-20240226.el9.x86_64.rpm" which still seems to be the latest version on the Dropbox downloads
page.
          icon2.gif   Re: Old attachments erroneously appearing on new Elog entries., posted by Stefan Ritt on Fri Jul 26 14:09:19 2024 
I updated the EL9 rpms, so please try again.
             icon2.gif   Re: Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 14:33:50 2024 
Great, thank you again. I have now installed the latest and the problem appears to be gone.




Stefan
Ritt wrote:



I updated the EL9 rpms, so please try again.
icon1.gif   Old attachments erroneously appearing on new Elog entries., posted by Carl Unsworth on Fri Jul 26 12:52:54 2024 Screenshot_from_2024-07-26_11-46-44.pngScreenshot_from_2024-07-26_11-47-58.png
Hi, I'm not sure if this is an Elog bug, something wrong in my configuration/database.

When I create a new article on Elog it always shows an attachment from one of the first entries ever made to this log book made. This is in addition
icon5.gif   Elog/ImageMagick under windows 11, posted by Aled Isaac on Thu Jul 18 11:38:01 2024 
I was wondering if anyone would be able to assist me in getting the ImageMagick/figure scaling working on an elog running under windows 11 (Microsoft
Windows Version 22H2 (OS Build 22621.3880)).   I've followed the installation instructions and checked that $PATH contains the directory
for both ImageMagick and GSS.  In a 'command prompt' window, when I execute "identify -version" from any directory I get the response:
    icon2.gif   Re: Elog/ImageMagick under windows 11, posted by Aled Isaac on Wed Jul 24 17:21:45 2024 
I've managed to get it working and the problem wasn't what I thought it was.  It turns out that ImageMagick v7 doesn't have a "convert.exe"
program in the windows version due to some conflict with a disk conversion utility.  The "convert.exe" has been replaced with a "magick.exe"
and so I made a CONVERT.BAT script within the elog folder with content "magick %*".  This workaround appears to have solved the problem.
icon5.gif   broken http response when deployed on OpenShift, posted by Enrico Gamberini on Wed Jul 10 17:43:07 2024 
Hello!

We're setting up ELOG on OpenShift. ELOG is installed on a Alma Linux 9 image. The container and the elog demo works fine executing the docker
image locally.
    icon2.gif   Re: broken http response when deployed on OpenShift, posted by Enrico Gamberini on Thu Jul 11 15:25:19 2024 
Sorry for posting again but something else came up.

Actually, building from source (elog-3.1.5-1.tar.gz) works just fine on OpenShift
too.
       icon2.gif   Re: broken http response when deployed on OpenShift, posted by Laurent Jean-Rigaud on Thu Jul 11 19:15:39 2024 
Hey Enrico,

Do you activate also all options with your build ? (pam/ldap/kb5/ssl)

Can you compare ldd command results on elogd binaries builded by yourself and the one from RPM ?
          icon2.gif   Re: broken http response when deployed on OpenShift, posted by Enrico Gamberini on Mon Jul 15 09:45:56 2024 
Hi Laurent,

Thanks, good point! I'm building a vanilla version (no extra options enabled as I'm using Webserver authentication).

3.15 RPM:
             icon2.gif   Re: broken http response when deployed on OpenShift, posted by Laurent Jean-Rigaud on Tue Jul 16 00:15:12 2024 
Enrico,

When using RPM in OpenShift, I guess all the RPM dependencies are correctly installed.

FYI, I met a problem with elogd docker built with alpine Linux image and running on Synology NAS (x86_64). The ImageMagick dependencies libs
                icon2.gif   Re: broken http response when deployed on OpenShift, posted by Laurent Jean-Rigaud on Tue Jul 16 00:45:08 2024 
Also, you have the option to rebuild RPM from SRPMS or SOURCES via ELOG buildrpm script.

You will need to install rpmbuild tools...

Options (ldap, kb5, etc) can be set from options or by editing defaults.
icon5.gif   Elog in HTML Title, posted by Michael on Mon Jul 15 14:24:43 2024 
Hi,

is it possible to change the name ELOG from all HTML titles.

E.g. find/search. If you click on find/search the browser/html tag/title is 'ELOG search'. Is it possible to change this to 'xxx
    icon2.gif   Re: Elog in HTML Title, posted by Stefan Ritt on Mon Jul 15 14:35:40 2024 
You can change the title for the standard page with 'Page title = ...' and for the list page with 'List Page title = ...', but unfortunately
not for all pages (such as the search mask).

Stefan
ELOG V3.1.5-3fb85fa6