2020-02-15 14:16:11 UTC - Rodrigo Batista: Hello everyone. I'm trying to use the pulse manager, but I can't. ---- 2020-02-15 14:16:21 UTC - Rodrigo Batista: my docker-compose ---- 2020-02-15 14:16:36 UTC - Rodrigo Batista: ---- 2020-02-15 14:16:56 UTC - Rodrigo Batista: and the errors: ---- 2020-02-15 14:17:10 UTC - Rodrigo Batista: ---- 2020-02-15 14:17:27 UTC - Damian Franetovich: Did you check the log in the manager container? ---- 2020-02-15 14:19:25 UTC - Damian Franetovich: i was having some issues with the db connection and I only can see the error doing an `docker exec -it <container> bash` and looking in the log file ---- 2020-02-15 14:19:37 UTC - Rodrigo Batista: yeah.. but seems to be ok. ---- 2020-02-15 14:21:38 UTC - Damian Franetovich: may be if you delete the postgres datadir and let the manager recreate the schema? ---- 2020-02-15 14:23:00 UTC - Damian Franetovich: in your compose I saw this ---- 2020-02-15 14:23:07 UTC - Damian Franetovich: ```POSTGRES_USER: "posgres"``` ---- 2020-02-15 14:28:48 UTC - Rodrigo Batista: I changed the wrong name, I deleted the volume, and even then the error persists. ---- 2020-02-15 14:30:07 UTC - Rodrigo Batista: the new log ---- 2020-02-15 14:30:21 UTC - Rodrigo Batista: ---- 2020-02-15 14:31:33 UTC - Damian Franetovich: seems that is using another user/pass for DB ---- 2020-02-15 14:31:38 UTC - Damian Franetovich: ---- 2020-02-15 14:31:54 UTC - Rodrigo Batista: yeah, i changed all for pulsar ---- 2020-02-15 14:32:09 UTC - Rodrigo Batista: postgres and pulsar-manager ---- 2020-02-15 14:32:37 UTC - Damian Franetovich: can you paste the new compose yml ? ---- 2020-02-15 15:49:41 UTC - Rodrigo Batista: ok.. i found the error and fixed it. ---- 2020-02-15 15:50:04 UTC - Damian Franetovich: what was it? ---- 2020-02-15 15:51:08 UTC - Rodrigo Batista: The problem was that pulsar-manage connected to postgres, but did not create the tables automatically. So I added this code to the postgres script. (<Https://github.com/apache/pulsar-manager/blob/branch-0.1.0/docker/init_db.sql>) ---- 2020-02-15 15:51:57 UTC - Rodrigo Batista: and worked like a charm :smiley: clap : Damian Franetovich ---- 2020-02-15 15:52:38 UTC - Damian Franetovich: great! may be just create the schema only in their internal db ---- 2020-02-15 15:53:26 UTC - Damian Franetovich: in the container pulsar-manager have a postgre to use if you don’t want to configure an external one ---- 2020-02-15 15:53:32 UTC - Rodrigo Batista: yeah.. I found on issue 250 <https://github.com/apache/pulsar-manager/issues/250> ---- 2020-02-15 15:56:34 UTC - Damian Franetovich: ```Yes, the current automatic creation is on the local database. If you use an external database, you need to manually execute SQL statements. The script <https://github.com/apache/pulsar-manager/blob/branch-0.1.0/docker/entrypoint.sh> is actually executed includes creating users, creating databases, creating tables, authorizing, etc. However, we assume that the user has already completed these operations for the external database used by the user. @agilob``` ---- 2020-02-15 15:56:49 UTC - Damian Franetovich: this comment shoul be more visible in the doc’s :cry: ---- 2020-02-15 17:03:49 UTC - dvsv2: @dvsv2 has joined the channel ---- 2020-02-15 17:14:57 UTC - Mikhail Veygman: I there a way to create a set of Pulsar Producers all at once and set topic later? ---- 2020-02-15 20:13:56 UTC - Lari Hotari: I reported the issue at <https://github.com/apache/pulsar/issues/6333> ---- 2020-02-15 23:08:40 UTC - Rodrigo Batista: My pulsar-dashboard doesn't want to show the topics I created. Did I configure something wrong? ---- 2020-02-15 23:09:23 UTC - Rodrigo Batista: ---- 2020-02-16 04:14:47 UTC - Sijie Guo: pulsar-dashboard is based on topic stats. if there is no traffic, it will not show up. ---- 2020-02-16 04:17:03 UTC - Sijie Guo: Are you interested in contributing a pull request to improve the documentation? ---- 2020-02-16 04:17:04 UTC - Sijie Guo: :slightly_smiling_face: ----
