Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. PeerTube
  3. cant start peertube after updateing latest cloudron

cant start peertube after updateing latest cloudron

Scheduled Pinned Locked Moved Solved PeerTube
14 Posts 3 Posters 768 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J joseph

    @awnzky interesting, so you had to create an empty custom.conf ?

    A Offline
    A Offline
    awnzky
    wrote on last edited by
    #5

    @joseph said in cant start peertube after updateing latest cloudron:

    @awnzky interesting, so you had to create an empty custom.conf ?

    i just copy paste from default conf. and rise temp_file_limit

    1 Reply Last reply
    0
    • J Offline
      J Offline
      joseph
      Staff
      wrote on last edited by
      #6

      @awnzky looks like temp_file_limit is set to 4GB by default. What did you raise this to? How big is your peertube database dump ? you can check /home/yellowtent/appsdata/<appid>/postgresqldump . Maybe we can increase the default size even more in the code.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        awnzky
        wrote on last edited by awnzky
        #7

        its about 32GB. raise to 8GB.
        i have new problem now. server crashed now. already remove custom.conf .
        If I look at htop, it seems that when starting postgressql, the server cannot be accessed immediately.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #8

          @awnzky i see, that's quie a large database. have you also given postgres a lot of memory? under Services -> Postgresql -> Configure

          1 Reply Last reply
          0
          • A Offline
            A Offline
            awnzky
            wrote on last edited by awnzky
            #9

            i give 36GB
            how to view postgress error log. maybe it can be done through system rescue. but where is the config that I have to edit to stop postgress on booting..
            i cant do anything in my server. just crashed. after postgressql start.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              awnzky
              wrote on last edited by
              #10

              i am using ubuntu 22 on Dual Xeon E5-2670 96GB memory.

              1 Reply Last reply
              0
              • A Offline
                A Offline
                awnzky
                wrote on last edited by awnzky
                #11
                here some error log 
                2025-03-24T13:21:29Z server started
                2025-03-24T13:21:29Z ==> Waiting for Postgres
                2025-03-24T13:21:29Z pg_ctl: server is running (PID: 15)
                2025-03-24T13:21:29Z /usr/lib/postgresql/16/bin/postgres "-D" "/var/lib/postgresql/16/main"
                2025-03-24T13:21:29Z ==> Postgres is running
                2025-03-24T13:21:29Z ==> Resetting root password
                2025-03-24T13:21:29Z ALTER ROLE
                2025-03-24T13:21:29Z ==> Upgrading pgvectors
                2025-03-24T13:21:29Z ERROR:  database "cloudronpgvectorupdate" already exists
                2025-03-24T13:21:29Z 2025-03-24 13:21:29.801 UTC [30] root@postgres ERROR:  database "cloudronpgvectorupdate" already exists
                2025-03-24T13:21:29Z 2025-03-24 13:21:29.801 UTC [30] root@postgres STATEMENT:  CREATE DATABASE cloudronpgvectorupdate
                2025-03-24T13:22:30Z ==> Detected existing installation
                2025-03-24T13:22:30Z ==> Copying updated config
                2025-03-24T13:22:30Z ==> Updating existing postgresql
                2025-03-24T13:22:30Z waiting for server to start....2025-03-24 13:22:30.157 GMT [15] LOG:  skipping missing configuration file "/var/lib/postgresql/16/main/custom.conf"
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.157 GMT [15] LOG:  skipping missing configuration file "/var/lib/postgresql/16/main/custom.conf"
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.186 UTC [15] LOG:  starting PostgreSQL 16.6 (Ubuntu 16.6-0ubuntu0.24.04.1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0, 64-bit
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.186 UTC [15] LOG:  listening on IPv4 address "0.0.0.0", port 5432
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.186 UTC [15] LOG:  listening on IPv6 address "::", port 5432
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.189 UTC [15] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.195 UTC [18] LOG:  database system was interrupted; last known up at 2025-03-24 13:21:29 UTC
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.315 UTC [18] LOG:  database system was not properly shut down; automatic recovery in progress
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.318 UTC [18] LOG:  redo starts at D/D9A09748
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.318 UTC [18] LOG:  invalid record length at D/D9A0AE20: expected at least 24, got 0
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.318 UTC [18] LOG:  redo done at D/D9A0ADC8 system usage: CPU: user: 0.00 s, system: 0.00 s, elapsed: 0.00 s
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.326 UTC [16] LOG:  checkpoint starting: end-of-recovery immediate wait
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.337 UTC [16] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.003 s, sync=0.003 s, total=0.013 s; sync files=4, longest=0.001 s, average=0.001 s; distance=5 kB, estimate=5 kB; lsn=D/D9A0AE20, redo lsn=D/D9A0AE20
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.342 UTC [15] LOG:  database system is ready to accept connections
                2025-03-24T13:22:30Z done
                2025-03-24T13:22:30Z server started
                2025-03-24T13:22:30Z ==> Waiting for Postgres
                2025-03-24T13:22:30Z pg_ctl: server is running (PID: 15)
                2025-03-24T13:22:30Z /usr/lib/postgresql/16/bin/postgres "-D" "/var/lib/postgresql/16/main"
                2025-03-24T13:22:30Z ==> Postgres is running
                2025-03-24T13:22:30Z ==> Resetting root password
                2025-03-24T13:22:30Z ALTER ROLE
                2025-03-24T13:22:30Z ==> Upgrading pgvectors
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.509 UTC [30] root@postgres ERROR:  database "cloudronpgvectorupdate" already exists
                2025-03-24T13:22:30Z 2025-03-24 13:22:30.509 UTC [30] root@postgres STATEMENT:  CREATE DATABASE cloudronpgvectorupdate
                2025-03-24T13:22:30Z ERROR:  database "cloudronpgvectorupdate" already exists
                
                1 Reply Last reply
                0
                • nebulonN Offline
                  nebulonN Offline
                  nebulon
                  Staff
                  wrote on last edited by
                  #12

                  Looks like you are hitting now a somewhat older issue with postgres. Does this fix work for you https://forum.cloudron.io/topic/11276/cloudron-update-to-7-7-0-postgresql-does-not-start/2?_=1723244919333 ?

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    awnzky
                    wrote on last edited by awnzky
                    #13

                    its working now. but with a little trick for my server. so i make postgree not start by making wrong custom.conf postgresql. the problem is when postgres start the server immediately crashes and can't do ssh or ping.
                    then i can enter dashboard and choose postgres recovery mode.

                    thanks for your help.

                    1 Reply Last reply
                    0
                    • nebulonN Offline
                      nebulonN Offline
                      nebulon
                      Staff
                      wrote on last edited by
                      #14

                      well glad it worked out somehow in the end.

                      1 Reply Last reply
                      0
                      • nebulonN nebulon marked this topic as a question on
                      • nebulonN nebulon has marked this topic as solved on
                      • BrutalBirdieB BrutalBirdie referenced this topic on
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search