posthog.com | Official docs , website , and handbook for PostHog | Learning library

 by   PostHog TypeScript Version: Current License: Non-SPDX

kandi X-RAY | posthog.com Summary

kandi X-RAY | posthog.com Summary

posthog.com is a TypeScript library typically used in Tutorial, Learning applications. posthog.com has no bugs, it has no vulnerabilities and it has low support. However posthog.com has a Non-SPDX License. You can download it from GitHub.

This is the repository for the PostHog website, which includes our Docs and Handbook. Please feel free to suggest any changes. See our contributing guide for more information.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              posthog.com has a low active ecosystem.
              It has 180 star(s) with 283 fork(s). There are 14 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 295 open issues and 1017 have been closed. On average issues are closed in 31 days. There are 73 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of posthog.com is current.

            kandi-Quality Quality

              posthog.com has no bugs reported.

            kandi-Security Security

              posthog.com has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              posthog.com has a Non-SPDX License.
              Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.

            kandi-Reuse Reuse

              posthog.com releases are not available. You will need to build from source code and install.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of posthog.com
            Get all kandi verified functions for this library.

            posthog.com Key Features

            No Key Features are available at this moment for posthog.com.

            posthog.com Examples and Code Snippets

            No Code Snippets are available at this moment for posthog.com.

            Community Discussions

            QUESTION

            self-hosted posthog has been down right after I rebooted my vps
            Asked 2022-Feb-07 at 09:08

            updated:

            To reproduce the issue is very simple with a few steps:

            1. Install it on your Ubuntu server by running the following command:

            /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/posthog/posthog/HEAD/bin/deploy-hobby)"

            1. During the auto installation process, you will be prompted to enter the domain for your Posthog site, so enter one and wait for the process to finish.

            2. Visit the domain you entered and it is accessbile.

            3. Now reboot your VPS and visit the domain again it is down forever. Not accessbile even if you use your vps ip address.

            I've tried this auto-installation and reboot thing three times on the same vps and ended up with the same result. I've also tried it on another vps by a new hosting provider, yet still the same issue. Fresh installation and the site will be down right after your reboot your vps!

            The following is the error log I got from the Caddy container, which is generated after the vps reboot:

            {"level":"error","ts":1642534398.9394724,"logger":"http.log.error","msg":"dial tcp 172.18.0.4:8000: connect: connection refused","request":{"remote_addr":"67.198.228.123:35424","proto":"HTTP/2.0","method":"GET","host":"","uri":"/preflight","headers":{"Sec-Ch-Ua":["" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96""],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"],"Sec-Fetch-Site":["cross-site"],"Accept-Language":["en-US,en;q=0.9"],"Accept-Encoding":["gzip, deflate, br"],"Cookie":["phtoolbar=yes; csrftoken=gsVfpdF56rbYgQQdwywH45zi83i386oe5KZZef3mIE00bumaQCG3i4OM35bdJIxQ; ph_sTMFPsFhdP1Ssg_posthog=%7B%22distinct_id%22%3A%22FpLgrw74q9qcclLSJ1bOrzsiPJmZtHdKswxemTFy9LG%22%7D"],"Cache-Control":["max-age=0"],"Sec-Ch-Ua-Mobile":["?0"],"Upgrade-Insecure-Requests":["1"],"Sec-Fetch-Dest":["document"],"Sec-Ch-Ua-Platform":[""macOS""],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Sec-Fetch-Mode":["navigate"],"Sec-Fetch-User":["?1"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":""}},"duration":0.008754516,"status":502,"err_id":"gicbjv2m4","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"} {"level":"error","ts":1642534401.5881941,"logger":"http.log.error","msg":"dial tcp 172.18.0.4:8000: connect: connection refused","request":{"remote_addr":"67.198.228.123:35424","proto":"HTTP/2.0","method":"GET","host":"","uri":"/preflight","headers":{"Cache-Control":["max-age=0"],"Sec-Ch-Ua-Mobile":["?0"],"Sec-Ch-Ua-Platform":[""macOS""],"Sec-Fetch-User":["?1"],"User-Agent":["Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"],"Sec-Ch-Ua":["" Not A;Brand";v="99", "Chromium";v="96", "Google Chrome";v="96""],"Sec-Fetch-Mode":["navigate"],"Accept-Encoding":["gzip, deflate, br"],"Upgrade-Insecure-Requests":["1"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,/;q=0.8,application/signed-exchange;v=b3;q=0.9"],"Sec-Fetch-Site":["cross-site"],"Sec-Fetch-Dest":["document"],"Accept-Language":["en-US,en;q=0.9"],"Cookie":["phtoolbar=yes; csrftoken=gsVfpdF56rbYgQQdwywH45zi83i386oe5KZZef3mIE00bumaQCG3i4OM35bdJIxQ; ph_sTMFPsFhdP1Ssg_posthog=%7B%22distinct_id%22%3A%22FpLgrw74q9qcclLSJ1bOrzsiPJmZtHdKswxemTFy9LG%22%7D"]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":""}},"duration":0.001907749,"status":502,"err_id":"27e15xwsj","err_trace":"reverseproxy.statusError (reverseproxy.go:886)"}

            By the way, this is their documentaion page FYI: https://posthog.com/docs/self-host/deploy/hobby

            Original question:

            I've installed Posthog with their so-called hobby installation script on my vps and at first it was working fine. But right after I rebooted ubuntu and visited my self-hosted posthog site again, it would not load and just showed a blank page. It seems that something went wrong after I rebooted my vps. I've checked all the services required by Posthog with the command docker ps, and everything is up and running(check the screenshot attached).

            I've been trying to figure it out for 4 days yet with no luck. I am new to docker and kubernetes so I do not know what causes the problem and what I should do. Please shed some light on this and help me :(

            ...

            ANSWER

            Answered 2022-Feb-07 at 09:08

            First things first, this is a docker-compose stack, not Kubernetes. If you take a look at the script you execute, you can see that it's downlowading docker compose and then uses it to start up your stack. As such, executing docker-compose stop && docker-compose start after your rebooted should fix this.

            The "problem" here is the docker compose yaml that is used for the hobby project, which includes the following:

            Source https://stackoverflow.com/questions/70706509

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install posthog.com

            Install Node and Yarn. Clone the repo then navigate into your new site’s directory, install the site dependencies, and start it up. Tip: Seeing a discrepancy between local development and staging/production? Preview the production build locally by running gatsby build && gatsby serve.
            Pre-Installation Install Node and Yarn. npm install --global yarn
            Start Developing Clone the repo then navigate into your new site’s directory, install the site dependencies, and start it up. cd posthog.com/ yarn yarn start Tip: Seeing a discrepancy between local development and staging/production? Preview the production build locally by running gatsby build && gatsby serve
            Open the Source Code and Start Editing! Your site is now running at http://localhost:8000! Note: You'll also see a second link: http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/PostHog/posthog.com.git

          • CLI

            gh repo clone PostHog/posthog.com

          • sshUrl

            git@github.com:PostHog/posthog.com.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link