linuxserver / docker-projectsend

GNU General Public License v3.0
74 stars 26 forks source link

[BUG] Installation Screen shows errors on host, database name, user and password #33

Closed LucaJunge closed 1 year ago

LucaJunge commented 1 year ago

Is there an existing issue for this?

Current Behavior

I tried to install projectsend via the linuxserver docker image on a subdomain and was able to reach the subdomain.domain.com/install/make-config.php page.

Upon trying to click the "Check" button, 4 red error crosses appear after the mentioned input fields in the title with no error message. I tried entering the docker via docker exec -it projectsend /bin/bash to try to find the database name etc there but neither mysql nor mariadb could be found to search for the database.

Expected Behavior

I expect to be able to continue with the setup or at least see meaningful error messages.

Steps To Reproduce

  1. create a docker-compose.yml file according to the tutorial e.g. at https://hub.docker.com/r/linuxserver/projectsend
  2. run docker compose up -d to start the image
  3. navigate to the subdomain (needs to be configured of course)
  4. click on "Check"

Environment

- OS: Ubuntu 20.04
- How docker service was installed: with the package manager

CPU architecture

x86-64

Docker creation

version: "2.1"
services:
  projectsend:
    image: lscr.io/linuxserver/projectsend:latest
    container_name: projectsend
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/GMT+2
      - MAX_UPLOAD=20000
    volumes:
      - ./projectsend-config:/config
      - ./projectsend-data:/data
    ports:
      - 4010:80
    restart: unless-stopped

Container logs

[migrations] started
[migrations] 01-nginx-site-confs-default: executing...
[migrations] 01-nginx-site-confs-default: succeeded
[migrations] 02-default-location: executing...
[migrations] 02-default-location: succeeded
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

Setting resolver to  127.0.0.11
Setting worker_processes to 4
generating self-signed keys in /config/keys, you can replace these with your own keys if required
..+.+++++++++++++++++++++++++++++++++++++++*...+++++++++++++++++++++++++++++++++++++++*......+............+...+.+...+...+........+.+...+..+......+...+..........+...............+..............++++++
...+..+.......+...........+...+.+++++++++++++++++++++++++++++++++*....+..++++++++++++++++++++++++++++++++++++++*.....+......+..........+...+..+.......+..+...+...+.......+......+......+...+.....+.+..+.......+...+........+..................+...+.........+..+..+.........+.........+...+.......+...........+.+........+.+..........................+......+....+......+........+.+......+........+..........+.........+.......+...+....+......+.........+..+...+.+..........+..+..+....+...+..+..........+...+..+.........+......+....+..+.......................+..+......+.+...+............+......+.................+..........+..+....+....+......+...+.+......+.........+..+......+...+..+...+...+......+...............+.........+.+......+.....+.......+...+.....+...+..........+...........+....+.........+......+...........+...+.+.....+.+........+...+...+.+.....+.+.....+.......+...........+......+....+...........+...+...+.......+...............+..................+..+...+...+.+...........+...+..........+..+.............+......+...+......+..+..........+..+...+....+...+...+....................+...+....+..+.........+.+.....+.+...............+...+.........+.....+.+...........+.........+...+..+.+.................+.......+........+...+...+......+...............+...+.......+...+.....+.+.........+.....+.+..+...+......+.+........+............+.......+...+.....+.......++++++
-----
New container detected. Setting up app folder and fixing permissions.
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] 02-default-location: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1000
User GID:    1000
───────────────────────────────────────

using keys found in /config/keys
mv: cannot stat '/app/www/public/templates/default/lang': No such file or directory
mv: cannot stat '/app/www/public/templates/gallery/lang': No such file or directory
mv: cannot stat '/app/www/public/templates/pinboxes/lang': No such file or directory
[custom-init] No custom files found, skipping...
[ls.io-init] done.
github-actions[bot] commented 1 year ago

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

Roxedus commented 1 year ago

This container does not ship with a database, you need to provide one for the application.

LucaJunge commented 1 year ago

Ohh, I see. I did not see the sentence in the readme, thanks!