guydavis / machinaris

An easy-to-use WebUI for crypto plotting and farming. Offers Bladebit, Gigahorse, MadMax, Chiadog and Plotman in a Docker container. Supports Chia, MMX, Chives, Flax, and HDDCoin among others.
Apache License 2.0
340 stars 69 forks source link

Internal Server Error for some pages #213

Closed bwoodworth closed 3 years ago

bwoodworth commented 3 years ago

Describe the bug The Wallet, Alerts and Workers pages produce an Internal Server Error page

This is a brand new instance I am trying to set up on a stable existing docker environment. I used the below docker compose file and created the container. The summary and Farming pages seem to be working fine. The Network page is showing that the blockchain is syncing.

To Reproduce

Steps to reproduce the behavior, e.g.:

  1. Click on either Wallet, Alerts or Workers link in the menu

Expected behavior The respective page is displayed

System setup:

Config

full configuration ``` # paste your Docker run or Docker compose here version: '3.8' # # Machinaris: https://github.com/guydavis/machinaris # An easy-to-use WebUI for Chia plotting and farming. Includes Chia, Plotman, # MadMax, and Chiadog in a single Docker image. Default run mode is 'fullnode'. # Also runs as 'plotter', 'harvester', 'farmer' & 'harvester+plotter', 'farmer+plotter' # # Docker Compose for a fullnode appears below. As needed, uncomment and replace UPPERCASE. # services: machinaris: container_name: machinaris image: ghcr.io/guydavis/machinaris hostname: ******* restart: always tty: true ports: # Chia network port: You should port forward at your router. - "8444:8444" # Chia farmer port: LAN-only for harvesters to connect. Do not port-forward at router. - "8447:8447" # Flax network port: You should port forward at your router. - "6888:6888" # Flax farmer port: LAN-only for harvesters to connect. Do not port-forward at router. - "6885:6885" # # Machinaris Web: Do NOT port forward - LAN only! # To proxy see: https://github.com/guydavis/machinaris/wiki/Nginx - "8926:8926" # # Machinaris API, also LAN only! See https://github.com/guydavis/machinaris/wiki/Workers - "8927:8927" # volumes: # Path to Machinaris application storage (host_path:container_path) - "/machinaris:/root/.chia:rw" # # Path to your completed plots. - "/mnt/chia/PoolPlots:/plots/nas:rw" - "/mnt/chia1:/plots/disk1:rw" - "/mnt/chia2:/plots/disk2:rw" # # If plotting, you'll need a temporary plotting space - "/mnt/plotter:/plotting:rw" # # if Plotman Archiving via Rsync, then add your SSH private key to send to final destinati> # - "~/.ssh/id_rsa:/id_rsa:ro" # # Only if running multiple Machinaris workers. See https://github.com/guydavis/machinaris/> #dns: # - YOUR_LAN_DNS_SERVER_IP_ADDRESS # environment: # Local timezone, use 'TZ database name' from https://en.wikipedia.org/wiki/List_of_tz_dat> - TZ=America/Los_Angelea # # More than one plots folder above? See: https://github.com/guydavis/machinaris/wiki/FAQ#c> - plots_dir=/plots/nas:/plots/disk1:/plots/disk2 # # Mode: fullnode, farmer, harvester, plotter, farmer+plotter, harvester+plotter. Default i> - mode=fullnode # # If using madmax plotter, these 2 public keys will be set in your plotman.yaml # - farmer_pk=YOUR_FARMER_PUBLIC_KEY # - pool_pk=YOUR_POOL_PUBLIC_KEY # # If mode=harvester, required for host and port the harvester will your farmer # - farmer_address=FARMER_HOST_OR_IP # - farmer_port=8447 # # True only if you want plotman to immediately start plotting on a restart, when configured # - AUTO_PLOT=true # # If this is a worker, point it to the Machinaris controller on your LAN # - controller_host=CONTROLLER_HOST_OR_IP # - controller_web_port=8926 # - controller_api_port=8927 # # Optionally, if your worker machine's hostname is not resolvable on your LAN, use the IP > # - worker_address=IP_OF_WORKER_HOST_ON_LAN # # Set these to match your system capabilities and plotter requirements

Additional context & screenshots

bwoodworth commented 3 years ago

User error. I had a typo in my time zone environment variable. That was causing some pages to crash. I saw the error in the webui log

guydavis commented 3 years ago

Thanks for the chat on our Discord server. Glad you got it sorted. Be sure to use the Wizard on the Machinaris app site to generate Docker run/compose.