Minetest mapserver

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi buckaroo thanks for the replay, i use windows 10. in the firewall i give mintest app and browser app acess. in the firwall i activate the port 8080. the result is the same, the Error ocurs and the map is not loading in the browser site http://127.0.0.1:8080. what can i do more? best regards Pikulla

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

Pikulla wrote:
Mon Nov 16, 2020 09:47
hi buckaroo thanks for the replay, i use windows 10. in the firewall i give mintest app and browser app acess. in the firwall i activate the port 8080. the result is the same, the Error ocurs and the map is not loading in the browser site http://127.0.0.1:8080. what can i do more? best regards Pikulla
Can you show the console output from the mapserver, maybe there are some clues...
Did you test this with another application too that uses/exposes a web-interface locally?
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi buckaroo, i did look for the console output, but can not find any in the inventory or somewher alls, where i can find it. i did not test this with another application too, bcoze i dont need it until now. best regards Pikulla

nitro2012pl
Member
Posts: 11
Joined: Sat Oct 31, 2015 10:02
GitHub: nitro2010

Re: Minetest mapserver

by nitro2012pl » Post

Hi,

I think I understand what you mean
I had it the same once, nothing fired.

Download the last compiled mapserver source by me for your operating system

https://drive.google.com/drive/folders/ ... r82E97DzlC

(no, it doesn't contain any viruses and other s...)

Regards

Nitro

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi nitro, i did change the mapserver folder with yours what i download from the adress. anyway i have the same error and map is not loaded on my browser. thanks for help, best regards Pikulla.

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi together, i did check some steps and see that the error starts when i aktivate the mapserver mod, could there some parameter what i have to modify? can i run the mapserver in single mod or i have to host my world as server? if i have to run the world as server, what port i have to use 8080 or 30000? in case i have to host the world, must i make the hosted world as public server? thanks in advance for youre reply. best regards Pikulla

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Minetest mapserver

by Festus1965 » Post

Pikulla:
The console is the cmd console where the app ! mapserver need to run,
as then the mod mapserver can connect to, and will not fail then at mt start
... (if I remember right)
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi festus, i can not find any cmd console in my mt 5.0.0. where it should be installed and where i can find the cmd console to download it, (in the mods i can not find any). is there some parameter what i have later to set correct so. best regards Pikulla.

User avatar
Festus1965
Member
Posts: 4181
Joined: Sun Jan 03, 2016 11:58
GitHub: Festus1965
In-game: Festus1965 Thomas Thailand Explorer
Location: Thailand ChiangMai
Contact:

Re: Minetest mapserver

by Festus1965 » Post

Pikulla wrote:
Wed Nov 18, 2020 11:50
i can not find any cmd console in my mt 5.0.0. where ...
ohoh, It is the linux terminal or on windows the cmd
in in THERE i normal start my "mapserver-linux-x86_64" (when I am in the right folder with the executable)
Human has no future (climate change)
If urgend, you find me in Roblox (as CNXThomas)

Pikulla
Member
Posts: 15
Joined: Sun Nov 15, 2020 09:32
In-game: Pikulla

Re: Minetest mapserver

by Pikulla » Post

hi together, finally i could run the map in the browser. i can see all of my world. i have only one error left when the mapserver is runing, here the message:
ERROR[CurlFetch]:http://127.0.0.1:8080/api/minetest not found (HTTP response code said error) (response code 403)
maybe somebody can tell me what error these is and how to correct it. best regards Pikulla

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

Pikulla wrote:
Thu Nov 19, 2020 15:54
hi together, finally i could run the map in the browser. i can see all of my world. i have only one error left when the mapserver is runing, here the message:
ERROR[CurlFetch]:http://127.0.0.1:8080/api/minetest not found (HTTP response code said error) (response code 403)
maybe somebody can tell me what error these is and how to correct it. best regards Pikulla
https://github.com/minetest-mapserver/m ... ctive-mode
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

Can it be builded using make? Because I got OpenBSD VPS where i host mt publicly on and that not has go or sth like that.
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

qawsedrftgzh
Member
Posts: 32
Joined: Sat Jul 25, 2020 08:36
GitHub: qawsedrftgzh
Location: Germany

Re: Minetest mapserver

by qawsedrftgzh » Post

Well for me all works perfect, but I cant see players and trainstuff on the map but it is enabled in this sidebar. What did I wrong
My English is not so good, because I am german

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

qawsedrftgzh wrote:
Tue Mar 16, 2021 13:28
Well for me all works perfect, but I cant see players and trainstuff on the map but it is enabled in this sidebar. What did I wrong
use the mod, https://github.com/minetest-tools/mapserver_mod
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

I have been able to build the go project on OpenBSD, but then when I run it in a world's folder I get this:

Code: Select all

INFO[0000] Starting mapserver                            version=dev
INFO[0000] Loading colors                                filename=colors/vanessa.txt prefix=colormapping size=1335774
INFO[0000] Loading colors                                filename=colors/advtrains.txt prefix=colormapping size=497
INFO[0000] Loading colors                                filename=colors/scifi_nodes.txt prefix=colormapping size=1315
INFO[0000] Loading colors                                filename=colors/mc2.txt prefix=colormapping size=69267
INFO[0000] Loading colors                                filename=colors/mtg.txt prefix=colormapping size=14912
INFO[0000] Loading colors                                filename=colors/miles.txt prefix=colormapping size=1289240
INFO[0000] Loading colors                                filename=colors/custom.txt prefix=colormapping size=853
INFO[0000] Loading colors                                filename=colors/nodecore.txt prefix=colormapping size=22846
INFO[0000] Loading colors                                filename=colors/naturalbiomes.txt prefix=colormapping size=15366
INFO[0000] Migrating database                            filename=mapserver.sqlite prefix=mapobjectdb.sqlite
INFO[0000] Migration completed                           elapsed="766.21_s" prefix=mapobjectdb.sqlite
INFO[0000] Starting http server                          port=8080 webdev=false
INFO[0000] using embed mode
INFO[0000] Starting initial rendering job
panic: out of memory (7)

goroutine 52 [running]:
mapserver/mapobject.(*Listener).OnEvent(0xc00000f458, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/mapobject/listener.go:45 +0x48b
mapserver/eventbus.(*Eventbus).Emit(0xc00027b000, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/eventbus/eventbus.go:35 +0x10e
mapserver/mapblockaccessor.(*MapBlockAccessor).FindNextLegacyBlocks(0xc00029c780, {0x137f998, 0xc0001fe7a0}, {0xc0001ff2b0, 0x2, 0x2}, 0x2710)
        /home/miniontoby/mapserver/mapblockaccessor/legacyblocks.go:63 +0x67d
mapserver/tilerendererjob.initialRender(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/initial.go:21 +0x108
mapserver/tilerendererjob.Job(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/job.go:23 +0xda
created by main.main
        /home/miniontoby/mapserver/main.go:66 +0x3f4
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

How much memory do you have on that machine?
Miniontoby wrote:
Sun Dec 11, 2022 13:55
I have been able to build the go project on OpenBSD, but then when I run it in a world's folder I get this:

Code: Select all

INFO[0000] Starting mapserver                            version=dev
INFO[0000] Loading colors                                filename=colors/vanessa.txt prefix=colormapping size=1335774
INFO[0000] Loading colors                                filename=colors/advtrains.txt prefix=colormapping size=497
INFO[0000] Loading colors                                filename=colors/scifi_nodes.txt prefix=colormapping size=1315
INFO[0000] Loading colors                                filename=colors/mc2.txt prefix=colormapping size=69267
INFO[0000] Loading colors                                filename=colors/mtg.txt prefix=colormapping size=14912
INFO[0000] Loading colors                                filename=colors/miles.txt prefix=colormapping size=1289240
INFO[0000] Loading colors                                filename=colors/custom.txt prefix=colormapping size=853
INFO[0000] Loading colors                                filename=colors/nodecore.txt prefix=colormapping size=22846
INFO[0000] Loading colors                                filename=colors/naturalbiomes.txt prefix=colormapping size=15366
INFO[0000] Migrating database                            filename=mapserver.sqlite prefix=mapobjectdb.sqlite
INFO[0000] Migration completed                           elapsed="766.21_s" prefix=mapobjectdb.sqlite
INFO[0000] Starting http server                          port=8080 webdev=false
INFO[0000] using embed mode
INFO[0000] Starting initial rendering job
panic: out of memory (7)

goroutine 52 [running]:
mapserver/mapobject.(*Listener).OnEvent(0xc00000f458, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/mapobject/listener.go:45 +0x48b
mapserver/eventbus.(*Eventbus).Emit(0xc00027b000, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/eventbus/eventbus.go:35 +0x10e
mapserver/mapblockaccessor.(*MapBlockAccessor).FindNextLegacyBlocks(0xc00029c780, {0x137f998, 0xc0001fe7a0}, {0xc0001ff2b0, 0x2, 0x2}, 0x2710)
        /home/miniontoby/mapserver/mapblockaccessor/legacyblocks.go:63 +0x67d
mapserver/tilerendererjob.initialRender(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/initial.go:21 +0x108
mapserver/tilerendererjob.Job(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/job.go:23 +0xda
created by main.main
        /home/miniontoby/mapserver/main.go:66 +0x3f4
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

BuckarooBanzay wrote:
Mon Dec 12, 2022 09:01
How much memory do you have on that machine?
Miniontoby wrote:
Sun Dec 11, 2022 13:55
I have been able to build the go project on OpenBSD, but then when I run it in a world's folder I get this:

Code: Select all

INFO[0000] Starting mapserver                            version=dev
INFO[0000] Loading colors                                filename=colors/vanessa.txt prefix=colormapping size=1335774
INFO[0000] Loading colors                                filename=colors/advtrains.txt prefix=colormapping size=497
INFO[0000] Loading colors                                filename=colors/scifi_nodes.txt prefix=colormapping size=1315
INFO[0000] Loading colors                                filename=colors/mc2.txt prefix=colormapping size=69267
INFO[0000] Loading colors                                filename=colors/mtg.txt prefix=colormapping size=14912
INFO[0000] Loading colors                                filename=colors/miles.txt prefix=colormapping size=1289240
INFO[0000] Loading colors                                filename=colors/custom.txt prefix=colormapping size=853
INFO[0000] Loading colors                                filename=colors/nodecore.txt prefix=colormapping size=22846
INFO[0000] Loading colors                                filename=colors/naturalbiomes.txt prefix=colormapping size=15366
INFO[0000] Migrating database                            filename=mapserver.sqlite prefix=mapobjectdb.sqlite
INFO[0000] Migration completed                           elapsed="766.21_s" prefix=mapobjectdb.sqlite
INFO[0000] Starting http server                          port=8080 webdev=false
INFO[0000] using embed mode
INFO[0000] Starting initial rendering job
panic: out of memory (7)

goroutine 52 [running]:
mapserver/mapobject.(*Listener).OnEvent(0xc00000f458, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/mapobject/listener.go:45 +0x48b
mapserver/eventbus.(*Eventbus).Emit(0xc00027b000, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/eventbus/eventbus.go:35 +0x10e
mapserver/mapblockaccessor.(*MapBlockAccessor).FindNextLegacyBlocks(0xc00029c780, {0x137f998, 0xc0001fe7a0}, {0xc0001ff2b0, 0x2, 0x2}, 0x2710)
        /home/miniontoby/mapserver/mapblockaccessor/legacyblocks.go:63 +0x67d
mapserver/tilerendererjob.initialRender(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/initial.go:21 +0x108
mapserver/tilerendererjob.Job(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/job.go:23 +0xda
created by main.main
        /home/miniontoby/mapserver/main.go:66 +0x3f4
$ top says
Memory: Real: 759M/2384M act/tot Free: 1565M Cache: 1254M Swap: 169M/4122M

So I think maybe 2.4GB??
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

Miniontoby wrote:
Tue Dec 13, 2022 10:32
BuckarooBanzay wrote:
Mon Dec 12, 2022 09:01
How much memory do you have on that machine?
Miniontoby wrote:
Sun Dec 11, 2022 13:55
I have been able to build the go project on OpenBSD, but then when I run it in a world's folder I get this:

Code: Select all

INFO[0000] Starting mapserver                            version=dev
INFO[0000] Loading colors                                filename=colors/vanessa.txt prefix=colormapping size=1335774
INFO[0000] Loading colors                                filename=colors/advtrains.txt prefix=colormapping size=497
INFO[0000] Loading colors                                filename=colors/scifi_nodes.txt prefix=colormapping size=1315
INFO[0000] Loading colors                                filename=colors/mc2.txt prefix=colormapping size=69267
INFO[0000] Loading colors                                filename=colors/mtg.txt prefix=colormapping size=14912
INFO[0000] Loading colors                                filename=colors/miles.txt prefix=colormapping size=1289240
INFO[0000] Loading colors                                filename=colors/custom.txt prefix=colormapping size=853
INFO[0000] Loading colors                                filename=colors/nodecore.txt prefix=colormapping size=22846
INFO[0000] Loading colors                                filename=colors/naturalbiomes.txt prefix=colormapping size=15366
INFO[0000] Migrating database                            filename=mapserver.sqlite prefix=mapobjectdb.sqlite
INFO[0000] Migration completed                           elapsed="766.21_s" prefix=mapobjectdb.sqlite
INFO[0000] Starting http server                          port=8080 webdev=false
INFO[0000] using embed mode
INFO[0000] Starting initial rendering job
panic: out of memory (7)

goroutine 52 [running]:
mapserver/mapobject.(*Listener).OnEvent(0xc00000f458, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/mapobject/listener.go:45 +0x48b
mapserver/eventbus.(*Eventbus).Emit(0xc00027b000, {0xc70fe4, 0x11}, {0xb9d120, 0xc0016f04d0})
        /home/miniontoby/mapserver/eventbus/eventbus.go:35 +0x10e
mapserver/mapblockaccessor.(*MapBlockAccessor).FindNextLegacyBlocks(0xc00029c780, {0x137f998, 0xc0001fe7a0}, {0xc0001ff2b0, 0x2, 0x2}, 0x2710)
        /home/miniontoby/mapserver/mapblockaccessor/legacyblocks.go:63 +0x67d
mapserver/tilerendererjob.initialRender(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/initial.go:21 +0x108
mapserver/tilerendererjob.Job(0xc00014b050)
        /home/miniontoby/mapserver/tilerendererjob/job.go:23 +0xda
created by main.main
        /home/miniontoby/mapserver/main.go:66 +0x3f4
$ top says
Memory: Real: 759M/2384M act/tot Free: 1565M Cache: 1254M Swap: 169M/4122M

So I think maybe 2.4GB??
"maybe" o_O

Anyway: you can tune the memory usage to a certain amount with the "renderingfetchlimit" setting: https://github.com/minetest-mapserver/m ... fetchlimit
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

BuckarooBanzay wrote:
Wed Dec 14, 2022 11:03
Miniontoby wrote:
Tue Dec 13, 2022 10:32
BuckarooBanzay wrote:
Mon Dec 12, 2022 09:01
How much memory do you have on that machine?

$ top says
Memory: Real: 759M/2384M act/tot Free: 1565M Cache: 1254M Swap: 169M/4122M

So I think maybe 2.4GB??
"maybe" o_O

Anyway: you can tune the memory usage to a certain amount with the "renderingfetchlimit" setting: https://github.com/minetest-mapserver/m ... fetchlimit
Removed one 0 (so now it is 1000) and it works
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

So it works, but it completly ruined my world today...

After a while of me riding trains, the server stopped reacting and logs spammed:

Code: Select all

2022-12-15 18:02:14: WARNING[Server]: SQLite3 database has been locked for 250 ms.
2022-12-15 18:02:15: ERROR[Server]: SQLite3 database has been locked for 1000 ms; this causes lag.
2022-12-15 18:02:17: ERROR[Server]: SQLite3 database has been locked for 3000 ms - giving up!
2022-12-15 18:02:17: WARNING[Server]: SQLite3 database has been locked for 250 ms.
2022-12-15 18:02:18: ERROR[Server]: SQLite3 database has been locked for 1000 ms; this causes lag.
2022-12-15 18:02:20: ERROR[Server]: SQLite3 database has been locked for 3000 ms - giving up!
I had to kill -9 to be able to stop the server and with that it also stopped mapserver for some reason so I think it had to do with mapserver


UPDATE: Oh wait thats what the notice was about on the releases. But yeah because I had to build, I still use the latest version (just from source)
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

Miniontoby wrote:
Thu Dec 15, 2022 18:18
So it works, but it completly ruined my world today...

After a while of me riding trains, the server stopped reacting and logs spammed:

Code: Select all

2022-12-15 18:02:14: WARNING[Server]: SQLite3 database has been locked for 250 ms.
2022-12-15 18:02:15: ERROR[Server]: SQLite3 database has been locked for 1000 ms; this causes lag.
2022-12-15 18:02:17: ERROR[Server]: SQLite3 database has been locked for 3000 ms - giving up!
2022-12-15 18:02:17: WARNING[Server]: SQLite3 database has been locked for 250 ms.
2022-12-15 18:02:18: ERROR[Server]: SQLite3 database has been locked for 1000 ms; this causes lag.
2022-12-15 18:02:20: ERROR[Server]: SQLite3 database has been locked for 3000 ms - giving up!
I had to kill -9 to be able to stop the server and with that it also stopped mapserver for some reason so I think it had to do with mapserver


UPDATE: Oh wait thats what the notice was about on the releases. But yeah because I had to build, I still use the latest version (just from source)
This should be fixed with the latest release (v4.6.0)
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

User avatar
Miniontoby
Member
Posts: 616
Joined: Fri Mar 01, 2019 19:25
GitHub: Miniontoby
IRC: Miniontoby
In-game: Miniontoby
Location: The Netherlands

Re: Minetest mapserver

by Miniontoby » Post

I found this error in my logs of the ./mapserver

Code: Select all

2022/12/27 11:43:43 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192
2022/12/28 11:16:28 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192
Working on mtctl ---- Check my mod "Doorbell" -- Stay safe

User avatar
BuckarooBanzay
Member
Posts: 437
Joined: Tue Apr 24, 2018 05:58
GitHub: BuckarooBanzay
IRC: BuckarooBanzai
In-game: BuckarooBanzai

Re: Minetest mapserver

by BuckarooBanzay » Post

Miniontoby wrote:
Thu Dec 29, 2022 19:29
I found this error in my logs of the ./mapserver

Code: Select all

2022/12/27 11:43:43 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192
2022/12/28 11:16:28 http: URL query contains semicolon, which is no longer a supported separator; parts of the query may be stripped when parsed; see golang.org/issue/25192
Please share the mapserver.json and minetest-settings for the mapserver (without keys/passwords)

Also: please use something else than the forums for future bugs/questions (github, irc, discord) the forum takes ages to load
¯\_(ツ)_/¯ Not active here anymore, contact me on the minetest discord, irc, lemmy or github (for programming issues)

blocker
Member
Posts: 42
Joined: Fri Jan 08, 2021 06:14
Location: Germany

Minetest mapserver don't start

by blocker » Post

One mod update or new mod on my server prevents starting the mapserver on my Raspberry pi server. I don't now witch. Minetest Server is 5.4.

INFO[0000] Starting mapserver version=4.7.0
INFO[0000] Migrating database filename=mapserver.sqlite prefix=mapobjectdb.sqlite
INFO[0000] Migration completed elapsed=1.858929ms prefix=mapobjectdb.sqlite
INFO[0000] Starting http server port=8080 webdev=false
INFO[0000] using embed mode
INFO[0000] Starting incremental rendering job LastMtime=1700296407
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x6ed438]

goroutine 44 [running]:
github.com/minetest-go/mapparser.(*Inventory).IsEmpty(...)
/home/runner/go/pkg/mod/github.com/minetest-go/mapparser@v0.1.8/inventory.go:9
mapserver/mapobject.(*SmartShopBlock).onMapObject(0x13b2618, 0x88a2000, 0x0, 0xe, 0x8, 0x35aa090)
/home/runner/work/mapserver/mapserver/mapobject/smartshop.go:22 +0x22c
mapserver/mapobject.(*Listener).OnEvent.func1(0x0, 0xe, 0x8)
/home/runner/work/mapserver/mapserver/mapobject/listener.go:69 +0x3d4
mapserver/coords.IterateMapblock(0x45a2ea8)
/home/runner/work/mapserver/mapserver/coords/iterate_mapblock.go:9 +0x6c
mapserver/mapobject.(*Listener).OnEvent(0x261a110, {0x7e5711, 0x11}, {0x747e90, 0x293a070})
/home/runner/work/mapserver/mapserver/mapobject/listener.go:56 +0x244
mapserver/eventbus.(*Eventbus).Emit(0x2580720, {0x7e5711, 0x11}, {0x747e90, 0x293a070})
/home/runner/work/mapserver/mapserver/eventbus/eventbus.go:35 +0xb8
mapserver/mapblockaccessor.(*MapBlockAccessor).GetMapBlock(0x259a1b0, 0x88a2000)
/home/runner/work/mapserver/mapserver/mapblockaccessor/get.go:88 +0x6bc
mapserver/mapblockrenderer.(*MapBlockRenderer).Render(0x261a010, 0x88a34a0, 0x88a34b0)
/home/runner/work/mapserver/mapserver/mapblockrenderer/renderer.go:115 +0x318
mapserver/tilerenderer.(*TileRenderer).renderImage(0x2971120, 0x81285b0, 0x1)
/home/runner/work/mapserver/mapserver/tilerenderer/renderer.go:142 +0xa48
mapserver/tilerenderer.(*TileRenderer).renderImage(0x2971120, 0x2c60f20, 0x2)
/home/runner/work/mapserver/mapserver/tilerenderer/renderer.go:193 +0x1018
mapserver/tilerenderer.(*TileRenderer).Render(...)
/home/runner/work/mapserver/mapserver/tilerenderer/renderer.go:77
mapserver/tilerendererjob.worker(0x259e460, 0x256d440, 0x26647c0)
/home/runner/work/mapserver/mapserver/tilerendererjob/worker.go:22 +0x30c
created by mapserver/tilerendererjob.renderMapblocks
/home/runner/work/mapserver/mapserver/tilerendererjob/common.go:29 +0x108

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests