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] All red Xs for database with mariadb docker #46

Closed
1 task done
TheQwenton opened this issue Sep 1, 2024 · 7 comments
Closed
1 task done

[BUG] All red Xs for database with mariadb docker #46

TheQwenton opened this issue Sep 1, 2024 · 7 comments

Comments

@TheQwenton
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

New to setting up / using databases and new to projectsend. I am using unraid to run linuxserver's projectsend docker container. Using mariadb docker for database. I created a new database 'projectsenddb' and given user 'projectsend' full access to it. I tried to input this information to projectsend for database setup and am seeing all red x's.

Expected Behavior

Database should connect with green checks.

Steps To Reproduce

  1. create database and user on maria db CREATE DATABASE projectsenddb; CREATE USER 'projectuser'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON projectsend.* TO 'projectuser'@'localhost'; FLUSH PRIVILEGES;
  2. Input database and user into project send
    image
  3. database connects when pressing check

Environment

- OS:Unraid
- How docker service was installed:CA unraid apps browser
- Linux server projectsend docker container
- MariaDB docker container

CPU architecture

x86-64

Docker creation

I cant copy paste a screenshot in here for some reason. Default settings were used to create this docker container. Only changed the data location. I will add a comment with screenshots

Container logs

I will provide a screenshot in a comment for the docker logs
Copy link

github-actions bot commented Sep 1, 2024

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

@TheQwenton
Copy link
Author

Docker creation
image

Container Logs
image

@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.

@UbuntuEvangelist
Copy link

we are facing same on ubuntu 24

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

@j0nnymoe
Copy link
Member

j0nnymoe commented Nov 6, 2024

for the container, you need to be using host wildcard, not local host when creating the user: 'projectuser'@'localhost'

@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.

@drizuid
Copy link
Member

drizuid commented Jan 14, 2025

as j0nny stated, OP has restricted the user to only login from mariadb itself, not from projectsend. for the tag-along user, they put localhost implying projectsend is the database, which it is not. Closing this as the solution to OP was provided but no response.

@drizuid drizuid closed this as not planned Won't fix, can't repro, duplicate, stale Jan 14, 2025
@LinuxServer-CI LinuxServer-CI moved this from Issues to Done in Issue & PR Tracker Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

5 participants