I have Windows 7 Pro (x64) installed on my desktop computer. I have KeePass 2.34 and KeeFox 1.4.8.1-signed, which I have installed on two browsers: Pale Moon 26.5.0, and Firefox 42.0. I think I am now up to Net 4.6. Everything works fine, and has for years.
Recently I started installing new versions of Pale Moon [portable] on a USB stick [which I only use with this desktop computer], so I can test changes and potential conflicts before I install the new versions on my desktop. When I installed the KeeFox add-on on a version of Pale Moon [portable], it appears that on the KeePass tab in KeeFox options, it found the KeePass installation location on my hard drive. All of my KeePass data now shows on Pale Moon [portable], and when I select a website which requires a password, everything work fine.
However, the toolbar entries for KeeFox on the Pale Moon toolbar don't function. See http://www.ottawapark.org/reference/images/KeeFox_PMPortable1.png . You will see the difference between the entries on the toolbar for PM Desktop and PM Portable. Also the drop down for the menu button has the same strange entries, and the Logins dropdown does not function at all. Before adding these entries to the Toolbar, the same strange text entries appeared on the Custom Toolbar.
I went to KeeFox Help, and they said to install the portable version of KeePass. I have read your instructions, and many of the related posts on this forum. I am still unclear what goes where.
Assume my USB is in F:. and it contains these directories: Word, Excel, Find File, Pale Moon, etc. Do I create a new directory for KeePass and install there, or do I create a sub-directory for Pale Moon and install there, or is there some other alternative?
ALso, there are multiple files when I unzip KeePass portable, However, one of Paul' s post in this forum (2010-03-02) said I only need KeePass.exe, and database.kdb. So what do I actually install\?
Thanks for any help you can provide.
Harry
Last edit: Harry 2016-11-25
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Install everything in the ZIP to any location of the USB that you want. KeePass doesn't care about directories.
Before you run KeePass create KeePass.config.xml in the same directory as KeePass.exe and enter the following information in the xml file. This will prevent KeePass using any of your existing settings.
I have one more question. In reading Portable KeeFox' instuctions on the KeeFox GitHub site from 2014, it says that the KeePassRPC.plgx file should be in the PlugIns sub-directory. I don't have KeePassRPC.plgx in my KeeFox directory or sub-directores on my USB stick, nor does the file get created when I unzip KeePass-2.34.zip. However, I do have KeePassRPC.plgx in the Plugins sub-directory with the installation on my DESKTOP computer.
Should I have KeePassRPC.plgx on my USB stick installation, and if so, how do I get it or create it?
Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You only need KeePassRPC.plgx with the installation(s) of KeePass that you intend to access from your browser using KeeFox. Unfortunately, the KeeFox documentation is a little vague about how to connect a browser with KeeFox to a preexisting installation of KeePass, so you might be better off letting KeeFox create its own installation of KeePass.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe that is the reason that I am not able to set up a separate Database.kdbx file for the portable version. When I try to set it up, then my desktop KeePass wants to access the portable .kdbx file, which is not what I want. So apparently I cannot have a different database file on my portable version from the one on my desktop. Not a big problem for how I am using the portable, but it just means that I can't take the portable version elsewhere.
Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
my desktop KeePass wants to access the portable .kdbx file
KeePass doesn't want any particular file; it simply defaults to remembering where the last file you opened was, and offers to open it again the next time you run it. You can easily Cancel out of the "Enter Master Key" box when it starts, and use the File | Open menu item to open whatever file you want.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Plgx files need to be in the KeePass.exe directory or Plugins sub-directory. You can copy it there manually.
The reason your desktop copy is picking up the portable vesion is you have allowed the portable version to write to %APPDATA%\KeePass\KeePass.config.xml. The point of creating a config file with the portable version was to prevent this. It may be KeeFox that is the culprit, but I would initially suspect KeePass.
See the configuration section in Help. http://keepass.info/help/base/configuration.html
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I then read the configuration link you referenced. I first opened KeePass.config.xml in AppData\Roaming on my desktop. I changed all the Connection Info links manually that pointed to my USB drive so they now point to my desktop hard drive. I then made the similar changes in the .xml file on my USB drive, so all Connections point to the USB drive. That appears OK now. They each seem to open with their correct Dbase file.
But your Help section says to make sure I use a local configuration file, rather than a global one, that I should change the PreferUserConfiguration flag to True from False. I do that, and save it. But as soon as I open KeePass on the desktop, log in, and then close KeePass, True has been changed back to False! Same think happens on the USB installation.
What is going on here, and how do I get the True setting to hold?
Harry
Last edit: Harry 2016-11-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If keePass can write to the global config file it won't use a local one. Is it able to write to the directory that contains KeePass.exe?
KeePass re-writes the config file every time you close the program. If you edit the config file while KeePass is running, your changes will be overwritten.
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If keePass can write to the global config file it won't use a local one. Is it able to write to the directory that contains KeePass.exe?
KeePass re-writes the config file every time you close the program. If you edit the config file while KeePass is running, your changes will be overwritten.
cheers, Paul
I have no clue what is happening. The database file for my desktop is named Database1.kdbx. For my Portable on the USB stick, it iis named PortableDatabase1.kdbx. The contents are identical, as is the password.
I start with KeePass closed on my desktop and on the USB stick. I open KeePass.config.xml on my desktop (which is stored in ....AppData\Roaming\KeePass). I change PreferUserConfiguration from false to true, and save it. I open KeePass on the desktop, type in my password, open and then close KeePass. I reopen KeePass.config.xml. PreferUserConfiguration has been changed back from true to false.
I go to the USB stick and open KeePass.config.xml (which is stored in J:\PaleMoonPortable_27beta3\KeePass). I change PreferUserConfiguration from false to true. I then make sure that all the <connection info=""> entries point to PortableDatabase1.kdbx. I also have an entry which I 'think' points to >......PaleMoonPortable_27beta3\KeePass\DBase\PortableDatabase1.kdbx. I save the file. I open KeePass on the USB. I get an error message which says J:.PaleMoonPortable_27beta3\KeePass\DBase\Database1.kdbx {note NOT PortableDatabase} cannot be found. I open KeePass on the USB, force it to open PortableDatabase1.kdbx, and close it. I reopen KeePass.config.xml on my DESKTOP. The first <connection info=""> entries now points to PORTABLEDatabase1.kdbx. When I try to open KeePass.exe on the desktop, it says the database cannot be found.</connection></connection>
I assume there is something wrong with KeePass.config.xml on my Portable version on the USB stick. I have attached it. I would appreciate any guidance. This is driving me nuts.
I forgot to mention something in the above post. Not sure if important or not.
On my desktop, Pale Moon browser, Tools->KeeFox Options, KeePass tab, the KeePass installation location is shown correctly as: C:\Program Files (x86)\Communication\KeePass. Nothing else is checked or entered on this page.
On my USB drive, Pale Moon browser (27beta3), Tools->KeeFox Options, KeePass tab, the KeePass installation location is shown correctly as: J:\PaleMoonPortable_27beta3\KeePass. I have checked the 'Remember above settings....' box. Nothing else is entered on this page.
Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The file in ..AppData\Roaming\KeePass is the local profile. Do not change the value there.
You do not want the portable version to use a local configuration, so don't change the value there either.
What are you trying to acheive?
cheers, Paul
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The file in ..AppData\Roaming\KeePass is the local profile. Do not change the value there.
You do not want the portable version to use a local configuration, so don't change the value there either.
What are you trying to acheive?<<
Not sure what I need to change to comply with what you are telling me. I just want the Portable version on my USB stick to access ONLY the profile on my USB stick, and not try to access, or interfere with, the profile on my desktop, and vice versa.
Harry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have Windows 7 Pro (x64) installed on my desktop computer. I have KeePass 2.34 and KeeFox 1.4.8.1-signed, which I have installed on two browsers: Pale Moon 26.5.0, and Firefox 42.0. I think I am now up to Net 4.6. Everything works fine, and has for years.
Recently I started installing new versions of Pale Moon [portable] on a USB stick [which I only use with this desktop computer], so I can test changes and potential conflicts before I install the new versions on my desktop. When I installed the KeeFox add-on on a version of Pale Moon [portable], it appears that on the KeePass tab in KeeFox options, it found the KeePass installation location on my hard drive. All of my KeePass data now shows on Pale Moon [portable], and when I select a website which requires a password, everything work fine.
However, the toolbar entries for KeeFox on the Pale Moon toolbar don't function. See http://www.ottawapark.org/reference/images/KeeFox_PMPortable1.png . You will see the difference between the entries on the toolbar for PM Desktop and PM Portable. Also the drop down for the menu button has the same strange entries, and the Logins dropdown does not function at all. Before adding these entries to the Toolbar, the same strange text entries appeared on the Custom Toolbar.
I went to KeeFox Help, and they said to install the portable version of KeePass. I have read your instructions, and many of the related posts on this forum. I am still unclear what goes where.
Assume my USB is in F:. and it contains these directories: Word, Excel, Find File, Pale Moon, etc. Do I create a new directory for KeePass and install there, or do I create a sub-directory for Pale Moon and install there, or is there some other alternative?
ALso, there are multiple files when I unzip KeePass portable, However, one of Paul' s post in this forum (2010-03-02) said I only need KeePass.exe, and database.kdb. So what do I actually install\?
Thanks for any help you can provide.
Harry
Last edit: Harry 2016-11-25
Install everything in the ZIP to any location of the USB that you want. KeePass doesn't care about directories.
Before you run KeePass create KeePass.config.xml in the same directory as KeePass.exe and enter the following information in the xml file. This will prevent KeePass using any of your existing settings.
cheers, Paul
Last edit: Paul 2016-11-26
Paul:
Problem Solved! Thanks so much for that tip.
I have one more question. In reading Portable KeeFox' instuctions on the KeeFox GitHub site from 2014, it says that the KeePassRPC.plgx file should be in the PlugIns sub-directory. I don't have KeePassRPC.plgx in my KeeFox directory or sub-directores on my USB stick, nor does the file get created when I unzip KeePass-2.34.zip. However, I do have KeePassRPC.plgx in the Plugins sub-directory with the installation on my DESKTOP computer.
Should I have KeePassRPC.plgx on my USB stick installation, and if so, how do I get it or create it?
Harry
You only need KeePassRPC.plgx with the installation(s) of KeePass that you intend to access from your browser using KeeFox. Unfortunately, the KeeFox documentation is a little vague about how to connect a browser with KeeFox to a preexisting installation of KeePass, so you might be better off letting KeeFox create its own installation of KeePass.
T. Bug Reporter:
Maybe that is the reason that I am not able to set up a separate Database.kdbx file for the portable version. When I try to set it up, then my desktop KeePass wants to access the portable .kdbx file, which is not what I want. So apparently I cannot have a different database file on my portable version from the one on my desktop. Not a big problem for how I am using the portable, but it just means that I can't take the portable version elsewhere.
Harry
KeePass doesn't want any particular file; it simply defaults to remembering where the last file you opened was, and offers to open it again the next time you run it. You can easily Cancel out of the "Enter Master Key" box when it starts, and use the File | Open menu item to open whatever file you want.
Plgx files need to be in the KeePass.exe directory or Plugins sub-directory. You can copy it there manually.
The reason your desktop copy is picking up the portable vesion is you have allowed the portable version to write to %APPDATA%\KeePass\KeePass.config.xml. The point of creating a config file with the portable version was to prevent this. It may be KeeFox that is the culprit, but I would initially suspect KeePass.
See the configuration section in Help. http://keepass.info/help/base/configuration.html
cheers, Paul
Paul:
I copied the plgx file. That was the easy step.
I then read the configuration link you referenced. I first opened KeePass.config.xml in AppData\Roaming on my desktop. I changed all the Connection Info links manually that pointed to my USB drive so they now point to my desktop hard drive. I then made the similar changes in the .xml file on my USB drive, so all Connections point to the USB drive. That appears OK now. They each seem to open with their correct Dbase file.
But your Help section says to make sure I use a local configuration file, rather than a global one, that I should change the PreferUserConfiguration flag to True from False. I do that, and save it. But as soon as I open KeePass on the desktop, log in, and then close KeePass, True has been changed back to False! Same think happens on the USB installation.
What is going on here, and how do I get the True setting to hold?
Harry
Last edit: Harry 2016-11-28
If keePass can write to the global config file it won't use a local one. Is it able to write to the directory that contains KeePass.exe?
KeePass re-writes the config file every time you close the program. If you edit the config file while KeePass is running, your changes will be overwritten.
cheers, Paul
Paul:
I have no clue what is happening. The database file for my desktop is named Database1.kdbx. For my Portable on the USB stick, it iis named PortableDatabase1.kdbx. The contents are identical, as is the password.
I start with KeePass closed on my desktop and on the USB stick. I open KeePass.config.xml on my desktop (which is stored in ....AppData\Roaming\KeePass). I change PreferUserConfiguration from false to true, and save it. I open KeePass on the desktop, type in my password, open and then close KeePass. I reopen KeePass.config.xml. PreferUserConfiguration has been changed back from true to false.
I go to the USB stick and open KeePass.config.xml (which is stored in J:\PaleMoonPortable_27beta3\KeePass). I change PreferUserConfiguration from false to true. I then make sure that all the <connection info=""> entries point to PortableDatabase1.kdbx. I also have an entry which I 'think' points to >......PaleMoonPortable_27beta3\KeePass\DBase\PortableDatabase1.kdbx. I save the file. I open KeePass on the USB. I get an error message which says J:.PaleMoonPortable_27beta3\KeePass\DBase\Database1.kdbx {note NOT PortableDatabase} cannot be found. I open KeePass on the USB, force it to open PortableDatabase1.kdbx, and close it. I reopen KeePass.config.xml on my DESKTOP. The first <connection info=""> entries now points to PORTABLEDatabase1.kdbx. When I try to open KeePass.exe on the desktop, it says the database cannot be found.</connection></connection>
I assume there is something wrong with KeePass.config.xml on my Portable version on the USB stick. I have attached it. I would appreciate any guidance. This is driving me nuts.
Harry
Last edit: Harry 2016-11-28
Paul:
I forgot to mention something in the above post. Not sure if important or not.
Harry
The file in ..AppData\Roaming\KeePass is the local profile. Do not change the value there.
You do not want the portable version to use a local configuration, so don't change the value there either.
What are you trying to acheive?
cheers, Paul
What are you trying to acheive?<<
Not sure what I need to change to comply with what you are telling me. I just want the Portable version on my USB stick to access ONLY the profile on my USB stick, and not try to access, or interfere with, the profile on my desktop, and vice versa.
Harry
My first post tells you how to do that.
What isn't working?
Is it caused by KeeFox?
cheers, Paul