SUSE / Portus

Authorization service and frontend for Docker registry (v2)
http://port.us.org/
Apache License 2.0
3k stars 471 forks source link

docker: only create database if it is missing #2277

Closed Josua-SR closed 4 years ago

Josua-SR commented 4 years ago

Summary

Seperate handling of DB_MISSING and DB_EMPTY to avoid calling create when the database does exist, which could fail if the database user has limited permissions.

Fixes #2276

stale[bot] commented 4 years ago

Thanks for all your contributions! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

Josua-SR commented 4 years ago

/unstale

phrfpeixoto commented 4 years ago

@Josua-SR Having the same issue. It seems the build here failed. Could you assess?

stale[bot] commented 4 years ago

Thanks for all your contributions! This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.