ShareX-Upload-Server icon indicating copy to clipboard operation
ShareX-Upload-Server copied to clipboard

docker version not working

Open changchichung opened this issue 3 years ago • 1 comments

Describe the bug docker won't start

To Reproduce Steps to reproduce the behavior:

  1. run the command
docker run --name "sharex-upload-server" -d \
    -v $(pwd)/src/config.json:/usr/src/app/config.json \
    -v $(pwd)/src/db.json:/usr/src/app/db.json \
    -v $(pwd)/src/server/uploads/:/usr/src/app/server/uploads/ \
    -p 805:80 -p 4435:443 \
    sharex-upload-server

and docker logs

chchang@hqdc039:~/docker/ShareX-Upload-Server$ docker logs -f sharex-upload-server 
linkify option is removed. Use linkify plugin instead:

import Remarkable from 'remarkable';
import linkify from 'remarkable/linkify';
new Remarkable().use(linkify)


  ======================================================================
  |  ________  ___  ___  ________  ________  _______   ________        |
  | |\   ____\|\  \|\  \|\   __  \|\   __  \|\  ___ \ |\   ____\       |
  | \ \  \___|\ \  \\\  \ \  \|\  \ \  \|\  \ \   __/|\ \  \___|_      |
  |  \ \_____  \ \   __  \ \   __  \ \   _  _\ \  \_|/_\ \_____  \     |
  |   \|____|\  \ \  \ \  \ \  \ \  \ \  \\  \\ \  \_|\ \|____|\  \    |
  |     ____\_\  \ \__\ \__\ \__\ \__\ \__\\ _\\ \_______\____\_\  \   |
  |    |\_________\|__|\|__|\|__|\|__|\|__|\|__|\|_______|\_________\  |
  |    \|_________|                                      \|_________|  |
  |                                                                    |
  |                                                                    |
  ======================================================================
  |  Creator: github.com/TannerReynolds                                |
  |  Discord: https://discord.gg/QTcU89d                               |
  ======================================================================
  |> [5:55:19 AM] | Connecting to Discord...
  |> [5:55:19 AM] | Secure server listening on port 443
  |> [5:55:19 AM] | Server using flexible SSL secure setting
To run a full SSL setting, ensure key.pem and cert.pem are in the /src folder
  |> [5:55:19 AM] | Loaded Command: banIP.js
  |> [5:55:19 AM] | Loaded Command: deleteFile.js
  |> [5:55:19 AM] | Loaded Command: eval.js
  |> [5:55:19 AM] | Loaded Command: exec.js
  |> [5:55:19 AM] | Loaded Command: help.js
  |> [5:55:19 AM] | Loaded Command: recentVisitors.js
  |> [5:55:19 AM] | Loaded Command: rename.js
  |> [5:55:19 AM] | Loaded Command: restart.js
  |> [5:55:19 AM] | Loaded Command: trafficfor.js
  |> [5:55:19 AM] | Loaded Command: unbanIP.js

and then nothing happened . can't open the web in http/https and no more log messages.

ShareS Version

Docker version

Desktop (please complete the following information):

  • OS: ubuntu 20.04
  • Browser : Firefox
  • Version : 89.0.1

changchichung avatar Jun 25 '21 06:06 changchichung

I would reccomend checking your configuration file and your webservers proxy settings first. Are you able to access other parts of the webserver (assuming you aren't running this alone on the webserver)?

TheCuteFoxxy avatar Sep 01 '21 21:09 TheCuteFoxxy