Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 643 of 808  Not logged in ELOG logo
ID Date Icon Author Author Emaildown Category OS ELOG Version Subject
  69806   Thu Jul 18 11:38:01 2024 Question Aled Isaacc.a.isaac@swnsea.ac.ukQuestionWindowsELOG V3.1.4-a04Elog/ImageMagick under windows 11

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:

 

Version: ImageMagick 7.1.1-35 Q16-HDRI x64 d775d2a:20240714 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Channel-masks(64-bit) Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib
Compiler: Visual Studio 2022 (194033811)

 

which I believe is correct.  I've looked through the source-code for the elog and I believe that upon initialisation elogd is looking for a response containing "ImageMagick" somewhere in the response [image_magick_exist = (strstr(str, "ImageMagick") != NULL);] so I'm not sure I understand why this isn't being satisfied.  When I run elogd I get the statement "ImageMagick NOT detected. Image scaling will not work.".

I have the feeling that this is some security restriction in windows 11, so was wondering if anyone had seen this problem before and knew of a solution.

Many Thanks

 

  69809   Wed Jul 24 17:21:45 2024 Reply Aled Isaacc.a.isaac@swnsea.ac.ukInfoWindowsELOG V3.1.4-a04Re: Elog/ImageMagick under windows 11

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.

Aled Isaac wrote:

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:

 

Version: ImageMagick 7.1.1-35 Q16-HDRI x64 d775d2a:20240714 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Channel-masks(64-bit) Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib
Compiler: Visual Studio 2022 (194033811)

 

which I believe is correct.  I've looked through the source-code for the elog and I believe that upon initialisation elogd is looking for a response containing "ImageMagick" somewhere in the response [image_magick_exist = (strstr(str, "ImageMagick") != NULL);] so I'm not sure I understand why this isn't being satisfied.  When I run elogd I get the statement "ImageMagick NOT detected. Image scaling will not work.".

I have the feeling that this is some security restriction in windows 11, so was wondering if anyone had seen this problem before and knew of a solution.

Many Thanks

 

 

  66259   Mon Mar 23 19:30:09 2009 Question Brett Virenbv@bnl.govQuestionLinux2.7.5Storing Elog database files in version control (CVS/SVN/GIT)?
Hi,

Is it possible to store ELOG back-end database files in version control so as to synchronize multiple ELOG
instances?

Has anyone tried it? Any obvious show stoppers to such an approach?

Cheers,
-Brett.
  66260   Mon Mar 23 22:29:20 2009 Reply Brett Virenbv@bnl.govQuestionLinux | Windows2.7.5Re: Problems with SSL and Synchronization
> Synchronization with SSL does not yet work. I have to find some time to implement it. Since you are already the second one mentioning this, it slipped higher on my to-do list

Please make this 3. We (Daya Bay experiment) are just starting to set up Elog and will really want this feature!

Thanks.
-Brett.
  66261   Mon Mar 23 22:30:44 2009 Reply Brett Virenbv@bnl.govQuestionLinux2.7.5Re: Storing Elog database files in version control (CVS/SVN/GIT)?

Brett Viren wrote:
Hi,

Is it possible to store ELOG back-end database files in version control so as to synchronize multiple ELOG
instances?

Has anyone tried it? Any obvious show stoppers to such an approach?

Cheers,
-Brett.


I asked this before learning about mirroring which sounds like a good thing if we can make it work with SSL.
  66282   Thu Mar 26 21:34:24 2009 Reply Brett Virenbv@bnl.govQuestionLinux | Windows2.7.5Re: Problems with SSL and Synchronization

Brett Viren wrote:


Please make this 3. We (Daya Bay experiment) are just starting to set up Elog and will really want this feature!


I came up with a work-around for the lack of support for mirroring and SSL. You can put Elog behind an Apache proxy. Apache can serve through SSL for normal user access. The Elog server can "hosts allow" localhost and any mirrors and deny all others.

This still leaves the mirroring account subject to sniffing, which could be bad if mirrors are allowed to change content on the master, but it will greatly minimize the potential exposure of passwords. This could even be removed by only allowing localhost and mirroring over SSH tunnels.

-Brett.
  69238   Tue Oct 20 16:05:40 2020 Question Bruno Schulerbruno.schuler@empa.chQuestionWindows3.1.4-2Upload attachment with py_elog

Hello,

How can one add an attachment to a new or existing entry with py_elog?
E.g. if I want to upload an image.

Thanks for the help!

  67885   Wed May 6 17:35:14 2015 Question Bruce Bushbruce_bush@sil.orgBug reportLinux3.10.2Path disclosure on unfound file

Greetings,

  Running elog 3.1.0 on CentOS 6.6.  When I try to access a nonexistent file, elog reveals a path in the 404 page.  For example:

Not Found

The requested file /usr/local/elog/themes/default/blortblortblort7854.htm was not found on this server


ELOG version 3.1.0
 
  Is there any way to use a custom 404 page with elog, or to make it stop displaying the file information?
 
Thank you,
bb
 
 

 

ELOG V3.1.5-3fb85fa6