Giter VIP home page Giter VIP logo

Comments (23)

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

Hi @acavit, thank you for the quick response!

In my epad configuration file I set the hostname to be "Getka-PC". Is it possible that it's case-sensitive somehow? If so, I can try to re-configure and try again.

Also, when I use the link you provided and select the Administration console, I get auto-redirected to the page http://getka-pc/keycloak/auth/admin/master/console/ , which displays the following:
image
This page never actually loads.
Looking at the dev tools on Firefox/Chrome reveals that the page tries to load several scripts, and they fail with code 500 (log is attached).
epadHTTPlogs.txt

Please let me know if there are any additional diagnostic steps I can take.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

OK, this fixed the issue with ePAD redirecting me, I can now access the application at a basic level. Thanks!

However, I suspect a few things are still wrong -- please let me know if I should open another issue for this.

First, the keycloak admin console is still inaccessible, same page/error.

Second, the UI appears to be missing some components, and uploading DICOMs via the upload dialog doesn't seem to cause any change. The page looks like the following screenshot, and nothing I do seems to add information. (I only included the top, the rest of the view is just gray.)
image
Clicking Display doesn't make any change and using the upload button succeeds/throws no error, but nothing appears afterwards in any menu I can find... am I missing something?

Let's coordinate for a call whenever you have time in the next few days.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

OK, setting the mode to thick made some further progress.

Now I see more of the UI (with Reports, Flex and Projects), but now it wants me to create a project before I can upload anything. Based on the documentation, this makes sense. But when I try to create a project (or add a user, or anything...) I get the following text:
image
"Verifying token and getting userinfo: getaddrinfo ENOTFOUND getka-pc".

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

Oddly, when I redirect this to my log file I get the following:

You have triggered an unhandledRejection, you may have forgotten to catch a Promise rejection:
TypeError: Cannot read property 'define' of undefined
at module.exports (/home/node/app/models/annotations.js:4:20)
at Object.initOntologyModels (/home/node/app/plugins/Ontology.js:20:9)
at /home/node/app/plugins/Ontology.js:476:15
at manageErr (/home/node/app/node_modules/fastify/fastify.js:436:11)
at exit (/home/node/app/node_modules/fastify/lib/hooks.js:90:5)
at manageTimeout (/home/node/app/node_modules/fastify/lib/hooks.js:107:11)
at _encapsulateThreeParam (/home/node/app/node_modules/avvio/boot.js:545:7)
at Boot.timeoutCall (/home/node/app/node_modules/avvio/boot.js:447:5)
at Boot.callWithCbOrNextTick (/home/node/app/node_modules/avvio/boot.js:428:19)
at Task.release (/home/node/app/node_modules/fastq/queue.js:143:16)

But anyway the log is attached.
epad_lite.log

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

I didn't change anything from between these installations. The first time before I ran the installation I changed everything in epad.yml to have admin/admin as the credentials for everything I could (keycloak, couchdb, and mariadb) as mentioned in the installation guide. Is that what you're talking about? Is there a specific location to control the mysql user/password?

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

docker exec -it epad_mariadb sh
#mysql -uroot -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)

Hmm, seems like it's not allowing this. I do have the password and root password set to the same in this instance if that matters.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

All containers were/are healthy both before and after a restart.
I see: epad_mariadb, epad_couchdb, epad_keycloak, epad_dicomweb, epad_lite, epad_js all running.

I'm on Windows using MobaXTerm for the Linux utilities. Every script so far has run without any sort of error message. I'm also going to try on an Ubuntu 18.04 workstation later tonight, I'll let you know how that goes.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

AlexanderGetka-cbica avatar AlexanderGetka-cbica commented on August 26, 2024

Thanks so much again for the detailed support. I'll give this a try!

from epadlite.

yonefx avatar yonefx commented on August 26, 2024

Hi Alexander,

I've encountered the same issues as you on keycloak. I switched back to keycloak 11.0.0 and it seems to solve the problem.
I've also encountered another issue related to missing the _users database in CouchDB. I've created one and the problem disappeared.

Now it couldn't start the ReactJS's epadlite server. I've encountered the following

{"level":40,"time":1613730165830,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist_user"}
{"level":40,"time":1613730165831,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist"}
{"level":40,"time":1613730165876,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist_study"}
{"level":40,"time":1613730165983,"pid":17,"hostname":"fc996b546722","msg":"worklist_id column is added to project_subject_study_series_user_status"}
{"level":40,"time":1613730165990,"pid":17,"hostname":"fc996b546722","msg":"We need to migrate the db for lite project"}
{"level":40,"time":1613730166012,"pid":17,"hostname":"fc996b546722","msg":"Lite project is created"}
{"level":50,"time":1613730166021,"pid":17,"hostname":"fc996b546722","msg":"Cannot connect to mariadb (err:afterDBReady. Error: Lite2thick data migration. Error: Cannot read property 'filter' of undefined), shutting down the server"}
{"level":30,"time":1613730166393,"pid":17,"hostname":"fc996b546722","msg":"Server listening at http://0.0.0.0:8080"}

Any advice on this would be appreciated.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

yonefx avatar yonefx commented on August 26, 2024

Hi Are you using sudo during the installation process? Did you make your couchdb data folder public (777) ? What is your operating system? Wkuld you try mode:thick instead of mode: lite Thanks Cavit

On Sun, Feb 21, 2021, 5:18 AM yonefx @.***> wrote: Hi Alexander, I've encountered the same issues as you on keycloak. I switched back to keycloak 11.0.0 and it seems to solve the problem. I've also encountered another issue related to missing the _users database in CouchDB. I've created one and the problem disappeared. Now it couldn't start the ReactJS's epadlite server. I've encountered the following {"level":40,"time":1613730165830,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist_user"} {"level":40,"time":1613730165831,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist"} {"level":40,"time":1613730165876,"pid":17,"hostname":"fc996b546722","msg":"Migrated worklist_study"} {"level":40,"time":1613730165983,"pid":17,"hostname":"fc996b546722","msg":"worklist_id column is added to project_subject_study_series_user_status"} {"level":40,"time":1613730165990,"pid":17,"hostname":"fc996b546722","msg":"We need to migrate the db for lite project"} {"level":40,"time":1613730166012,"pid":17,"hostname":"fc996b546722","msg":"Lite project is created"} {"level":50,"time":1613730166021,"pid":17,"hostname":"fc996b546722","msg":"Cannot connect to mariadb (err:afterDBReady. Error: Lite2thick data migration. Error: Cannot read property 'filter' of undefined), shutting down the server"} {"level":30,"time":1613730166393,"pid":17,"hostname":"fc996b546722","msg":"Server listening at http://0.0.0.0:8080"} Any advice on this would be appreciated. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#219 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACFUAUTBUSCL637PJVDQLRLTAEB4DANCNFSM4X25HSAA .

Solved by using v0.5 for both epadlite and epadjs and changed to the think mode
Works like a charm.

from epadlite.

acavit avatar acavit commented on August 26, 2024

from epadlite.

acavit avatar acavit commented on August 26, 2024

Great to hear that it solved the issue. Thanks for your feedback during the installation process.

from epadlite.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.