Shinobar Martinek による投稿

>> リージョンサーバの bin/config-include/GridCommon.ini でも MySQLデータベースを使用するように設定していますか?

そのとおりでした。無事ワールドマップ等も正常に動作するようになりました。ありがとうございました。

http://hg.shinobar.server-on.net/moodle3/

私の頭の中は「ハイパーグリッド=ROBUSTサーバー」みたいな発想があって、当初はROBUSTサーバーだけVPSで立ち上げ、各SIMは自宅サーバーという構成を考えていました。でも、Welcom Ariaとして1つはSIMが必要だと考え、同じVPS上で sqliteで立ち上げたのでした。そこのところを失念していました。

最新版 moodle 3.0.2 + modlos 2.8.4 http://hg.shinobar.server-on.net/moodle3/ において、modlosの設定から 「Sloodleとの連携」 のチェックを外すことにより、ステータスやアバター表示などが正常に動作するようになりました。ありがとうございます。

残るは 「リージョンリスト」と「ワールドマップ」です。moodle や modlos のバージョンに関わりなく 'opensim.estate_map' が無いとのエラーなので、OpenSim側のどこかの設定なのかもしれませんね。

お世話さまです。

mysql> show tables from opensim;
+-------------------+
| Tables_in_opensim |
+-------------------+
| AgentPrefs        |
| Avatars           |
| Friends           |
| GridUser          |
| Presence          |
| UserAccounts      |
| assets            |
| auth              |
| hg_traveling_data |
| im_offline        |
| inventoryfolders  |
| inventoryitems    |
| migrations        |
| regions           |
| tokens            |
+-------------------+
15 rows in set (0.00 sec)

modlos 2.8.4 固有のエラー 'moodle3.mdl_sloodle_users' は、 sloodleがインストールされていないからみたいですね。テーブル一覧は省略します。

上記「ステータス」でのエラーは、 modlos 2.7.0 では生じなかったものです。

「ワールドマップ」では以下のエラー:

function regionwin(uuid) { window.open("http://hg.shinobar.server-on.net/moodle3/blocks/modlos/helper/sim.php?course=1®ion="+uuid, null, 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=800,height=450'); } function loadmap() { mapInstance = new ZoomSize(64); mapInstance = new WORLDMap(document.getElementById('map-container'), {hasZoomControls: false, hasPanningControls: true}); mapInstance.centerAndZoomAtWORLDCoord(new XYPoint(1000, 1000), 1); DB ERROR : Invalid SQL: SELECT regions.uuid,regionName,locX,locY,sizeX,sizeY,serverIP,serverURI,serverHttpPort,owner_uuid,estate_map.EstateID,EstateOwner,EstateName,firstname,lastname FROM regions LEFT JOIN estate_map ON RegionID=regions.uuid LEFT JOIN estate_settings ON estate_map.EstateID=estate_settings.EstateID LEFT JOIN UserAccounts ON EstateOwner=UserAccounts.PrincipalID
MySQL ERROR: Table 'opensim.estate_map' doesn't exist (1146)
Session Halted.

「ワールドマップ」でのエラーは modlos 2.8.4, 2.7.0 共通です。

なお、 moodle 2.8.10 + modlos 2.7.0 の組み合わせのもの従来の場所に残してあります。

http://hg.shinobar.server-on.net/moodle/

お忙しいところを恐縮です。最新版のセットも用意しました。moodle 3.0.2 + modlos 2.8.4。各ディレクトリは WWWサーバー所有にしています。

http://hg.shinobar.server-on.net/moodle3/

トップページにグリッドの状況が正しく表示されていますが、「ステータス」で以下のエラーが出ます。

データベースの読み込み中にエラーが発生しました。

このエラーに関する詳細情報

Debug info: Table 'moodle3.mdl_sloodle_users' doesn't exist
SELECT * FROM mdl_sloodle_users
[array (
)]
Error code: dmlreadexception
Stack trace:
  • line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 1080 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 306 of /blocks/modlos/jbxl/jbxl_moodle_tools.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 1066 of /blocks/modlos/include/modlos.func.php: call to jbxl_db_exist_table()
  • line 52 of /blocks/modlos/class/show_status.class.php: call to modlos_sync_sloodle_users()
  • line 26 of /blocks/modlos/actions/show_status.php: call to ShowStatus->execute()ま