-
Notifications
You must be signed in to change notification settings - Fork 27
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
Override omero.db.name #16
Comments
It's a feature! ome/omego@3b16ece Open an issue against omego if you think it should be changed |
What do you think about working around it here? |
Are the expectations for omero-server-docker different from omego to justify this? If so then we can change it here, if not we should change omego. |
Well, minimally, omero-server-docker knows if it's initializing or upgrading, no? https://github.com/openmicroscopy/omero-server-docker/blob/master/60-database.sh#L41 If that's the purpose of the feature in ome/omego@3b16ece to prevent inadvertent upgrades, then it seems like it could be valid to have the docker override in some cases. |
omego assumes that the DBHOSE and DBNAME are set via bin/omero config. DBNAME was previously *not* set to prevent an accidental upgrade of a database. Here we set DBNAME only if the database has not been created elsewhere.
omego assumes that the DBHOSE and DBNAME are set via bin/omero config. DBNAME was previously *not* set to prevent an accidental upgrade of a database. Here we set DBNAME only if the database has not been created elsewhere.
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#285 (https://ci.openmicroscopy.org/job/DOCKER-merge/285/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#286 (https://ci.openmicroscopy.org/job/DOCKER-merge/286/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#287 (https://ci.openmicroscopy.org/job/DOCKER-merge/287/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#288 (https://ci.openmicroscopy.org/job/DOCKER-merge/288/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#289 (https://ci.openmicroscopy.org/job/DOCKER-merge/289/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#290 (https://ci.openmicroscopy.org/job/DOCKER-merge/290/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' Generated by DOCKER-merge#291 (https://ci.openmicroscopy.org/job/DOCKER-merge/291/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' # PR 18 joshmoore 'Clarify README on config files' Generated by DOCKER-merge#292 (https://ci.openmicroscopy.org/job/DOCKER-merge/292/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' # PR 18 joshmoore 'Clarify README on config files' Generated by DOCKER-merge#293 (https://ci.openmicroscopy.org/job/DOCKER-merge/293/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' # PR 18 joshmoore 'Clarify README on config files' Generated by DOCKER-merge#294 (https://ci.openmicroscopy.org/job/DOCKER-merge/294/)
Repository: openmicroscopy/omero-server-docker Already up-to-date. Merged PRs: # PR 2 dpwrussell 'Enable public user' # PR 17 joshmoore 'Override omero.db.name (fix ome#16)' # PR 18 joshmoore 'Clarify README on config files' Generated by DOCKER-merge#295 (https://ci.openmicroscopy.org/job/DOCKER-merge/295/)
Note: this is fairly nasty. We might decide to strip issue numbers from snoopy comments. cc: @sbesson |
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2032 (https://ci.openmicroscopy.org/job/DOCKER-merge/2032/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2033 (https://ci.openmicroscopy.org/job/DOCKER-merge/2033/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Conflicting PRs (not included): - PR 74 jburel 'replace usage to set-output' Generated by DOCKER-merge#2034 (https://ci.openmicroscopy.org/job/DOCKER-merge/2034/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2035 (https://ci.openmicroscopy.org/job/DOCKER-merge/2035/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2036 (https://ci.openmicroscopy.org/job/DOCKER-merge/2036/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2037 (https://ci.openmicroscopy.org/job/DOCKER-merge/2037/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2038 (https://ci.openmicroscopy.org/job/DOCKER-merge/2038/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 63 jburel 'Labels' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2039 (https://ci.openmicroscopy.org/job/DOCKER-merge/2039/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' - PR 74 jburel 'replace usage to set-output' Generated by DOCKER-merge#2040 (https://ci.openmicroscopy.org/job/DOCKER-merge/2040/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2041 (https://ci.openmicroscopy.org/job/DOCKER-merge/2041/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2042 (https://ci.openmicroscopy.org/job/DOCKER-merge/2042/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2043 (https://ci.openmicroscopy.org/job/DOCKER-merge/2043/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2044 (https://ci.openmicroscopy.org/job/DOCKER-merge/2044/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2045 (https://ci.openmicroscopy.org/job/DOCKER-merge/2045/)
Repository: ome/omero-server-docker Excluded PRs: - PR 68 dependabot[bot] 'Bump centos from `dead07b` to `c73f515`' (label: exclude) - PR 59 markovendelin 'Specify permissions required for use of bind mounts' (user: markovendelin) - PR 39 manics 'Add infrastructure for a server extras image' (exclude comment) - PR 21 joshmoore 'Auto import, figure, wheel, etc.' (exclude comment) - PR 19 joshmoore 'SQL backup/restore (WIP)' (label: exclude) Already up-to-date. Merged PRs: - PR 2 dpwrussell 'Enable public user' - PR 17 joshmoore 'Override omero.db.name (fix ome#16)' - PR 71 jburel 'install figure export dependencies by default' - PR 72 glyg 'use ubuntu 20.04 as base instead of CentOS7' Generated by DOCKER-merge#2046 (https://ci.openmicroscopy.org/job/DOCKER-merge/2046/)
In an attempt to deploy PG+OMERO with the minimal characters on the CLI, I tried:
(This repo uses "omero" rather than "postgres" as a default, but that would be a breaking change)
I get this error:
We could consider this an
omego
bug (in which case, happy to migrate this), but another option would be to overrideomero.db.name
with the default ofomero
here as is done with omero.db.host. See https://github.com/openmicroscopy/omero-server-docker/blob/master/60-database.sh#L12The text was updated successfully, but these errors were encountered: