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

Master broken`? #72

Closed
kjetilpp opened this issue May 24, 2016 · 6 comments
Closed

Master broken`? #72

kjetilpp opened this issue May 24, 2016 · 6 comments

Comments

@kjetilpp
Copy link

  • What version of Cachet?
    MASTER on Ubuntu Docker 1.11.1 on 14.04 @ digitalocean

Installed Cachet using this guide on a Droplet from digitalocean running Docker 1.11.1 on Ubuntu 14.04: https://docs.cachethq.io/docs/get-started-with-docker

  1. Installed compose running: curl -L https://github.com/docker/compose/releases/download/1.7.1/docker-compose-uname -s-uname -m> /usr/local/bin/docker-compose chmod +x /usr/local/bin/docker-compose

Then:

git clone https://github.com/cachethq/Docker.git cachet-docker
cd cachet-docker
git checkout master
docker-compose build
docker-compose up

After running the UP command, i get this output:

root@status:~/cachet-docker# docker-compose up
Creating network "cachetdocker_default" with the default driver
Pulling postgres (postgres:9.5)...
9.5: Pulling from library/postgres
8b87079b7a06: Pull complete
a3ed95caeb02: Pull complete
ff6abb23e531: Pull complete
8364ca902ad3: Pull complete
84179c1b7ff6: Pull complete
be951654637c: Pull complete
4841dfc8333f: Pull complete
36abcd2bfe7d: Pull complete
391730ecf2ff: Pull complete
1778625e5f5a: Pull complete
36b3faca2864: Pull complete
055e85b433f4: Pull complete
Digest: sha256:4781bc663d2a890f8dcdc3fdf1c0002c3665eb79b001b38674fa2d3c1ad6c410
Status: Downloaded newer image for postgres:9.5
Pulling nginx (nginx:stable-alpine)...
stable-alpine: Pulling from library/nginx
d0ca440e8637: Pull complete
a3ed95caeb02: Pull complete
6a1a96b87f1e: Pull complete
c7f7d89c995e: Pull complete
01c1484973c6: Pull complete
Digest: sha256:3114edb4e16196ced886e33783a3ed1f602b0a10d9f4a7c79bb6c3eb2a3c877f
Status: Downloaded newer image for nginx:stable-alpine
Creating cachetdocker_postgres_1
Creating cachetdocker_cachet_1
Creating cachetdocker_nginx_1
Attaching to cachetdocker_postgres_1, cachetdocker_cachet_1, cachetdocker_nginx_1
postgres_1  | The files belonging to this database system will be owned by user "postgres".
postgres_1  | This user must also own the server process.
postgres_1  |
postgres_1  | The database cluster will be initialized with locale "en_US.utf8".
postgres_1  | The default database encoding has accordingly been set to "UTF8".
postgres_1  | The default text search configuration will be set to "english".
postgres_1  |
postgres_1  | Data page checksums are disabled.
postgres_1  |
postgres_1  | fixing permissions on existing directory /var/lib/postgresql/data ... ok
postgres_1  | creating subdirectories ... ok
postgres_1  | selecting default max_connections ... 100
postgres_1  | selecting default shared_buffers ... 128MB
postgres_1  | selecting dynamic shared memory implementation ... posix
postgres_1  | creating configuration files ... ok
postgres_1  | creating template1 database in /var/lib/postgresql/data/base/1 ... ok
postgres_1  | initializing pg_authid ... ok
postgres_1  | initializing dependencies ... ok
postgres_1  | creating system views ... ok
postgres_1  | loading system objects' descriptions ... ok
postgres_1  | creating collations ... ok
postgres_1  | creating conversions ... ok
postgres_1  | creating dictionaries ... ok
postgres_1  | setting privileges on built-in objects ... ok
postgres_1  | creating information schema ... ok
postgres_1  | loading PL/pgSQL server-side language ... ok
postgres_1  | vacuuming database template1 ... ok
postgres_1  | copying template1 to template0 ... ok
postgres_1  | copying template1 to postgres ... ok
postgres_1  | syncing data to disk ... ok
postgres_1  |
postgres_1  | WARNING: enabling "trust" authentication for local connections
postgres_1  | You can change this by editing pg_hba.conf or using the option -A, or
postgres_1  | --auth-local and --auth-host, the next time you run initdb.
postgres_1  |
postgres_1  | Success. You can now start the database server using:
postgres_1  |
postgres_1  |     pg_ctl -D /var/lib/postgresql/data -l logfile start
postgres_1  |
postgres_1  | waiting for server to start....LOG:  database system was shut down at 2016-05-24 00:08:44 UTC
postgres_1  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1  | LOG:  database system is ready to accept connections
postgres_1  | LOG:  autovacuum launcher started
postgres_1  |  done
postgres_1  | server started
postgres_1  | ALTER ROLE
postgres_1  |
postgres_1  |
postgres_1  | /docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
postgres_1  |
postgres_1  | LOG:  received fast shutdown request
postgres_1  | LOG:  aborting any active transactions
postgres_1  | LOG:  autovacuum launcher shutting down
postgres_1  | LOG:  shutting down
postgres_1  | waiting for server to shut down....LOG:  database system is shut down
postgres_1  |  done
postgres_1  | server stopped
postgres_1  |
postgres_1  | PostgreSQL init process complete; ready for start up.
postgres_1  |
postgres_1  | LOG:  database system was shut down at 2016-05-24 00:08:46 UTC
postgres_1  | LOG:  MultiXact member wraparound protections are now enabled
postgres_1  | LOG:  database system is ready to accept connections
postgres_1  | LOG:  autovacuum launcher started
cachet_1    | ....
cachet_1    | Running composer as root/super user is highly discouraged as packages, plugins and scripts cannot always be trusted
cachet_1    | Loading composer repositories with package information
cachet_1    | Installing dependencies from lock file
cachet_1    | Nothing to install or update
cachet_1    | Generating optimized autoload files
cachet_1    | > Illuminate\Foundation\ComposerScripts::postInstall
cachet_1    | > php artisan optimize --force
cachet_1    | Generating optimized class loader
cachet_1    | Compiling common classes
cachet_1    | > php artisan config:cache
cachet_1    | Configuration cache cleared!
**postgres_1  | ERROR:  relation "settings" does not exist at character 29**
postgres_1  | STATEMENT:  select "name", "value" from "settings"
cachet_1    | Configuration cached successfully!
cachet_1    | > php artisan route:cache
**postgres_1  | ERROR:  relation "settings" does not exist at character 29**
postgres_1  | STATEMENT:  select "name", "value" from "settings"
cachet_1    | Route cache cleared!
**postgres_1  | ERROR:  relation "settings" does not exist at character 29**
postgres_1  | STATEMENT:  select "name", "value" from "settings"
cachet_1    | Routes cached successfully!
**postgres_1  | ERROR:  relation "settings" does not exist at character 29**
postgres_1  | STATEMENT:  select "name", "value" from "settings"
cachet_1    | Application key [base64:1KvZADGYpRM2j1w1qc3/iZQYFsI2XZqW9ewcRpXXL+U=] set successfully.
**postgres_1  | ERROR:  relation "settings" does not exist at character 29**
postgres_1  | STATEMENT:  select "name", "value" from "settings"
cachet_1    | Backing up database...
cachet_1    | Dumping database and uploading...
cachet_1    |
cachet_1    |
**cachet_1    |   [BackupManager\ShellProcessing\ShellProcessFailed]
cachet_1    |   pg_dump: server version: 9.5.3; pg_dump version: 9.4.6
cachet_1    |   pg_dump: aborting because of server version mismatch**
cachet_1    |
cachet_1    |
**cachetdocker_cachet_1 exited with code 1**

@djdefi
Copy link
Contributor

djdefi commented May 24, 2016

The master branch and cachethq/docker:latest Docker automated build are a work in progress / development version of the upstream Cachet project. This should not be used in a production environment as it may change or be broken at anytime.

Please use a tagged Cachet Docker image release or utilize one of the tagged builds from https://hub.docker.com/r/cachethq/docker/tags/

@djdefi djdefi closed this as completed May 24, 2016
@kjetilpp
Copy link
Author

Then we need a new release. v.2.2.1 is also "broken"
See #69

@djdefi
Copy link
Contributor

djdefi commented May 24, 2016

@GrahamCampbell
Copy link
Contributor

Thanks @djdefi. Hopefully we'll have 2.3.0 ready this weekend too. :)

@GrahamCampbell
Copy link
Contributor

That version mismatch will need fixing before then though.

@aurelben
Copy link

I have the exact same probleme on any version I try
posgres log is
ERROR: relation "settings" does not exist at character 29
STATEMENT: select "name", "value" from "settings"

cachet log is
2017-09-21 14:21:28,487 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-09-21 14:21:28,487 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2017-09-21 14:21:28,487 INFO success: queue-worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
172.17.0.1 - - [21/Sep/2017:14:21:45 +0000] "GET /setup/ HTTP/1.1" 500 3177 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" "-"
172.17.0.1 - - [21/Sep/2017:14:21:46 +0000] "GET /favicon.ico HTTP/1.1" 200 952 "http://172.17.0.3:8000/setup/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36" "-"

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

4 participants