#Can't Load Dynmap On localhost Or Domain

1 messages · Page 1 of 1 (latest)

vital wave
#

I Installed Dynmap locally on my ubuntu paper 1.20 server. I went over the config and left everything as default and allowed port 8123 through my firewall and port forwarded it. I can't load the page on localhost or on my domain.

I even tried setting it up with apache2 and nginx. Is there anything im doing wrong on my part? Could u possibly walk me through it or explain steps in chat? I am very new to minecraft servers and is my first time self hosting.

I can send my config and even a nginx config or apache2 config.
My domain is using duckdns if that info can be helpful.

I Also have this issue in logs: [dynmap] Image file plugins/dynmap/web/tiles/world/ct/-1_0/-11_12.jpg - unable to write - failed

Thank you

elder obsidianBOT
#

Thank you! Please provide any errors you are experiencing and upload your configuration.txt. Someone from our <@&801354402010628138> team will respond to help shortly. As a general reminder, everyone on our support team is a volunteer, please be kind!

wraith vector
#

That looks like either a permission issue or your disk is full

vital wave
#

disk storage is sufficient. My suspicion lies with permissions. Thank you for your insight.

#

Those issues aside I am using this guide "https://github.com/webbukkit/dynmap/issues/2027" to help setup dynmap.
I was wondering if u are familiar to nginxa(or the guide) and could help me better understand what to do from this guide from step 6 to 7. I read it yet understanding what my nginx config should look like at the end would be greatly helpful. OR If u suggest any other methods i wouldn't mind trying.

Greatly appreciate the help your providing. Thank You.

GitHub

A set of Minecraft mods that provide a real time web-based map system for various Minecraft server implementations. - Issues · webbukkit/dynmap

vital wave
#

After following the guide i completed all of dynmap configs. Any suggestions for nginx let me know thank you.

wraith vector
wraith vector
#

@vital wave did you get it working?

vital wave
#

I had some config issues with stuff like nginx after testing with alot of its config files.

I will have to redo/uninstall and follow the tutorial u sent again.

#

I have been busy aswell so i havent gotten to redoing as mentioned

I will follow up with u if anything new happens

#

But thank you

vital wave
#

I followed through the guide and am still getting

#

I have port 80 port forwarded and have my nginx setup and mysql

#

maybe i did the dynmap config wrong and the setup for my sql

#

when following the mysql portion

mysql -u root -p
[Enter mysql root password if there is one]
mysql> CREATE USER '<webserver_user>'@'<webserver_ip>' IDENTIFIED BY '<password>';
mysql> CREATE USER '<dynmap_user>'@'<minecraftserver_ip>' IDENTIFIED BY '<password>';
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE, INDEX ON <dynmap_database>.TO '<webserver_user>'@'<webserver_ip>';
mysql> GRANT CREATE, DELETE, INSERT, SELECT, UPDATE, INDEX ON <dynmap_database>.
TO '<dynmap_user>'@'<minecraftserver_ip>';
mysql> FLUSH PRIVILEGES;
mysql> exit

I set database name to arcsmp and my minecraftserver ip as my localhost ip

#

also there is a paste bin limit so im just gonna copy paste my nginx file

#

server {
listen 80 default_server;
listen [::]:80 default_server;
server_name arcsmp.duckdns.org;

    root /home/ruhan/mc-docker/plugins/dynmap/web;

    index index.php index.html index.htm;

    location / {
            # First attempt to serve request as file, then
            # as directory, then fall back to displaying a 404.
            try_files $uri $uri/ =404;
    }

    # pass PHP scripts to FastCGI server

    location ~ \.php
#

If u need anything else feel free to ask
but thank you for helping me
Sorry for not putting everything in pastebin (Is there a limit on how much u can paste in pastebin)

#

Addtional info

I followed option one in the guide cause my "webserver" is shared on my same pc as my minecraft server

wraith vector
#

What does the nginx error.log state?

vital wave
vital wave
wraith vector
#

Then nginx has no access to read those files

vital wave
#

any ideas on how i could give it access?
tried chown

wraith vector
#

Everything has to be www-data:www-data afaik

vital wave
#

i guess il try over the nginx part of the guide

#

thank you for ur help

#

il update u if any issues arise

wraith vector
#

👍

vital wave
#

I got it to work on my ip. Now i gotta figure out domain

#

any suggestions on what i may be doing wrong?

#

I can provide more details upon ur request but i truly thank u for helping me get this far

wraith vector
#

Does it work on both your internal and external ip?

#

Then just route the domain.com to your external ip and it should work

vital wave
#

It worked i had to clear my browser cache 🤦‍♂️

#

but i thank u for all the help u have done for me

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.

elder obsidianBOT
#

This support thread has been archived due to inactivity. Click the button below to reopen it.