Multiple Insances of eLog on the same machine, posted by Behdad D on Fri Jan 7 05:45:41 2011
|
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad. |
Re: Multiple Insances of eLog on the same machine, posted by Stefan Ritt on Fri Jan 7 08:37:49 2011
|
Behdad D wrote: |
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad.
|
Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations. |
Re: Multiple Insances of eLog on the same machine, posted by Behdad D on Sun Jan 9 07:04:00 2011
|
Stefan Ritt wrote: |
Behdad D wrote: |
Hello,
Is it possible to run multiple instance of elog on the same windows box where each instance listens on a different port?
Thanks.
Behdad.
|
Sure. Just start with one subdirectory for each instance with a separate elogd.cfg file, where you specify a different port. Note however that there is also the concept of "top groups" (see documentation) which lets a single instance of elog look like several independent installations.
|
Great. Thanks Stefan.
I also am already using the top groups. This is just to totally separate my work and home elog.....I have to admit I am really an elog addict. 
This elog and the idea behind it is absolutely brilliant. Very useful, easy to maintain, migrate, configure, easy to use, versatile, etc... Good on you all.
Cheers,
Behdad. |
how to retrieve attachment on execute new, posted by Zbigniew Reszela on Tue Dec 14 10:37:41 2010
|
Hello all,
I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?
Thank you in advance.
|
Re: how to retrieve attachment on execute new, posted by Zbigniew Reszela on Tue Dec 14 18:43:38 2010
|
Zbigniew Reszela wrote: |
Hello all,
I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?
Thank you in advance.
|
Hello again,
I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.
Thanks a lot. |
Re: how to retrieve attachment on execute new, posted by Stefan Ritt on Wed Dec 15 08:49:30 2010
|
Zbigniew Reszela wrote: |
Zbigniew Reszela wrote: |
Hello all,
I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?
Thank you in advance.
|
Hello again,
I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.
Thanks a lot.
|
Yes, indeed there was a typo in the documentation, $attachments is the correct one. I changed that in the syntax page. |
Re: how to retrieve attachment on execute new, posted by Zbigniew Reszela on Thu Dec 16 19:20:20 2010
|
Stefan Ritt wrote: |
Zbigniew Reszela wrote: |
Zbigniew Reszela wrote: |
Hello all,
I have a problem with retrieving attachments of an entry on "Execute new" command. In the syntax of elodg.cfg it is: In addition the list of all attachments can be referred to via $<attachment>. Could anyone explain it a little bit more explicit, or attach an example?
Thank you in advance.
|
Hello again,
I have managed with problem by using $attachments. This provides me a list o paths to attachments. If it's the correct way to use it please change elogd.cfg syntax page.
Thanks a lot.
|
Yes, indeed there was a typo in the documentation, $attachments is the correct one. I changed that in the syntax page.
|
Hello Stefan,
first of all thanks for quick response.
However I encountered another problem, but to explain it well I need to tell you more what actually I want to do with these substitutions.
So I would like to have a python script which on add new entry will create a new entry in another logbook with the same data (Only for certain attributes' values). That's why I need attachments.
These substitutions will be used as command line arguments of the script.
Since I started using $attachments, all the substitutions used before it, are passed twice? Without using $attachments substitution, it works fine - they are passed only once.
Furthermore I tested it without script, just passing them to a text file, and it seems that it really doesn't work well. Could you check that?
-------------------
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' > /tmp/zzz_elog.log WORKS GOOD
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' $attachments> /tmp/zzz_elog.log DOESN'T WORK GOOD
------------------
Thank you a lot in advance.
|
Re: how to retrieve attachment on execute new, posted by Stefan Ritt on Thu Dec 23 10:42:05 2010
|
Zbigniew Reszela wrote: |
Hello Stefan,
first of all thanks for quick response.
However I encountered another problem, but to explain it well I need to tell you more what actually I want to do with these substitutions.
So I would like to have a python script which on add new entry will create a new entry in another logbook with the same data (Only for certain attributes' values). That's why I need attachments.
These substitutions will be used as command line arguments of the script.
Since I started using $attachments, all the substitutions used before it, are passed twice? Without using $attachments substitution, it works fine - they are passed only once.
Furthermore I tested it without script, just passing them to a text file, and it seems that it really doesn't work well. Could you check that?
-------------------
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' > /tmp/zzz_elog.log WORKS GOOD
Execute new = echo $message id '$long_name' '$System' '$Equipment' '$Subject' '$text' $attachments> /tmp/zzz_elog.log DOESN'T WORK GOOD
------------------
Thank you a lot in advance.
|
Thanks for reporting this bug. I fixed this in SVN revision 2348. |
elog as a service in windows not detect Imagemagick, posted by Diego Obradors Campos on Mon Dec 13 20:59:07 2010
|
I have installed elog 2.8 in a windows pc with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts.
It is done as:
"C:\Archivos de programa\ELOG\elogd.exe" -D -c "C:\Archivos de programa\ELOG\elogd.cfg"
Moreover Imagemagick and GhostScript are in the path:
Version: ImageMagick 6.6.4-6 2010-09-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
However the indexing loogbooks are only working fine when elog is started interactively. Is there any posiblity to start elog as a service and use thumbnails for quick preview?
Thank you in advance!
|
Re: elog as a service in windows not detect Imagemagick, posted by Stefan Ritt on Wed Dec 15 16:42:32 2010
|
Diego Obradors Campos wrote: |
I have installed elog 2.8 in a windows pc with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts.
It is done as:
"C:\Archivos de programa\ELOG\elogd.exe" -D -c "C:\Archivos de programa\ELOG\elogd.cfg"
Moreover Imagemagick and GhostScript are in the path:
Version: ImageMagick 6.6.4-6 2010-09-21 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
However the indexing loogbooks are only working fine when elog is started interactively. Is there any posiblity to start elog as a service and use thumbnails for quick preview?
Thank you in advance!
|
This is a know problem. I did not achieve to create the imagemagic subprocess and read its output when elogd is started as a service. Attached is the code doing that, I found it as an example from Microsoft. But even after hours of work, I could not get it running inside the service. If anybody has any idea, please let me know. |
How can Elog start automatically on Windows Server 2008 on startup ?, posted by Philipp W. on Fri Dec 3 13:56:20 2010
|
Hi all,
i have a question... How can i manage it that elog starts automatically on windows startup ? I always need to type "elogd -p 85" in the console that it starts ...
Can anyone help me ? =)
Thanks
SenoX |
Re: How can Elog start automatically on Windows Server 2008 on startup ?, posted by Stefan Ritt on Tue Dec 7 09:38:56 2010
|
Philipp W. wrote: |
Hi all,
i have a question... How can i manage it that elog starts automatically on windows startup ? I always need to type "elogd -p 85" in the console that it starts ...
Can anyone help me ? =)
Thanks
SenoX
|
If you install elog with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts. |
Re: How can Elog start automatically on Windows Server 2008 on startup ?, posted by Arno Teunisse on Tue Dec 14 20:16:46 2010
|
Stefan Ritt wrote: |
Philipp W. wrote: |
Hi all,
i have a question... How can i manage it that elog starts automatically on windows startup ? I always need to type "elogd -p 85" in the console that it starts ...
Can anyone help me ? =)
Thanks
SenoX
|
If you install elog with the installer from the distribution, it installs elog as a windows service, which is started automatically when windows starts.
|
Hello
When the install did not work properly ( I've never had that problem ) you can start the elog service with the SC.EXE command like this :
sc.exe create Elog binpath= "\"c:\program files\elog\elogd.exe\" -D -c \"c:\program files\elog\elogd.cfg\"" displayname= "Elogbook services" start= auto type= own
Please notice the spaces after the = ( they are required )
You can now use :
net start elog
and
net stop elog
to start the service without a reboot.
Maybe this helps.
|
Adding attachment to an existing entry, posted by Mariusz Stakowski on Thu Dec 2 10:15:26 2010
|
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
Best regards
Mariusz Stakowski |
Re: Adding attachment to an existing entry, posted by Stefan Ritt on Fri Dec 3 16:48:26 2010
|
Mariusz Stakowski wrote: |
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
|
I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?
https://midas.psi.ch/elogs/Linux+Demo/ |
Re: Adding attachment to an existing entry, posted by Mariusz Stakowski on Mon Dec 6 10:06:54 2010
|
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
|
I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?
https://midas.psi.ch/elogs/Linux+Demo/
|
Stefan,
I'm sorry for the false alert :(. I was trying to submit edited entry using "upper submit" (just under the logbook name strip). I have tried "lower submit" (under Attachment 2) and it works with no problem.
Best regards
Mariusz Stakowski
|
Re: Adding attachment to an existing entry, posted by Stefan Ritt on Mon Dec 6 12:40:31 2010
|
Mariusz Stakowski wrote: |
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
|
I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?
https://midas.psi.ch/elogs/Linux+Demo/
|
I'm sorry for the false alert :(. I was trying to submit edited entry using "upper submit" (just under the logbook name strip). I have tried "lower submit" (under Attachment 2) and it works with no problem.
|
Well, also the "upper submit" button should work. I just tried at the demo logbook, and it worked fine (there is however now the problem that one has to click Submit twice to make it work). Can you check yourself? |
Re: Adding attachment to an existing entry, posted by Mariusz Stakowski on Mon Dec 6 16:43:29 2010
|
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Hello,
I have a problem when I try to edit an existing entry. I want to add an attachment. I can upload an attachment to the existing entry, but submitting it does not seem to work. The added attachment is not visible. But it exists in logbook directory. The only way I found to add it, is to use "Resubmit as new entry" which is not quite what I want. Is it a design feature or perhaps I'm doing something wrong ?
|
I need to reproduce this problem in order to fix it. Do you see the same problem on the "Demo" forum?
https://midas.psi.ch/elogs/Linux+Demo/
|
I'm sorry for the false alert :(. I was trying to submit edited entry using "upper submit" (just under the logbook name strip). I have tried "lower submit" (under Attachment 2) and it works with no problem.
|
Well, also the "upper submit" button should work. I just tried at the demo logbook, and it worked fine (there is however now the problem that one has to click Submit twice to make it work). Can you check yourself?
|
Stefan,
I have checked it and it behaves exactly as you have described it. Perhaps this "double click" has led me to that false conclusion ?
|
Re: Adding attachment to an existing entry, posted by Stefan Ritt on Tue Dec 7 09:40:19 2010
|
Stefan Ritt wrote: |
there is however now the problem that one has to click Submit twice to make it work
|
I fixed this problem in the current SVN revision, so now a single click to the Submit button is enough again. |
New password file problem, posted by Mariusz Stakowski on Wed Nov 24 15:06:31 2010
|
Hello,
I'm new to elog. I've installed it under Slackware 11. Everything worked smoothly until I wanted to establish access control. I followed the steps described under Access control heading in Syntax of elog.cfg chapter. I specified a new password file name and the following steps with no problem. After having created a new user I stopped elogd and added Admin user to config file. And here is my problem - each time I want to login to elog, I get "Invalid user name or password!" message. The meaning of it is obvious. So I have repeated all the steps several times. Of course I paid attention to enter user name and password correctly but I can't get rid of this message. For sure I making something wrong, but what it is ?
Here is part of my elogd.cfg:
[global]
Port=8080
Logfile = elogd.log
Logging level = 3
Password file = passwd
Self register = 1
Admin user = eloga
charset = utf-8
Here is what happens after elog restart:
elogd 2.8.0 built Oct 22 2010, 11:04:31 revision 2313
Falling back to default group "elog"
Falling back to default user "elog"
Falling back to default group "elog"
Falling back to default user "elog"
ImageMagick detected
Indexing logbooks ... Converting password file for logbook "Demo" to new encoding ... ok
done
Server listening on port 8080 ...
Here is the password file :
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- created by MXML on Wed Nov 24 13:13:43 2010 -->
<list>
<user>
<name>eloga</name>
<password encoding="SHA256">vnpfrWa8wmxFsLFjlY/poXdz3wh6RLt9BT.D1O52Xl9</password>
<full_name>Mariusz Stakowski</full_name>
<last_logout>0</last_logout>
<last_activity>Wed Nov 24 13:13:43 2010</last_activity>
<email>Mariusz.Stakowski@asseco.pl</email>
<email_notify/>
</user>
</list>
And here is what I found in elogd.log file:
24-Nov-2010 13:50:06 [] Server listening on port 8080 ...
24-Nov-2010 13:50:53 [eloga@xx.xx.xx.xx] {Demo} LOGIN user "eloga" (attempt)
Could somebody help me please ?
Best regards
Mariusz Stakowski
|
Re: New password file problem, posted by Stefan Ritt on Wed Nov 24 15:14:29 2010
|
Mariusz Stakowski wrote: |
Hello,
I'm new to elog. I've installed it under Slackware 11. Everything worked smoothly until I wanted to establish access control. I followed the steps described under Access control heading in Syntax of elog.cfg chapter. I specified a new password file name and the following steps with no problem. After having created a new user I stopped elogd and added Admin user to config file. And here is my problem - each time I want to login to elog, I get "Invalid user name or password!" message. The meaning of it is obvious. So I have repeated all the steps several times. Of course I paid attention to enter user name and password correctly but I can't get rid of this message. For sure I making something wrong, but what it is ?
|
Can you try the current SVN version?
http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=/trunk/src/elogd.c&rev=0&sc=0
There has been some issues with the password encoding, maybe this is fixed now. |
Re: New password file problem, posted by Mariusz Stakowski on Wed Dec 1 17:03:01 2010
|
Stefan Ritt wrote: |
Mariusz Stakowski wrote: |
Hello,
I'm new to elog. I've installed it under Slackware 11. Everything worked smoothly until I wanted to establish access control. I followed the steps described under Access control heading in Syntax of elog.cfg chapter. I specified a new password file name and the following steps with no problem. After having created a new user I stopped elogd and added Admin user to config file. And here is my problem - each time I want to login to elog, I get "Invalid user name or password!" message. The meaning of it is obvious. So I have repeated all the steps several times. Of course I paid attention to enter user name and password correctly but I can't get rid of this message. For sure I making something wrong, but what it is ?
|
Can you try the current SVN version?
http://savannah.psi.ch/websvn/filedetails.php?repname=elog&path=/trunk/src/elogd.c&rev=0&sc=0
There has been some issues with the password encoding, maybe this is fixed now.
|
Thank you Stefan, it works now
Best regards
Mariusz Stakowski
|
Action after message submission, posted by Mike Zuber on Wed Sep 15 22:40:52 2010
|
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike |
Re: Action after message submission, posted by Stefan Ritt on Fri Sep 17 00:59:16 2010
|
Mike Zuber wrote: |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike
|
I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release. |
Re: Action after message submission, posted by Mike Zuber on Thu Oct 14 16:43:05 2010
|
Stefan Ritt wrote: |
Mike Zuber wrote: |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike
|
I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release.
|
Thank you very much! I appreciate it. |
Re: Action after message submission, posted by Mike Zuber on Tue Nov 30 19:30:31 2010
|
Stefan Ritt wrote: |
Mike Zuber wrote: |
Is it possible to automatically go back to the list view in summary mode after submitting a new message instead of displaying the new message?
I know it's possible to display a page from a file after submitting a new message by using "Submit Page = <file>".
It would be nice to be able to use a command like "Submit Page = <command>" where I could insert "?cmd=Back" as in the "Start page" command.
Thanks,
Mike
|
I just implemented a new flag "List after submit = 1" which does exactly this. It brings you to the summary page after the submission of a new entry. I needed the function myself. The change is SVN revision 2327 and will be contained in the next release.
|
Sorry so long getting back to you, Stefan. Just wanted to say "thank you". This new function works great! |
New User in Config Menu ?, posted by Christoph Kukulies on Fri Nov 26 12:31:42 2010
|
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
--
Christoph
|
Re: New User in Config Menu ?, posted by Stefan Ritt on Fri Nov 26 12:36:53 2010
|
Christoph Kukulies wrote: |
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
|
You have to be admin user to see that Config Menu.
Admin user = kukulies (or whatever your login name is) |
Re: New User in Config Menu ?, posted by Christoph Kukulies on Fri Nov 26 16:22:05 2010
|
Stefan Ritt wrote: |
Christoph Kukulies wrote: |
I see only Save Back Change Password Remove User in Config Menu.
How can I create a New User?
[global]
Port=8880
SSL=1
;Self register = 1
Password file = passwd
admin user = kuku
SMTP host = smtp.mydomain
[Demo]
Attributes = Author, Status
The documentation is mentioning a Config Menu and a New User item there.
|
You have to be admin user to see that Config Menu.
Admin user = kukulies (or whatever your login name is)
|
Thanks. You see in the elogd.cfg above that there is
admin user = kuku
Aaah, case sensitive ! !
--
Christoph
|