jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0

jOpenSim Install problems!!! Is it still working?

6 years 8 months ago #2821 by Fredy
Some facts:

OpenSim 9.0.0 using Robust.HG.ini und V2 Group - Standalone/ Hypergrid
SQL: MariaDB 10.1.30
Joomla 3.8.5
PHP: 7.2.2

Mein OpenSim läuft soweit sehr gut mit oben angegebener Config. In Joomla CMS wollte ich nun endlich jOpenSim testen.

Die Komponente pkg_jopensim 0.3.1.2 geladen und in Joomla installiert. Lief wunderbar

Alle Settings in der robust.hg.ini gemacht und opensim.ini und die 2 *.dll files nach opensim/bin kopiert.

Dann in die Config in Joomla für die jopensim Componente gegangen um weitere Einstellungen zu machen.

Die GUI meldete sich erstmal so, ohne den Grid Status button. Sicherlich schon mal irgendwo ein Problem:



Nun gut, weiter zu den Einstellungen:

Jopensim Settings. Meine hostname (name.hopto.org) und den robust.hg.ini public port 8002 eingegeben.

OpenSim Database Werte eingegeben:
localhost
port: 3306
database username, database name und password

Es scheint die tables werden schon in der DB geschrieben unter joomla.

Login Screen erstmal die Standartwerte genommen. Klicke ich auf den Link:
URL for Robust.ini: name.hopto.org/index.php?option=com_opensim

bekomme ich schon die ersten Fehler:



Dann gehts weiter mit der Config Maps/User/Groups usw. und dann wieder zurück in das jopensim Config panel.

Klicke ich mal Map sieht das so aus (Refreh Map macht keinen Unterschied):



User sehen so aus (Repair User macht keinen Unterschied)



Search sieht so aus:



Ich habe dann jOpenSim nochmal aus Joomla deinstalliert, nochmal installiert und konfiguriert. Das Ergebniss ist das selbe.

Was mache ich falsch?

Viele Grüße und danke für Tips!

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2822 by foto50
Hallo Fredy

Yes it is still working ;)

First, in standalone by default presence service is not connected to MySQL/MariaDB by default (see also here ... was for OpenSim 0.7.5 but still has not changed).

Be sure to set presence service this way in your StandaloneCommon.ini:
[PresenceService]
	LocalServiceModule = "OpenSim.Services.PresenceService.dll:PresenceService"
	StorageProvider = "OpenSim.Data.MySQL.dll"
	ConnectionString = "Data Source=yourhost;Database=dbname;User ID=dbuser;Password=dbpasswd;"

To ensure, the setting was taken correct, you can check it in your console after restarting with
config show PresenceService

As for the other messages: they are mostly notices, not really errors ... some of then strict messages. I am aware of most of them and will try to get rid of them in the next releases. But you should set your webservers php setting to "display_errors = Off" (in php.ini) to avoid that these notices turn up.

Greetz
FoTo50
The following user(s) said Thank You: Fredy

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2823 by Fredy
Woot! Thank you Foto50.

I will check my settings and correct them. Looking forward I can get it up and runing!

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2824 by Fredy
OK. Things work much better now but there are some problems. Simulator starts up fine:

1) The Grid Status button is there now but shows "OFFLINE". Also when I go to our website URL the Gridstatus shows "OFFLINE"

2) The simulator throws me one error, not sure it is related:

13:38:25 - [jOpenSimProfile]: Unable to connect to Profile Server testgrid.hopto.org/components/com_opensim/interface.php . Method clientInfo, params System.Collections.Hashtable. Exception System.Xml.XmlException: Das Stammelement ist nicht vorhanden.
bei System.Xml.XmlTextReaderImpl.Throw(Exception e)
bei System.Xml.XmlTextReaderImpl.ParseDocumentContent()
bei Nwc.XmlRpc.XmlRpcResponseDeserializer.Deserialize(TextReader xmlData)
bei Nwc.XmlRpc.XmlRpcRequest.Send(String url, Int32 timeout)
bei jOpenSim.Profile.jOpenProfile.OpenProfileModule.GenericXMLRPCRequest(Hashtable ReqParams, String method)

3) The Map Icon in joomla shows me no map even the simulator started up on I could login:




Refeshing Map tells me to: "Please first make a selection from the list". As there is no list, I can´t click anything there.

4) Users -> Working fine. All usere are listed. Perfect.

5) Groups shows me nothing, even I have groups on profiles. Also searching for the group name gets me nothing.

6) Search button: Seems to work well.

7) config show PresenceService on Simulator commandline gives me this output now. I assume this is ok.

[PresenceService]
LocalServiceModule = OpenSim.Services.PresenceService.dll:PresenceService
StorageProvider = OpenSim.Data.MySQL.dll
ConnectionString = Data Source=localhost;Database=opensimdb;User ID=opensimID;Password=****;
Region (root) #

Thank you so much.
Attachments:

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2825 by foto50
Hi Fredy

Where do you have data of groups and profiles stored? jOpenSim expects them in the Joomla database ... where I doubt they are if you just installed jOpenSim fresh.

When you check your opensim database, there should be a table called 'regions' containing all your current running regions. Can you doublecheck they are there?

The message in the console (...Method clientInfo, params System.Collections.Hashtable. Exception System.Xml.XmlException: Das Stammelement ist nicht vorhanden...) could be caused that php notices/warnings and display_errors are still enabled.

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2826 by Fredy
Hmm, this is strange.

In my opensim database "regions" it seems there is no data. Thats odd, cause usually they should be there.
in my opensim database "os_groups_groups" I find my Groups data - what also does not sound typical opensim

in my joomla database I have:
jos_opensim_group: No data in there
jos_opensim_search_regions: Has data
jos_opensim_users: Has data

At the moment I am not sue where my region data went...

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2827 by Fredy
PS: Display errors I set to "off" in php.ini. Also my PHP settings in joomla show Display Errors: Off

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2828 by funcake
i had the same error, check if you have a ipv6 entry in your /etc/hosts

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2829 by Fredy
PPS: I think I do not have region data cause standaloneCommon.ini in opensim writes the data to "OpenSim.Data.Null.dell:NullRegionData" instead of Storage Provider "OpenSim.Data.MySQL.dll:MySqlRegionData"

Should I play with this settings and try to switch to MySQL?

Please Log in or Create an account to join the conversation.

6 years 8 months ago #2830 by Fredy
Hi funcake. It seems they are in I guess:
127.0.0.1 localhost
::1 localhost

Please Log in or Create an account to join the conversation.

Time to create page: 0.301 seconds

Search

Donate jOpenSim

Please consider supporting our efforts.

Amount

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
BareBad… 997 997
Bohemas 996 998
BoraBor… 1002 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 999 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
LittleC… 996 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tartola 997 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 12
Total Residents: 485
Online Now: 0
Hypergriders online: 0