@Fred Could you please provide a working docker or VM?

47 views
Skip to first unread message

fish slippery

unread,
Jun 22, 2017, 5:09:53 AM6/22/17
to Open Semantic Framework
I spent 3 days installing OSF in Ubuntu 14.04, but many kinds of problems. For example:
  1. When I View/Annotate the "The OWL 2 Schema vocabulary (OWL 2)" ontology, click on "Thing", errors shows up: [WS-AUTH-VALIDATION-104] Unauthorized Request: You are trying to access a dataset that is not registered in OSF: file://localhost/data/ontologies/files/owl.rdf
  2. When I import the Iowa schools dataset in the documentation, after clicking "Import dataset", errors shows up: An error occured when we tried to delete the dataset that has been created to import the dataset.
  3. When I access "admin/resource", an error shows up: Ontologies not loaded. Please make sure that ontologies are loaded. If none appears in that list, then make sure the Ontologies web services are operational, and then click the "Reload all" button to reload all of them into Drupal. I clicked on "Reload all" button on the page "osf/ontology", returned to "admin/resource", problem still exists.
./osf-installer --list-configurations


[0;36m
[0m [0;36mShowing the configuration for the OSF-Installer Tool
[0m [0;36m
[0m [0;33m
[0m [0;33mOSF Installer configuration
[0m [0;33m
[0m [1;37mversion = "3.4.0"

[0m [1;37mosf-configured = "true"
[0m [1;37mosf-drupal-configured = "true"
[0m [1;37mupgrade-distro = "true"
[0m [1;37mauto-deploy = "true"
[0m [0;33m
[0m [0;33mOSF Common configuration
[0m [0;33m
[0m [1;37mapplication-id = "administer"
[0m [1;37mapi-key = "4B4F94AAA053C13C5615F69C8224B925"
[0m [1;37mdata-folder = "/data"
[0m [1;37mlogging-folder = "/tmp"
[0m [0;33m
[0m [0;33mOSF Web Services configuration
[0m [0;33m
[0m [1;37mosf-web-services-version = "3.4.0"
[0m [1;37mosf-web-services-folder = "/usr/share/osf"
[0m [1;37mosf-web-services-domain = "osf.shisu.edu.cn"
[0m [0;33m
[0m [0;33mOSF WS-PHP-API configuration
[0m [0;33m
[0m [1;37mosf-ws-php-api-version = "3.1.4"
[0m [1;37mosf-ws-php-api-folder = "StructuredDynamics/osf"
[0m [0;33m
[0m [0;33mOSF Tests Suites configuration
[0m [0;33m
[0m [1;37mosf-tests-suites-version = "3.4.0"
[0m [1;37mosf-tests-suites-folder = "StructuredDynamics/osf/tests"
[0m [0;33m
[0m [0;33mOSF Data Validator Tool configuration
[0m [0;33m
[0m [1;37mdata-validator-tool-version = "3.1.0"
[0m [1;37mdata-validator-tool-folder = "StructuredDynamics/osf/validator"
[0m [0;33m
[0m [0;33mOSF Permissions Management Tool configuration
[0m [0;33m
[0m [1;37mpermissions-management-tool-version = "3.1.0"
[0m [1;37mpermissions-management-tool-folder = "/usr/share/permissions-management-tool"
[0m [0;33m
[0m [0;33mOSF Datasets Management Tool configuration
[0m [0;33m
[0m [1;37mdatasets-management-tool-version = "3.4.0"
[0m [1;37mdatasets-management-tool-folder = "/usr/share/datasets-management-tool"
[0m [0;33m
[0m [0;33mOSF Ontologies Management Tool configuration
[0m [0;33m
[0m [1;37montologies-management-tool-version = "3.1.1"
[0m [1;37montologies-management-tool-folder = "/usr/share/ontologies-management-tool"
[0m [0;33m
[0m [0;33mDrupal framework configuration
[0m [0;33m
[0m [1;37mdrupal-version = "7.41"
[0m [1;37mdrupal-folder = "/usr/share/drupal"
[0m [1;37mdrupal-domain = "osf.shisu.edu.cn"
[0m [1;37mdrupal-admin-username = "admin"
[0m [1;37mdrupal-admin-password = "test"
[0m [0;33m
[0m [0;33mSQL dependency configuration
[0m [0;33m
[0m [1;37msql-server = "mysql"
[0m [1;37msql-host = "localhost"
[0m [1;37msql-port = "3306"
[0m [1;37msql-root-username = "root"
[0m [1;37msql-root-password = "test"
[0m [1;37msql-app-username = "root"
[0m [1;37msql-app-password = "test"
[0m [1;37msql-app-database = "drupal"
[0m [1;37msql-app-engine = "innodb"
[0m [1;37msql-app-collation = "utf8_general_ci"
[0m [0;33m
[0m [0;33mSPARQL dependency configuration
[0m [0;33m
[0m [1;37msparql-server = "virtuoso"
[0m [1;37msparql-channel = "odbc"
[0m [1;37msparql-dsn = "OSF-triples-store"
[0m [1;37msparql-host = "osf.shisu.edu.cn"
[0m [1;37msparql-port = "8890"
[0m [1;37msparql-url = "sparql"
[0m [1;37msparql-graph-url = "sparql-graph-crud-auth"
[0m [1;37msparql-username = "dba"
[0m [1;37msparql-password = "dba"
[0m [0;33m
[0m [0;33mKeycache dependency configuration
[0m [0;33m
[0m [1;37mkeycache-enabled = "true"
[0m [1;37mkeycache-server = "memcached"
[0m [1;37mkeycache-host = "localhost"
[0m [1;37mkeycache-port = "11211"
[0m [1;37mkeycache-ui-password = "test"
[0m [0;33m
[0m [0;33mSolr dependency configuration
[0m [0;33m
[0m [1;37msolr-host = "localhost"
[0m [1;37msolr-port = "8983"
[0m [1;37msolr-core = "osf"
[0m [0;33m
[0m [0;33mOWL dependency configuration
[0m [0;33m
[0m [1;37mowl-host = "osf.shisu.edu.cn"
[0m [1;37mowl-port = "8080"
[0m [0;33m
[0m [0;33mScones dependency configuration
[0m [0;33m
[0m [1;37mscones-host = "osf.shisu.edu.cn"
[0m [1;37mscones-port = "8080"
[0m [1;37mscones-url = "scones"


fish slippery

unread,
Jun 22, 2017, 5:17:12 AM6/22/17
to Open Semantic Framework
I forgot to say: when I executed: curl http://localhost/wsf  or curl http://osf.shisu.edu.cn/wsf That will return the content of a Drupal page not found page.

fish slippery

unread,
Jun 23, 2017, 7:17:36 PM6/23/17
to Open Semantic Framework
And when I import an ontology on the page "osf/ontology", errors shows up :
Can't import ontology: [500] Internal Error - <?xml version="1.0" encoding="utf-8"?> <error> <id>WS-DATASET-DELETE-304</id> <webservice>/ws/dataset/delete/</webservice> <name>Can't delete the dataset in Solr</name> <description>An error occured when we tried to delete that dataset in Solr</description> <debugInformation>Data couldn't be saved in Solr.[Debugging information: ]&amp;lt;html&amp;gt;&amp;lt;head&amp;gt;&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=ISO-8859-1&amp;quot;/&amp;gt;&amp;lt;title&amp;gt;Error 404 NOT_FOUND&amp;lt;/title&amp;gt;&amp;lt;/head&amp;gt;&amp;lt;body&amp;gt;&amp;lt;h2&amp;gt;HTTP ERROR 404&amp;lt;/h2&amp;gt;&amp;lt;p&amp;gt;Problem accessing /solr/osf/update. Reason:&amp;lt;pre&amp;gt; NOT_FOUND&amp;lt;/pre&amp;gt;&amp;lt;/p&amp;gt;&amp;lt;hr /&amp;gt;&amp;lt;i&amp;gt;&amp;lt;small&amp;gt;Powered by Jetty://&amp;lt;/small&amp;gt;&amp;lt;/i&amp;gt;&amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;br/&amp;gt; &amp;lt;/body&amp;gt;&amp;lt;/html&amp;gt;</debugInformation> <level>Fatal</level> </error> 

fish slippery

unread,
Jun 23, 2017, 9:33:51 PM6/23/17
to Open Semantic Framework
Finally, I realized that the errors may be caused by wrong Solr installation. I reinstall OSF stack with default config except for the OSF Drupal domain name, then everything works as designed!
Thank you for your masterpiece! @Fred
Reply all
Reply to author
Forward
0 new messages