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
  • Brite
  • 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 - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron Offline

Cloudron Offline

Scheduled Pinned Locked Moved Solved Support
15 Posts 2 Posters 1.8k Views 2 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.
  • SetsunehS Offline
    SetsunehS Offline
    Setsuneh
    wrote on last edited by
    #3

    Hi,

    I've got "Cloudron is offline, Reconnection ...".

    Here is the result

    cloudron-support --troubleshoot
    [OK]	nginx is running
    [OK]	docker is running
    [OK]	MySQL is running
    [OK]	box is running
    [OK]	unbound is running
    [OK]	Hairpin NAT is good
    [OK]	Domain XXX.fr is valid and has not expired
    
    girishG 1 Reply Last reply
    0
    • SetsunehS Setsuneh

      Hi,

      I've got "Cloudron is offline, Reconnection ...".

      Here is the result

      cloudron-support --troubleshoot
      [OK]	nginx is running
      [OK]	docker is running
      [OK]	MySQL is running
      [OK]	box is running
      [OK]	unbound is running
      [OK]	Hairpin NAT is good
      [OK]	Domain XXX.fr is valid and has not expired
      
      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #4

      @Setsuneh everything seems fine. Hmm. Do you see anything in /home/yellowtent/platformdata/logs/box.log ?

      1 Reply Last reply
      0
      • SetsunehS Offline
        SetsunehS Offline
        Setsuneh
        wrote on last edited by
        #5

        @girish I've put on the first message :

        * box-task-1777.service loaded failed failed /home/yellowtent/box/src/scripts/../taskworker.js 1777 /home/yellowtent/platformdata/logs/tasks/1777.log
        * box-task-1778.service loaded failed failed /home/yellowtent/box/src/scripts/../taskworker.js 1778 /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log
        
        2024-01-25T10:08:37.000Z box:shell stopTask (stdout): All tasks stopped
        

        1777 & 1778 errors provide from Backup Error & Gitlab Update error

        girishG 1 Reply Last reply
        0
        • SetsunehS Setsuneh

          @girish I've put on the first message :

          * box-task-1777.service loaded failed failed /home/yellowtent/box/src/scripts/../taskworker.js 1777 /home/yellowtent/platformdata/logs/tasks/1777.log
          * box-task-1778.service loaded failed failed /home/yellowtent/box/src/scripts/../taskworker.js 1778 /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log
          
          2024-01-25T10:08:37.000Z box:shell stopTask (stdout): All tasks stopped
          

          1777 & 1778 errors provide from Backup Error & Gitlab Update error

          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #6

          @Setsuneh mm, in the box logs usually one can see that it is starting up. Looks like it is not for some reason. Can you try systemctl restart box ? You should see some logs like this:

          2024-01-25T11:18:22.046Z box:server ==========================================
          2024-01-25T11:18:22.047Z box:server            Cloudron 7.6.4  
          2024-01-25T11:18:22.047Z box:server ==========================================
          2024-01-25T11:18:22.047Z box:platform initializing platform
          2024-01-25T11:18:22.099Z box:tasks stopAllTasks: stopping all tasks
          2024-01-25T11:18:22.100Z box:shell stopTask spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
          2024-01-25T11:18:22.151Z box:shell stopTask (stdout): All tasks stopped
          
          2024-01-25T11:18:22.170Z box:reverseproxy writeDashboardConfig: writing dashboard config for smartserver.io
          2024-01-25T11:18:22.204Z box:shell reload spawn: /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
          2024-01-25T11:18:22.461Z box:platform onActivated: starting post activation services
          2024-01-25T11:18:22.462Z box:platform startInfra: checking infrastructure
          2024-01-25T11:18:22.463Z box:platform startInfra: infra is uptodate at version 49.5.0
          2024-01-25T11:18:22.463Z box:platform onInfraReady: platform is ready. infra changed: false
          2024-01-25T11:18:22.463Z box:apps schedulePendingTasks: scheduling app tasks
          2024-01-25T11:18:22.491Z box:cron startJobs: starting cron jobs with hour 8 and minute 13
          ...
          
          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #7

            As a final resort, if there is nothing helpful there, please write to support@cloudron.io and we have to debug further.

            1 Reply Last reply
            0
            • SetsunehS Offline
              SetsunehS Offline
              Setsuneh
              wrote on last edited by
              #8

              No i don't have theses logs, but theses ones :

              2024-01-25T10:01:47.569Z box:shell startTask code: 1, signal: null
              2024-01-25T10:01:47.569Z box:tasks startTask: 1775 completed with code 1
              2024-01-25T10:01:47.571Z box:tasks setCompleted - 1775: {"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
              2024-01-25T10:01:47.571Z box:tasks update 1775: {"percent":100,"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
              2024-01-25T10:01:47.574Z box:apps scheduleTask: task 1775 of 7088a5c3-3699-42ba-bfe2-b39c28b77892 completed
              2024-01-25T10:01:47.574Z box:apps Apptask crashed/stopped: Task 1775 crashed with code 1
              2024-01-25T10:01:47.575Z box:locker Released : apptask
              2024-01-25T10:01:47.575Z box:scheduler resumeJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
              2024-01-25T10:01:47.575Z box:tasks startTask: 1775 done. error: { message: 'Task 1775 crashed with code 1', code: 'crashed' }
              2024-01-25T10:01:50.204Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
              2024-01-25T10:01:56.935Z box:updatechecker checkBoxUpdates: checking for updates
              2024-01-25T10:01:57.411Z box:updatechecker checkBoxUpdates: Skipping notification of box update 7.6.4 as user was already notified
              2024-01-25T10:01:57.411Z box:updatechecker checkAppUpdates: checking for updates
              2024-01-25T10:02:00.251Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
              2024-01-25T10:02:02.842Z box:locker Acquired : apptask
              2024-01-25T10:02:02.842Z box:scheduler suspendJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
              2024-01-25T10:02:02.842Z box:tasks startTask - starting task 1776 with options {"timeout":72000000,"nice":15,"memoryLimit":400,"logFile":"/home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log"}. logs at /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log
              2024-01-25T10:02:02.842Z box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 1776 /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log 15 400
              2024-01-25T10:02:02.962Z box:shell startTask (stderr): Running as unit: box-task-1776.service
              
              2024-01-25T10:02:03.142Z box:shell startTask (stderr): /home/yellowtent/box/src/apps.js:359
                  let schedulerConfig = app.manifest.addons?.scheduler || null;
                                                            ^
              
              SyntaxError: Unexpected token '.'
                  at wrapSafe (internal/modules/cjs/loader.js:915:16)
                  at Module._compile (internal/modules/cjs/loader.js:963:27)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  at Module.load (internal/modules/cjs/loader.js:863:32)
                  at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                  at Module.require (internal/modules/cjs/loader.js:887:19)
                  at require (internal/modules/cjs/helpers.js:74:18)
                  at Object.<anonymous> (/home/yellowtent/box/src/apptask.js:14:14)
                  at Module._compile (internal/modules/cjs/loader.js:999:30)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
              
              2024-01-25T10:02:03.149Z box:shell startTask (stderr): Finished with result: exit-code
              Main processes terminated with: code=exited/status=1
              Service runtime: 179ms
              CPU time consumed: 179ms
              

              Ticket is already open but my mail is down with this problem 😕

              girishG 2 Replies Last reply
              0
              • SetsunehS Setsuneh

                No i don't have theses logs, but theses ones :

                2024-01-25T10:01:47.569Z box:shell startTask code: 1, signal: null
                2024-01-25T10:01:47.569Z box:tasks startTask: 1775 completed with code 1
                2024-01-25T10:01:47.571Z box:tasks setCompleted - 1775: {"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
                2024-01-25T10:01:47.571Z box:tasks update 1775: {"percent":100,"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
                2024-01-25T10:01:47.574Z box:apps scheduleTask: task 1775 of 7088a5c3-3699-42ba-bfe2-b39c28b77892 completed
                2024-01-25T10:01:47.574Z box:apps Apptask crashed/stopped: Task 1775 crashed with code 1
                2024-01-25T10:01:47.575Z box:locker Released : apptask
                2024-01-25T10:01:47.575Z box:scheduler resumeJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
                2024-01-25T10:01:47.575Z box:tasks startTask: 1775 done. error: { message: 'Task 1775 crashed with code 1', code: 'crashed' }
                2024-01-25T10:01:50.204Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
                2024-01-25T10:01:56.935Z box:updatechecker checkBoxUpdates: checking for updates
                2024-01-25T10:01:57.411Z box:updatechecker checkBoxUpdates: Skipping notification of box update 7.6.4 as user was already notified
                2024-01-25T10:01:57.411Z box:updatechecker checkAppUpdates: checking for updates
                2024-01-25T10:02:00.251Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
                2024-01-25T10:02:02.842Z box:locker Acquired : apptask
                2024-01-25T10:02:02.842Z box:scheduler suspendJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
                2024-01-25T10:02:02.842Z box:tasks startTask - starting task 1776 with options {"timeout":72000000,"nice":15,"memoryLimit":400,"logFile":"/home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log"}. logs at /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log
                2024-01-25T10:02:02.842Z box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 1776 /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log 15 400
                2024-01-25T10:02:02.962Z box:shell startTask (stderr): Running as unit: box-task-1776.service
                
                2024-01-25T10:02:03.142Z box:shell startTask (stderr): /home/yellowtent/box/src/apps.js:359
                    let schedulerConfig = app.manifest.addons?.scheduler || null;
                                                              ^
                
                SyntaxError: Unexpected token '.'
                    at wrapSafe (internal/modules/cjs/loader.js:915:16)
                    at Module._compile (internal/modules/cjs/loader.js:963:27)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                    at Module.load (internal/modules/cjs/loader.js:863:32)
                    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                    at Module.require (internal/modules/cjs/loader.js:887:19)
                    at require (internal/modules/cjs/helpers.js:74:18)
                    at Object.<anonymous> (/home/yellowtent/box/src/apptask.js:14:14)
                    at Module._compile (internal/modules/cjs/loader.js:999:30)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                
                2024-01-25T10:02:03.149Z box:shell startTask (stderr): Finished with result: exit-code
                Main processes terminated with: code=exited/status=1
                Service runtime: 179ms
                CPU time consumed: 179ms
                

                Ticket is already open but my mail is down with this problem 😕

                girishG Offline
                girishG Offline
                girish
                Staff
                wrote on last edited by
                #9

                @Setsuneh got the ticket, can you also run cloudron-support --enable-ssh ? This will let us SSH.

                1 Reply Last reply
                0
                • SetsunehS Setsuneh

                  No i don't have theses logs, but theses ones :

                  2024-01-25T10:01:47.569Z box:shell startTask code: 1, signal: null
                  2024-01-25T10:01:47.569Z box:tasks startTask: 1775 completed with code 1
                  2024-01-25T10:01:47.571Z box:tasks setCompleted - 1775: {"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
                  2024-01-25T10:01:47.571Z box:tasks update 1775: {"percent":100,"error":{"message":"Task 1775 crashed with code 1","code":"crashed"}}
                  2024-01-25T10:01:47.574Z box:apps scheduleTask: task 1775 of 7088a5c3-3699-42ba-bfe2-b39c28b77892 completed
                  2024-01-25T10:01:47.574Z box:apps Apptask crashed/stopped: Task 1775 crashed with code 1
                  2024-01-25T10:01:47.575Z box:locker Released : apptask
                  2024-01-25T10:01:47.575Z box:scheduler resumeJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
                  2024-01-25T10:01:47.575Z box:tasks startTask: 1775 done. error: { message: 'Task 1775 crashed with code 1', code: 'crashed' }
                  2024-01-25T10:01:50.204Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
                  2024-01-25T10:01:56.935Z box:updatechecker checkBoxUpdates: checking for updates
                  2024-01-25T10:01:57.411Z box:updatechecker checkBoxUpdates: Skipping notification of box update 7.6.4 as user was already notified
                  2024-01-25T10:01:57.411Z box:updatechecker checkAppUpdates: checking for updates
                  2024-01-25T10:02:00.251Z box:apphealthmonitor app health: 10 running / 0 stopped / 2 unresponsive
                  2024-01-25T10:02:02.842Z box:locker Acquired : apptask
                  2024-01-25T10:02:02.842Z box:scheduler suspendJobs: 7088a5c3-3699-42ba-bfe2-b39c28b77892
                  2024-01-25T10:02:02.842Z box:tasks startTask - starting task 1776 with options {"timeout":72000000,"nice":15,"memoryLimit":400,"logFile":"/home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log"}. logs at /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log
                  2024-01-25T10:02:02.842Z box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 1776 /home/yellowtent/platformdata/logs/7088a5c3-3699-42ba-bfe2-b39c28b77892/apptask.log 15 400
                  2024-01-25T10:02:02.962Z box:shell startTask (stderr): Running as unit: box-task-1776.service
                  
                  2024-01-25T10:02:03.142Z box:shell startTask (stderr): /home/yellowtent/box/src/apps.js:359
                      let schedulerConfig = app.manifest.addons?.scheduler || null;
                                                                ^
                  
                  SyntaxError: Unexpected token '.'
                      at wrapSafe (internal/modules/cjs/loader.js:915:16)
                      at Module._compile (internal/modules/cjs/loader.js:963:27)
                      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                      at Module.load (internal/modules/cjs/loader.js:863:32)
                      at Function.Module._load (internal/modules/cjs/loader.js:708:14)
                      at Module.require (internal/modules/cjs/loader.js:887:19)
                      at require (internal/modules/cjs/helpers.js:74:18)
                      at Object.<anonymous> (/home/yellowtent/box/src/apptask.js:14:14)
                      at Module._compile (internal/modules/cjs/loader.js:999:30)
                      at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
                  
                  2024-01-25T10:02:03.149Z box:shell startTask (stderr): Finished with result: exit-code
                  Main processes terminated with: code=exited/status=1
                  Service runtime: 179ms
                  CPU time consumed: 179ms
                  

                  Ticket is already open but my mail is down with this problem 😕

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #10

                  @Setsuneh said in Cloudron Offline:

                  SyntaxError: Unexpected token '.'
                  at wrapSafe (internal/modules/cjs/loader.js:915:16)
                  at Module._compile (internal/modules/cjs/loader.js:963:27)
                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)

                  aha! most likely nodejs in the server has changed. Did you install additional package/things on the server?

                  1 Reply Last reply
                  0
                  • SetsunehS Offline
                    SetsunehS Offline
                    Setsuneh
                    wrote on last edited by
                    #11

                    Accès done, thank you !
                    Hum no, only Crowdsev, but seems it does not need nodejs

                    girishG 1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #12

                      @Setsuneh yeah, node got downgraded

                      # node --version
                      v12.22.9
                      
                      1 Reply Last reply
                      0
                      • SetsunehS Setsuneh

                        Accès done, thank you !
                        Hum no, only Crowdsev, but seems it does not need nodejs

                        girishG Offline
                        girishG Offline
                        girish
                        Staff
                        wrote on last edited by
                        #13

                        @Setsuneh I have switched back node now to 18.16.0 which Cloudron requires.

                        (generally, this is why we don't recommend installing additional packages. they have side effects.)

                        I did this to bring it back up (in case it broke other things):

                        node_version=18.16.0
                        ln -sf /usr/local/node-${node_version}/bin/node /usr/bin/node
                        ln -sf /usr/local/node-${node_version}/bin/npm /usr/bin/npm
                        systemctl restart box
                        
                        1 Reply Last reply
                        1
                        • girishG girish marked this topic as a question on
                        • girishG girish has marked this topic as solved on
                        • SetsunehS Offline
                          SetsunehS Offline
                          Setsuneh
                          wrote on last edited by
                          #14

                          You rocks thank you very much ! If I understand, it's due to Crowdsec ?

                          girishG 1 Reply Last reply
                          0
                          • SetsunehS Setsuneh

                            You rocks thank you very much ! If I understand, it's due to Crowdsec ?

                            girishG Offline
                            girishG Offline
                            girish
                            Staff
                            wrote on last edited by
                            #15

                            @Setsuneh that I don't know. Never used crowdsec.

                            1 Reply Last reply
                            0

                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                            With your input, this post could be even better 💗

                            Register Login
                            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