Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Database configuration not working after setup project send #47

Closed
1 task done
UbuntuEvangelist opened this issue Nov 6, 2024 · 6 comments
Closed
1 task done

Comments

@UbuntuEvangelist
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Database configuration

Screenshot from 2024-11-07 04-20-04

Expected Behavior

database configuration not working after setup project send

Steps To Reproduce

added mysql db, usr and password on docker-compose.yml file
restart all docker images

Environment

- OS: Ubuntu 24.04.1 LTS
- How docker service was installed:
Docker version 27.3.1, build ce12230

CPU architecture

x86-64

Docker creation

docker pull linuxserver/projectsend
docker run -d \
  --name=projectsend \
  -e PUID=1000 \
  -e PGID=1000 \
  -e TZ=Etc/UTC \
  -e MAX_UPLOAD=5000 \
  -p 80:80 \
  -v /path/to/projectsend/config:/config \
  -v /path/to/data:/data \
  --restart unless-stopped \
  lscr.io/linuxserver/projectsend:latest

Container logs

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

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

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

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

User UID:    1000
User GID:    1000
───────────────────────────────────────
Linuxserver.io version: r1720-ls212
Build-date: 2024-10-28T21:26:37+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
Copy link

github-actions bot commented Nov 6, 2024

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

@LinuxServer-CI
Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

@johanbluecreek
Copy link

I have the same issue as this and cannot find a resolution in the docs. I think this should be reopened.

@goNeuland
Copy link

Hello,
You simply need to add a database to the Docker Compose file. You can then connect to this.

It works for me.

Best regards

@Nov1kov
Copy link

Nov1kov commented Jan 11, 2025

Has anyone a full example of docker-compose with database?

@Nov1kov
Copy link

Nov1kov commented Jan 11, 2025

Yes:

  1. Add the db service in your docker compose
 mariadb:
    image: linuxserver/mariadb
    container_name: mariadb
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=root
      - TZ=Europe/London
    volumes:
      - /project_send/mariadb:/config
    ports:
      - 127.0.0.1:3306:3306
    restart: unless-stopped
  1. Up service:
docker compose up -d mariadb
  1. Create db:
docker exec -it mariadb bash
mysql -u root -proot
CREATE DATABASE projectsend;
  1. setup the config file in web ui.
  • db host: mariadb:3306
    other config keep defaults.

@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

5 participants