Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 32 of 237  Not logged in ELOG logo
New entries since:Thu Jan 1 01:00:00 1970
icon4.gif   Trouble on Catalina, posted by John S. Haggerty on Fri Nov 22 02:55:50 2019 
I decided to rebuild elog 3.1.4 in Catalina (MacOS 10.15.1), XCode 11.2.1.  As in previous builds, I needed to add to the Makefile pointers to openssl:

CFLAGS += -I/usr/local/opt/openssl/include

LIBS += -L/usr/local/opt/openssl/lib
    icon2.gif   Re: Trouble on Catalina, posted by Stefan Ritt on Mon Nov 25 16:25:21 2019 
The Makefile is kind of obsolete, I switched to CMake. So the Makefiel is mostly there as backup. To compile elog, do

elog$ mkdir build; cd build
elog/build$ cmake ..
icon3.gif   Example scripts how to migrate or combine logbooks, posted by Roger Kalt on Mon Nov 18 16:58:21 2019 run_modif.shgenerate_import_llrf_fwd.sh
Attached the shell scripts using awk and sed how I have migrated two separated logbooks into one single and how I re-adjusted certain attributes.
icon3.gif   Subdirectories in logbooks, posted by pavel on Sat Nov 9 22:44:23 2019 
Hello, Is there any way to organize logbooks in some kind of tree with sublogbooks or just have a subdirectories in a logbook directory on the filesystem
(treat it as a sublogbook if its name is different from 4 digits of year and pin above all the entries in a list) to structure entires a bit?

 
    icon2.gif   Re: Subdirectories in logbooks, posted by Stefan Ritt on Mon Nov 11 13:09:35 2019 
Just use groups as written in the manual: https://elog.psi.ch/elog/config.html#groups

Stefan




pavel
icon5.gif   Hide logbook tab when not authorized, posted by Stefano Bonaldo on Tue Aug 22 18:29:02 2017 
Hello, I read carefully the manual, but I didn't find a way to hide the logbooks in the logbook bar and in the initial logbook selection for
which the user does not have the access. So, if a user1 does not have the access to a specific logbook, user1 is not able to see that logbook in the
bar and neither in the initial logbook selection. How can I do this without using the top groups?
    icon2.gif   Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Wed Aug 23 11:36:22 2017 
Hi Stefano,

I think your assessment is correct: it is not possible to hide a logbook based on your read/write privileges.

And I'm not
even sure that this would make much sense: at least you need to be able to get to the login page of the logbook.

But if you don't have
       icon2.gif   Re: Hide logbook tab when not authorized, posted by Stefano Bonaldo on Wed Aug 23 20:09:39 2017 
Hi Andreas,

many thanks for your answer. I partially agree with you, because sometimes "for privacy" of my working group I don't want that
other users (external users) know the existance of the other logbooks.
          icon2.gif   Re: Hide logbook tab when not authorized, posted by Andreas Luedeke on Thu Aug 24 11:08:43 2017 
Well, Stefan would need to answer that. But if you are good with C-programming, you might implement it yourself?

There is a way to implement it; but it makes your installation a lot more complicated: you can have two ELOG servers. The first has all logbooks
but requires authentification to read any. The second has only the public logbooks, and they are mirrored from the first.
             icon2.gif   Re: Hide logbook tab when not authorized, posted by Stefan Ritt on Thu Aug 24 11:46:30 2017 
Hi Stefano,

that's what top groups were made for. So make a top group for yourself, and nobody will be able to see them without having the proper URL.
Hiding logbooks from the logbook selection page is not possible since when people bring up that page, they are not yet logged in, so elog does not know
                icon2.gif   Re: Hide logbook tab when not authorized, posted by marijn lucas on Thu Oct 24 16:38:27 2019 
*** edit ***

I solved my problem by removing the guest options from the logbooks ('Guest menu commands' and 'Guest List Menu commands'), this
forbids any unauthorised user to see the content of the concerned logbooks. This is what I needed.
icon5.gif   Edit of multiple posts, posted by Finn Junker on Fri Oct 11 14:16:58 2019 Udklip1.JPGUdklip_2.JPG
Hello Elog Forum

There is i ELOG the function to edit multiple posts eg. to change the staus from "ongoing" to "finished" -> in danish
translation "igangværende" and "afsluttet", see the attached pictures.
    icon2.gif   Re: Edit of multiple posts, posted by Andreas Luedeke on Tue Oct 15 10:37:29 2019 
I use editing of multiple entries frequently and it works fine for me.

To understand your problem I would suggest that you try a minimal configuration. If you have a test logbook with just one or two fields and it
still does not work, then post the config here that people can reproduce your problem - and hopefully find a fix.
       icon2.gif   Re: Edit of multiple posts, posted by Finn Junker on Thu Oct 17 14:57:25 2019 
Hello Andreas

OK, I did install a version of ELOG with a minimum of settings and the edit of multiple settings works fine. I've tracked the issue to "Locked
Attributes = Bruger".
          icon2.gif   Re: Edit of multiple posts, posted by Andreas Luedeke on Fri Oct 18 08:50:27 2019 
Hi Finn,

I don't know if this was intended, but at least I know a possible solution: with the command

"Show
Attributes Edit = "

you can limit the attribute list shown in the edit form to those that are not
             icon2.gif   Re: Edit of multiple posts, posted by Finn Junker on Fri Oct 18 09:40:54 2019 elog.txt
Hello Andreas

Show Attributes Edit = xxx, limits the attributes shown when editing but when you submit you get the error

Error: Attribute Bruger not supplied.
                icon2.gif   Re: Edit of multiple posts, posted by Andreas Luedeke on Fri Oct 18 23:22:50 2019 
I'm sorry, apparently my tip was not clear: you should use "Show Attributes Edit = " to NOT SHOW any of your locked attributes.

It
is just a guess: if the attribute is not shown in your edit form, it will not complain about it when you submit the form.

Did you try that?

Cheers,
Andreas

 




Finn
                   icon2.gif   Re: Edit of multiple posts, posted by Finn Junker on Mon Oct 21 10:46:43 2019 
Hello Andres

Or maybe my reply was unclear :-), but i did use the "Show Attributes Edit" the way you meant to not show attribute BRUGER
and when i do that i get:
                      icon2.gif   Re: Edit of multiple posts, posted by Finn Junker on Tue Oct 22 12:47:06 2019 
Trial and error - it seems like this combination does the trick:

Locked Attributes = Author

Fixed Attributes Edit = Author
icon5.gif   How to get Elog server to produce web server log files in Linux., posted by John on Wed Oct 16 09:45:41 2019 
Hi, I have been trying for a long time to get my web server logs to record when someone accesses my Elog server. I've tried Apache2, Lighttpd, and
others, all with no luck. Either the web servers complain that the port I have Elog on is in use, or I just don't get any readings. I need to see who
is accessing my  Elog from the web, and I hope there is a way.
    icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by Stefan Ritt on Wed Oct 16 09:48:56 2019 
Have you tried

Logfile = ...
Logging level = 3
       icon14.gif   Re: How to get Elog server to produce web server log files in Linux., posted by John on Wed Oct 16 10:19:42 2019 
Thanx soo much Stefan.. I feel so stupid for not looking at the admin guide more :( But you how us nerds are-- read the manul last!

John :)




Stefan
       icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by John on Thu Oct 17 21:29:25 2019 
Hi again everyone; a Sebastian suggested I use a reverse proxy to complete my need to have logs show up when someone 'lands' on my first entry
page. I see that Elog will only start recording logs when someone has actually started to do some work.. like login, read a post, etc... but NOT when they
first enter the login page or 'listings' pages. I have tried fowarding from my router (both lighty and Apache) but so for no good. I will also
          icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by Sebastian Schenk on Mon Oct 21 13:41:08 2019 
Hi,
that Sebastian would be me. I replied to the first entry, as it was a draft (site reloaded incorretly...) and now I can't see the post anywhere.
But this is off topic.
             icon2.gif   Re: How to get Elog server to produce web server log files in Linux., posted by John on Mon Oct 21 19:31:17 2019 
Thank you soo much Sebastian once again for helping me!! This is something that will help me very much in the future with other situations similiar!

John :)




Sebastian
icon6.gif   elog hanged when uploading photo failed, posted by Xuan Wu on Wed Feb 27 02:34:46 2019 log.png
Hi all,

  We came across a problem recently when clicking "Upload" button, then elog hanged and never being accessed. I have checked the
elog logs and find that it seems that elog didn't get the path of the picture for some reason. So is it a bug or our operation isn't correct?
    icon2.gif   Re: elog hanged when uploading photo failed, posted by Stefan Ritt on Tue Mar 5 20:48:51 2019 
The problem is you have some weird characters in your file name R2BLM15 ? ? ? ? ? .PNG which confuses the interpreter. There should not be any special
character or blanks in attached images.

Stefan
       icon2.gif   Re: elog hanged when uploading photo failed, posted by Xuan Wu on Wed Mar 6 05:10:28 2019 
That make sense. Is there a way to recovery when hung except restart elogd? On the other hand, whether could  prompt for reloading attachment
when interpreter detect error but not hang?

Wu Xuan
       icon3.gif   Re: elog hanged when uploading photo failed, posted by Xuan Wu on Wed Oct 16 13:20:31 2019 error.png
Hi all,

I've found a bug in elog. It's all right that uploading an image which file name with special characters. I think it must have
something to do with the code like"url_encode(file_enc, sizeof(file_enc));  /* for file names with special characters like "+" */".
icon5.gif   ELOG Stop working with kerberos configuration , posted by Moustafa Messed on Wed Oct 16 11:06:34 2019 
Dear All 

i have this problem since i tried  to install ELOG latest version while make Authetnetication Kerberos ELOG stop runing any idea or
help please
ELOG V3.1.5-3fb85fa6