Code Monkey home page Code Monkey logo

Comments (6)

kaitlinnewson avatar kaitlinnewson commented on August 11, 2024

Hi @ChenYi-qy, the piwik error is related to not having setup the Matomo Analytics. We'll work on improving this, but it will not cause the metadata not to load - that is a separate issue with your environment.

from dataverse-data-explorer-v2.

yizreel-Chen avatar yizreel-Chen commented on August 11, 2024

But I do not want to track traffic of my website, Can I just remove this feature? If I must use this, do you have any toturials on how to setup the Matomo Analytics on data-explorer?

from dataverse-data-explorer-v2.

yizreel-Chen avatar yizreel-Chen commented on August 11, 2024

Hi~
I handed the problem of "piwik.js" problem by uploading related files(piwik.js and piwik.php) to my server. But the metadata problem still exists, I front Apache with payara so that any host that want to access my website must through port 443 or 80,
from below console message:
image

It seems that data-explorer tried to access my server through port 8080 and it was blocked by apache, I tried to modify "DataExplorer_v4.20up.json" file's siteURL part to "https:xxxx:443" and reupload it. But it tells me:

{"status":"ERROR","message":"Unknown reserved word: https://dataverse.shanghai.nyu.edu:443"}[root@localhost dataverse-data-explorer-v2]

Is there any methods to force it to access port 443?

from dataverse-data-explorer-v2.

kaitlinnewson avatar kaitlinnewson commented on August 11, 2024

Hi @ChenYi-qy, did you update the external tool URL in your Dataverse database as well? Once you have installed the tool there should be an entry for it in the externaltool table of the database.

You can ignore the Piwik errors - that is not causing the metadata issue. No need to set that up if you don't want to use it.

from dataverse-data-explorer-v2.

lubitchv avatar lubitchv commented on August 11, 2024

Hi @ChenYi-qy, as @kaitlinnewson mentioned the problem you have is not with piwik. The problem is in your Dataverse configuration.
One can see that you have parameter siteUrl=http://dataverse.shanghai.nyi.edu:8080 The port 8080 should be removed.
You have to check you dataverse jvm configuration parameters, dataverse.siteUrl and dataverse.fqdn
To see your dataverse parameter, run from your glasfish directory:
./bin/asadmin list-jvm-options

You can do ./bin/asadmin list-jvm-options | grep siteUrl
dataverse.Url parameter should be configured to http://dataverse.shanghai.nyi.edu without 8080.
For example:

./bin/asadmin delete-jvm-options '-Ddataverse.siteUrl=http\://${dataverse.fqdn}\:8080'
./asadmin create-jvm-options '-Ddataverse.siteUrl=http\://dataverse.shanghai.nyi.edu' 

from dataverse-data-explorer-v2.

yizreel-Chen avatar yizreel-Chen commented on August 11, 2024

Hi@kaitlinnewson,@lubitchv~

It does the problem of JVM option: siteUrl, I removed port 8080 and restart again and finally it worked.

Thanks for eveyone's help!

from dataverse-data-explorer-v2.

Related Issues (17)

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.