Re: "New User" option does not work when Authentication=Webserver, posted by Stefan Ritt on Thu Feb 10 17:32:42 2022
|
Thanks for your patch, I committed it.
Stefan |
Unable to add user, posted by Uwe Vollbracht on Sat Aug 6 18:38:50 2022
|
Hi,
we're using elog to handle various logbooks. It's a great tool by the way.
While replacing the Win32 2.7.8 Release with Release 3.1.4-2, we ran into the
following problem.
Since elog is for internal usage only, we allow users to self-register if they
are new. Therefore "Self register = 1" is set in the [global]-area.
Using the Win32-Release of elog, it worked fine while using Release 2.7.8 or
2.8.0. Starting with Release 3.x everytime you try do add a user, the following
error occurs:
Error: Command "config" is not allowed for user ""
No matter if the user self-registers or is added by an elog-admin-user. We
tried various 3.x Releases from 3.1.0-1 up to the latest 3.1.4-2.
The error-message remains the same. Curious, although an error-message occurs,
the user is added and able to use all logbooks. We also ran elogd in
Debug-Mode (-v3), but the output didn't give a clue.
By the way using the same configuration on a linux-based installation (Debian
and RaspiOS) self-registration works smooth. No error-message occurs.
So what could be the problem? Any suggestion is greatly appreciated.
Thanks in advance. |
Re: Unable to add user, posted by Stefan Ritt on Mon Aug 8 08:26:11 2022
|
I recommend to clear all your browser cookies for the elog server. Sometimes an old cookie confuses the
access mechanism.
Stefan |
Re: Unable to add user, posted by Uwe Vollbracht on Mon Aug 8 14:06:28 2022
|
Thanks for answering. Just tried your suggestion with different browsers
(firefox, chrome, brave) but the error message still appears when adding a
new user.
By the way, i justed noticed that if you click "back" followed by "cancel" you
enter the logbook as the user you just added. It seems that although elogd
throws an error, the user is added. Weird.
Since most of our users don't trust open source software, the error message
will only confuse them. So, is there any way to avoid this message from
appearing?
Perhaps a few words about our use case:
We are a german non profit organisation in disaster control. Since 2007 we use
elog as mobile mission journal in our unit. We adapted elog to run from
usb-stick, so all our first-responders have to do is to plug it into a laptop
and they are ready to go.
We also hand the adapted installation to other organisations like local fire
department or red cross units and offer them a short (2 hour) course on how to
use it. Since the windows-release is the most requested, it would be confusing
for them if an error message appears every time a new user is added.
So if you have any further ideas, I would appreciate that.
Uwe |
Re: Unable to add user, posted by Konstantin Olchanski on Mon Aug 8 20:52:17 2022
|
> Error: Command "config" is not allowed for user ""
Could it be related to the error messages thrown by "activate user"? see
https://elog.psi.ch/elogs/Forum/69479
K.O. |
elogd hangs on self referencing log entry, posted by Kester Habermann on Mon Feb 25 17:03:50 2019
|
Hello,
Somehow when replying to a log entry, a log entry was created that was referring to itself. How this happened, I have no idea. The effect was that each time this enty was loaded, the elogd started to hang, going to 100% load and not responding to any http requests anymore. This problem can be reproduced by manually creating such a self-referencing log entry (see attachment). The problem entry that leads to the crash can be made by editing any elog entry and adding a line "Reply to: X" and a line "In reply to: X" where X is the MID of this entry.
1) Maybe it is possible to add a check when writing files that ensure, that is a log entry does not reference itself.
2) Maybe when loading files are preparing the thread view, elogd can detect cycles and abort.
|
auto pre-fill fields issue, posted by Gys Wuyts on Fri Apr 9 16:48:54 2021
|
Hello,
what are the pre-requisites to automatically fill the Author and Author Email fields. The documented method:
Subst Author = $long_name from $remote_host
Subst Email = $user_email
in the elogd.cfg file does not seem to work.
(I see it works here on this platform)
Tnks
G |
Re: auto pre-fill fields issue, posted by Stefan Ritt on Fri Apr 9 17:54:42 2021
|
You need user-level access control, using
Password file = ...
Stefan
Gys Wuyts wrote: |
Hello,
what are the pre-requisites to automatically fill the Author and Author Email fields. The documented method:
Subst Author = $long_name from $remote_host
Subst Email = $user_email
in the elogd.cfg file does not seem to work.
(I see it works here on this platform)
Tnks
G
|
|