ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1522
|
Mon Nov 21 10:41:46 2005 |
| Carlos Mateo | cmateo@indra.es | Question | Windows | 2.6.0beta5 | Re: Automatic creation of new entry in another logbook |
Stefan Ritt wrote: |
Carlos Mateo wrote: | I am trying to create an entry in logbook2 when I submit a new entry in logbook1. The automatically created entry in logbook2 will have a reference to the entry that created it. |
Please tell me for what purpose you need two identical logbooks. Maybe what you want can be achieved in a simpler way.
They are not identical. They just share some information
Carlos Mateo wrote: | 1.- Using the "Execute new" I call elog to create the second entry. As the server is single-process, it locks: elog is waiting for elogd to be ready and elogd is waiting for elog to finish to accept new requests. As my server is on a Windows machine I canīt execute elog on background. |
Have you tried to start your elog with the start command under Widnows, like start elog .... This is the equivalent of starting a process in the background under linux.
Thank you. It works with start!
Carlos Mateo wrote: | 2.- I tried to run 2 servers on different ports using the same elogd.cfd file, calling the second server from elog. This "almost" works: the logbook files are updated, but the original server must be restarted to "see" the changes. |
This is because you use the same data directory for both servers. If one server writes a new entry to a file, the other server does not realize this. Only when you restart it, it rescans the whole data directory and gets aware of the new entry. Try using separate data directories for the two servers.
Carlos Mateo wrote: | 3.- Using the "Menu text" option, I create a link to create the new entry. The problem is that attributes are not parsed: a link like this <a href="/logbook2/?cmd=New&pAttr=Value $ID">Test</a> wonīt substitute $ID |
Parsing attributes is not implemented and therefore will not work. |
Thank you for your help |
69811
|
Fri Jul 26 12:52:54 2024 |
| Carl Unsworth | carl.unsworth@stfc.ac.uk | Bug report | Linux | V3.1.5-23df00d | Old attachments erroneously appearing on new Elog entries. |
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 to any attachments which were actually added during article creation.
I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.
Does anyone have any idea what's happening? |
69812
|
Fri Jul 26 12:53:23 2024 |
| Carl Unsworth | carl.unsworth@stfc.ac.uk | Bug report | Linux | V3.1.5-23df00d | Old attachments erroneously appearing on new Elog entries. |
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 to any attachments which were actually added during article creation.
I just made an example entry to demonstrate. First attachment here shows how the entry looks in the GUI, it has an attached text file called "jail.local", 2nd attachment is how that entry looks in the database file - no attachment.
Does anyone have any idea what's happening? |
69814
|
Fri Jul 26 13:14:38 2024 |
| Carl Unsworth | carl.unsworth@stfc.ac.uk | Bug report | Linux | V3.1.5-23df00d | Re: Old attachments erroneously appearing on new Elog entries. |
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.
Do I need to use the tar distribution to get the latest?
Stefan Ritt wrote: |
This bug has been fixed in meantime, please upgrade to the current version.
|
|
69816
|
Fri Jul 26 14:33:50 2024 |
| Carl Unsworth | carl.unsworth@stfc.ac.uk | Bug report | Linux | V3.1.5-23df00d | Re: Old attachments erroneously appearing on new Elog entries. |
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.
|
|
1359
|
Thu Jul 28 17:11:32 2005 |
| Carl Shirey | carl.shirey@pw.utc.com | Question | Linux | 2.6 | Login twice |
Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this. |
1363
|
Mon Aug 1 23:41:06 2005 |
| Carl Shirey | carl.shirey@pw.utc.com | Question | Linux | 2.6 | Re: Login twice |
Stefan Ritt wrote: |
Carl Shirey wrote: | Where I work we started to use Elog for our shift carry over log, everyone seems to likes it.
I do have one problem for some reason we have to login twice in order to submit a new entree in
the log. I do have a guest account setup so when we click logon the logon page pops up and you
type in username and password and enter. Then main page pops up and you are still in the guest mode.
Click on logon again and enter everything again and this you get in the edit mode.
I hope you can me with this. |
Can you send me your elogd.cfg? |
Yes Here is a copy of the elog.cfg.
Thanks for your help |
1378
|
Fri Aug 5 02:14:22 2005 |
| Carl Shirey | carl.shirey@pw.utc.com | Question | Linux | 2.6 | Re: Login twice |
Stefan Ritt wrote: |
Carl Shirey wrote: | Yes Here is a copy of the elog.cfg. |
I tried with your config file and it worked fine. So can you tell me:
- At what URL do you access your logbook? Do you just type http://localhost:8080 or anything else
- Do you use any proxy or stunnel?
- What is the URL in your browser showing on the first and second login?
You might want to consider to put a URL = http://<your host>:8080/ into your config file. |
Thanks
Your questions that you ask me help me out.
What I was doing was typing in the URL was http://pdls:8080 and it took me the pass down log. When I went to login into Elog took me back to the log but the URL read http://pdls.pwfl.com:8080 so when I log in the second time I was to be the edit mode. So I guess I should have typing in the URL http://pdls.pwfl.com:8080.
Thanks again for your help |