can't login to orthanctoolsjs

Sett 126 ganger
Hopp til første uleste melding

Ala Eddine

ulest,
2. juni 2021, 13:43:3502.06.2021
til Orthanc Users
hi 
please how i fix this error 
i start npm , the orthanctoolsjs in run in in my browser but when i try to authontificate (i used admin as login and password) i have this error : "screen shot "
Screen Shot 2021-06-02 at 6.38.55 PM.png
Screen Shot 2021-06-02 at 6.39.25 PM.png

Salim Kanoun

ulest,
2. juni 2021, 14:56:3902.06.2021
til Ala Eddine, Orthanc Users
Hi,

You seems to run directly orthanc tools js directly from sources, usally for developper purpose.

In your case you seems to not have started the backend server, make npm install and npm start at the backend folder.


If you intend to use it for testing / production, much better to use the docker image.

Best regards 

Salim

--
You received this message because you are subscribed to the Google Groups "Orthanc Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orthanc-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/orthanc-users/d35402f3-ca4a-4275-98b6-dd671176085en%40googlegroups.com.

Ala Eddine

ulest,
3. juni 2021, 01:12:0203.06.2021
til Orthanc Users
what i should to do in this case ?
Screen Shot 2021-06-03 at 6.09.24 AM.png

Salim Kanoun

ulest,
3. juni 2021, 02:06:0103.06.2021
til Orthanc Users
Do npm install before npm start ....

Ala Eddine

ulest,
3. juni 2021, 02:22:4103.06.2021
til Orthanc Users

the latest version 6.2 of orthanctooljs with orthanc server 21.5.2 runing in windows server 2012
Screen Shot 2021-06-03 at 7.19.31 AM.png

Salim Kanoun

ulest,
3. juni 2021, 04:42:4403.06.2021
til Orthanc Users
looks at your code it says their are busy or locked ressources on your files system.

OrthancToolsJS is not so simple to use and install, you will need external application like redis that i doubt it exist in windows server 2012.

I have made a documentation to use it though docker, it is the best way to go

Best regards,

Salim

Ala Eddine

ulest,
12. juni 2021, 03:08:1412.06.2021
til Orthanc Users
hi 
i m trying to use docker for my first time 
the docker jodogne/orthanc is work well 
but orthanctooljs i have problm 
thanks 
Screen Shot 2021-06-12 at 3.03.52 AM.png

Salim Kanoun

ulest,
12. juni 2021, 04:34:2812.06.2021
til Orthanc Users
Hi, 

You are using the dev version that need to acces a postgres database.
So you need to setup the environement variable to be able to acces to an prostgres database.

Salim

Ala Eddine

ulest,
12. juni 2021, 11:31:4512.06.2021
til Orthanc Users
please salim , i know i ask a lot because i m beginner   
where i find the image location to add docker-compose.yml file because i install it from this comnd : docker pull salimkanoun/orthanctoolsjs 
and i try to download a https://github.com/salimkanoun/Orthanc-Tools-JS/tree/0.6.0 how containe docker-compose.yml but i did'nt know how to run docker by this domnload folder 
please if you have documentation how explane step by step how to run it 
thanks a lot 

Ala Eddine

ulest,
12. juni 2021, 15:22:3812.06.2021
til Orthanc Users
thanks salim , i find the location 
now i have this problm with orthanctoolsjs 0.6.2, t should install docker of redis ? or just configuration ? 
thanks 
Screen Shot 2021-06-12 at 8.20.05 PM.png

Salim Kanoun

ulest,
12. juni 2021, 16:22:0412.06.2021
til Ala Eddine, Orthanc Users
redis should be available somewhere, here docker because there is no official port to redis to windows.
however localhost in a container refers to the container localhost itself and not to the host, in docker compose the ip of the service is the service name. 

Dkorthosurgery

ulest,
12. juni 2021, 17:32:0112.06.2021
til Orthanc Users
Since orthanctoolsjs 0.45 i used to setup orthanctoolsjs for testing purposes in a synology 1618 through docker. 
It was a 15 sec procedure and it always works perfect up to version 0.62.
Recently when i tried to install latest version i get this error and container fail to start. 
Container with version 0.62 still works perfect.

salimkanoun-orthanctoolsjs1
datestreamcontent
2021-06-12 21:18:35
stdout
[0m
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m     /root/.npm/_logs/2021-06-12T21_18_35_441Z-debug.log
2021-06-12 21:18:35
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m A complete log of this run can be found in:
2021-06-12 21:18:35
stdout
[0m
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m This is probably not a problem with npm. There is likely additional logging output above.
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Failed at the @salim.kanoun/orthan...@0.0.3 prestart script.
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m 
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Exit status 1
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m @salim.kanoun/orthan...@0.0.3 prestart: `cross-env NODE_ENV=production npm run migrate`
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35merrno [0m 1
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35mcode [0m ELIFECYCLE
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m     /root/.npm/_logs/2021-06-12T21_18_35_363Z-debug.log
2021-06-12 21:18:35
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m A complete log of this run can be found in:
2021-06-12 21:18:35
stdout
[0m
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m This is probably not a problem with npm. There is likely additional logging output above.
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Failed at the @salim.kanoun/orthan...@0.0.3 migrate script.
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m 
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Exit status 1
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m @salim.kanoun/orthan...@0.0.3 migrate: `sequelize db:migrate`
2021-06-12 21:18:35
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35merrno [0m 1
2021-06-12 21:18:35
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35mcode [0m ELIFECYCLE
2021-06-12 21:18:35
stdout

2021-06-12 21:18:35
stdout
[31mERROR: [39m connect ECONNREFUSED 127.0.0.1:5433
2021-06-12 21:18:35
stdout

2021-06-12 21:18:35
stdout
Using environment "production".
2021-06-12 21:18:35
stdout
Loaded configuration file "database/config/config.js".
2021-06-12 21:18:35
stdout

2021-06-12 21:18:35
stdout
[4mSequelize CLI [Node: 14.15.4, CLI: 6.2.0, ORM: 6.6.2] [24m
2021-06-12 21:18:35
stdout

2021-06-12 21:18:34
stdout

2021-06-12 21:18:34
stdout
> sequelize db:migrate
2021-06-12 21:18:34
stdout
> @salim.kanoun/orthan...@0.0.3 migrate /OrthancToolsJs
2021-06-12 21:18:34
stdout

2021-06-12 21:18:33
stdout

2021-06-12 21:18:33
stdout
> cross-env NODE_ENV=production npm run migrate
2021-06-12 21:18:33
stdout
> @salim.kanoun/orthan...@0.0.3 prestart /OrthancToolsJs
2021-06-12 21:18:33
stdout

2021-06-12 21:17:05
stdout
[0m
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m     /root/.npm/_logs/2021-06-12T21_17_05_329Z-debug.log
2021-06-12 21:17:05
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m A complete log of this run can be found in:
2021-06-12 21:17:05
stdout
[0m
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m This is probably not a problem with npm. There is likely additional logging output above.
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Failed at the @salim.kanoun/orthan...@0.0.3 prestart script.
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m 
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Exit status 1
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m @salim.kanoun/orthan...@0.0.3 prestart: `cross-env NODE_ENV=production npm run migrate`
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35merrno [0m 1
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35mcode [0m ELIFECYCLE
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m     /root/.npm/_logs/2021-06-12T21_17_05_159Z-debug.log
2021-06-12 21:17:05
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m A complete log of this run can be found in:
2021-06-12 21:17:05
stdout
[0m
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m This is probably not a problem with npm. There is likely additional logging output above.
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Failed at the @salim.kanoun/orthan...@0.0.3 migrate script.
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m 
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m Exit status 1
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m [35m [0m @salim.kanoun/orthan...@0.0.3 migrate: `sequelize db:migrate`
2021-06-12 21:17:05
stdout
[0m [37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35merrno [0m 1
2021-06-12 21:17:05
stdout
[37;40mnpm [0m  [0m [31;40mERR! [0m  [0m [35mcode [0m ELIFECYCLE
2021-06-12 21:17:05
stdout

2021-06-12 21:17:05
stdout
[31mERROR: [39m connect ECONNREFUSED 127.0.0.1:5433
2021-06-12 21:17:05
stdout

2021-06-12 21:17:04
stdout
Using environment "production".
2021-06-12 21:17:04
stdout
Loaded configuration file "database/config/config.js".
2021-06-12 21:17:04
stdout

2021-06-12 21:17:04
stdout
[4mSequelize CLI [Node: 14.15.4, CLI: 6.2.0, ORM: 6.6.2] [24m
2021-06-12 21:17:04
stdout

2021-06-12 21:17:00
stdout

2021-06-12 21:17:00
stdout
> sequelize db:migrate
2021-06-12 21:17:00
stdout
> @salim.kanoun/orthan...@0.0.3 migrate /OrthancToolsJs
2021-06-12 21:17:00
stdout

2021-06-12 21:16:59
stdout

2021-06-12 21:16:59
stdout
> cross-env NODE_ENV=production npm run migrate
2021-06-12 21:16:59
stdout
> @salim.kanoun/orthan...@0.0.3 prestart /OrthancToolsJs
2021-06-12 21:16:59
stdout

Salim Kanoun

ulest,
12. juni 2021, 18:43:2512.06.2021
til Orthanc Users
Yes this is beacause the next version will require a postgres database, the embeeded sqlite database is removed.
The documentation is not yet updated.

The next version will bring major new feature, it will take time to stabilize.

Please use the versionned containers.

Salim

Svar alle
Svar til forfatter
Videresend
0 nye meldinger