dynmap icon indicating copy to clipboard operation
dynmap copied to clipboard

Dynmap Standalone Black Screen Issue

Open LightNabz opened this issue 1 year ago • 1 comments

Hello everyone,

I’m having trouble getting Dynmap to work with Apache on my Minecraft server. I’ve been struggling with a black screen issue when trying to serve the Dynmap web interface through Apache. I’ve tried various troubleshooting steps, but I’m still stuck.

Here’s what I’ve done so far:

  1. Setup:

    • Dynmap Location: /home/user/server/plugins/dynmap/web
    • Apache Configuration File: /etc/apache2/sites-available/dynmap.conf
    • Apache Listening Port: 8081
  2. Apache Configuration: My Apache configuration looks like this:

apache
   <VirtualHost *:8081>
       ServerAdmin webmaster@localhost
       DocumentRoot /home/user/server/plugins/dynmap/web

       <Directory /home/user/server/plugins/dynmap/web>
           Options Indexes FollowSymLinks
           AllowOverride All
           Require all granted
       </Directory>

       ErrorLog ${APACHE_LOG_DIR}/dynmap_error.log
       CustomLog ${APACHE_LOG_DIR}/dynmap_access.log combined
   </VirtualHost>
  1. Troubleshooting Steps Taken:

    • Checked file permissions (ruled out as the cause).
    • Verified Apache and Dynmap configuration files for correctness.
    • Restarted Apache after making changes.
    • Verified the setup with a simple index.html file, which loads correctly.
    • Reviewed Apache error logs (/var/log/apache2/dynmap_error.log).
  2. Current Issue: When I navigate to http://localhost:8081, I get a black screen with no content. The Dynmap web interface doesn’t load, and there are no visible errors in the browser console or Apache logs. image_2024-07-27_132021386

Any help or insights would be greatly appreciated. Thank you in advance!

  • Dynmap Version: 3.7-SNAPSHOT-948
  • Server Version: Paper 1.20.4 build#497
  • Pastebin of Configuration.txt: https://pastebin.com/Vb0A7ep9

LightNabz avatar Jul 27 '24 05:07 LightNabz