Installation and migration trouble

Trouble during PacsOne Server installations
Post Reply
prannou
Posts:4
Joined:Fri Nov 04, 2016 5:31 pm
Installation and migration trouble

Post by prannou » Mon Nov 14, 2016 3:32 pm

Hello,

We have an existing pacsone server (version 6.1.3) running on an old computer with Windows XP. We want to migrate this server on a new installation.
We have read installation and migration guides, and this is what we are trying to do :
1. Install a new pacsone server with same version 6.1.3
2. Migrate the database and pictures from the old pacsone to the new one, following the migration guide
3. Upgrade the new pacsone to last version
4. Convert our license from the old server to the new one
This means that steps 1-3 are made with trial license.

We chose to install the new server on Linux Centos. We manage to get it work fine and we can transfer pictures to and from our DICOM devices.
We juste have one issue : the parameter "RunAsUser" doesn't seem to work. It changes nothing and the pictures stil belong to root user. This brings a security concern as we must give http server the right to read root files.
Is there a way to get it work ?

On step 2, this is what we get : when we make the import on the new server, we get a license error.
Is there a limitation with trial licenses ? How can we achieve our migration process ?

Thanks for any help.
Patrick

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: Installation and migration trouble

Post by pacsone » Mon Nov 14, 2016 3:57 pm

1. Can you run the following command from a local shell on the new CentOS server to see which User/Group context PacsOne Server is currently running as?

Code: Select all

# ps -ef|grep PacsOne
2. Can you send us your current configuration file for PacsOne Server? It's the "${AeTitle}.ini" file under the directory where PacsOne Server is installed.

3. Yes, the trial licenses have a default limit of 1,000,000 images. So if you want to import more than that limit, you'll need a special trial license in order to overcome the limit. If this is the case, please send your current trial license ("license.dat") under the directory where PacsOne Server is installed to: mailto:pacsone@pacsone.net.

prannou
Posts:4
Joined:Fri Nov 04, 2016 5:31 pm

Re: Installation and migration trouble

Post by prannou » Tue Nov 15, 2016 1:02 pm

We have just understood the first problem : the "RunAsUser" parameter didn't exist in version 6.1.3. When we update to 6.5.3, it works as expected and "PacsOne.exe" is running under the correct user account.
pacsone wrote: 3. Yes, the trial licenses have a default limit of 1,000,000 images. So if you want to import more than that limit, you'll need a special trial license in order to overcome the limit. If this is the case, please send your current trial license ("license.dat") under the directory where PacsOne Server is installed to: mailto:pacsone@pacsone.net.
We have less than 30K images to import. The problem appears after database import, as is there were a control between licence.dat file and something stored inside the database. Before importing database, we are able to modify the local storage folder and make an import of some images without errors.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: Installation and migration trouble

Post by pacsone » Tue Nov 15, 2016 4:07 pm

prannou wrote: We have less than 30K images to import. The problem appears after database import, as is there were a control between licence.dat file and something stored inside the database. Before importing database, we are able to modify the local storage folder and make an import of some images without errors.
Can you elaborate on what exactly was the problem with importing images?

prannou
Posts:4
Joined:Fri Nov 04, 2016 5:31 pm

Re: Installation and migration trouble

Post by prannou » Thu Nov 17, 2016 2:19 pm

pacsone wrote:Can you elaborate on what exactly was the problem with importing images?
We have just taken it back from the beginning and we get to the same point.
Before importing we made some transfers from the old pacsone server, and we have done images import with those images by modifying the storage location. This is working fine.
Next, me have made the database import, and we have changed some properties (storage, php dir) according to the new server.
Then, we try to import the real images and the import job ends immediately with error "Invalid license information or license has expired".

We also tried to transfer images after database import. For this we first have to redefine our dicom AET (from the ones imported).
We configure old pacsone AET on the new server and try an "echo" => result OK
We configure new pacsone AET on the old server and try an "echo" => result : Error. The log file on the new server states "Invalid license information or license has expired".

Finally we import back our initial new server database. This solves the above problems.

Our problem is not an import problem but a license one. It's seems that there is a link between the license and the database.

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: Installation and migration trouble

Post by pacsone » Thu Nov 17, 2016 4:53 pm

Your existing PacsOne Server license will NOT work on the new server with different hardware configurations, and that's why you'll need a replacment license for your new server if there're more than 1,000,000 images in the existing PacsOne Server database, since that's the maximum number of images supported by a trial license on the new server.

prannou
Posts:4
Joined:Fri Nov 04, 2016 5:31 pm

Re: Installation and migration trouble

Post by prannou » Thu Nov 17, 2016 5:18 pm

pacsone wrote:Your existing PacsOne Server license will NOT work on the new server with different hardware configurations, and that's why you'll need a replacment license for your new server if there're more than 1,000,000 images in the existing PacsOne Server database, since that's the maximum number of images supported by a trial license on the new server.
As stated befor, we don't have 1,000,000 images but only 30,000 or so.
We made some more testing to understand what happens : the license error occurs even if we import ONLY patient table, which contains 22,564 rows. There should be also a limit on the number of patients with this trial license. Can you confirm that ?

pacsone
Site Admin
Posts:3149
Joined:Tue Sep 30, 2003 2:47 am

Re: Installation and migration trouble

Post by pacsone » Fri Nov 18, 2016 5:10 pm

It'd much easier for you to apply for a new trial license without the default limit by sending your current trial license ("license.dat") under the directory where PacsOne is installed, along with the output text of the following command run from a local shell on your server to: mailto:pacsone@pacsone.net:

1. If you are running Windows, type:

C:\>ipconfig /all > ipconfig.txt

2. If you are running Linux/MacOS, type:

% uname -a;/sbin/ifconfig

Post Reply