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

Instructions for usage within Alpine Linux #18

Open
drfuzzyness opened this issue Jan 27, 2022 · 5 comments
Open

Instructions for usage within Alpine Linux #18

drfuzzyness opened this issue Jan 27, 2022 · 5 comments

Comments

@drfuzzyness
Copy link

drfuzzyness commented Jan 27, 2022

For future readers who encounter errors like: find: unrecognized: -newermt or environment: line 37: psql: command not found when running the solvable_files.sh script, Alpine Linux (common Docker container distro) is missing two packages you'll need to run this script.

apk update
apk add findutils bash postgresql-client sudo

EDIT: If you're using MySQL as your database instead of Postgres, you'll need:

apk update
apk add findutils bash mysql-client sudo 

Thanks bavarialogy!

Hopefully this helps someone looking at this in the future!

@artonge
Copy link
Collaborator

artonge commented Jan 27, 2022

Hey @drfuzzyness, could you make a PR adding this to the readme?

@MaxiMii05
Copy link

Thank you very much! This is what I needed for the linuxserver.io docker container.
Note that you have to install mysql-client instead of postrgresql-client if you use MySQL or mariadb.

@godfuture
Copy link

godfuture commented Apr 23, 2022

Same issue here.

Running the script in Nextcloud official docker container (apache:stable) I get:
environment: line 34: mysql: command not found

@bavarialogy
Copy link

I'm running tag 23-fpm-alpine and I had to (temporarily) add the following packages:

apk update
apk add findutils bash mysql-client sudo 

I added bash as a precaution, not sure if it is really mandatory. Once I entered the container I ran bash and then the script.

@jonknud
Copy link

jonknud commented Jul 30, 2022

For nextcloud:23-fpm you can use

apt update
apt install mariadb-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants