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. Support
  3. Restore failed, multiple issues

Restore failed, multiple issues

Scheduled Pinned Locked Moved Solved Support
restore
4 Posts 1 Posters 224 Views 1 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.
  • E Offline
    E Offline
    ekevu123
    wrote on last edited by joseph
    #1

    After restoring cloudron to a new server, I am seeing this:

    sed: can't read /home/yellowtent/platformdata/nginx/applications/dashboard/DOMAIN.conf: No such file or directory
    Could not open file or uri for loading certificate from 
    40A7F9D3317B0000:error:16000069:STORE routines:ossl_store_get0_loader_int:unregistered scheme:../crypto/store/store_register.c:237:scheme=file
    40A7F9D3317B0000:error:80000002:system library:file_open:No such file or directory:../providers/implementations/storemgmt/file_store.c:267:calling stat()
    Unable to load certificate
    [FAIL]	Certificate has expired. Certificate expired at 
    	Please check /home/yellowtent/platformdata/logs/tasks/9929.log for last cert renewal logs
    	Common issues include expiry of domain's API key OR incoming http port 80 not being open
    

    What can I do? The dashboard is not accessible and the domain doesn't have an API key as the registrar is not supported. I did change the DNS settings and have confirmed that the domain reroutes to the new IP.

    1 Reply Last reply
    1
    • E Offline
      E Offline
      ekevu123
      wrote on last edited by ekevu123
      #2

      I was able to get access without SSL from another browser, but renewing certificates seems to fail. Also, all services are working but the mail service. When I try to restart it, I get this:
      Could not read dhparams ENOENT: no such file or directory,

      home/yellowtent/plattformdata/dhparams.pem
      

      From the logs when I try to restart the mail service:

      Mar 21 15:00:46 box:mailserver restart: restarting mail container with mailFqdn:my.DOMAIN mailDomain:DOMAIN
      Mar 21 15:00:46 box:locks write: current locks: {"mail_restart":null}
      Mar 21 15:00:46 box:locks acquire: mail_restart
      Mar 21 15:00:46 box:locks write: current locks: {}
      Mar 21 15:00:46 box:locks release: mail_restart
      

      This is the error when trying to renew the certificates:

      Mar 21 15:02:38 box:tasks startTask: 9968 done. error: { stack: 'BoxError: Error reloading nginx: reverseproxy exited with code 1 signal null\n' + ' at reload (/home/yellowtent/box/src/reverseproxy.js:188:22)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' + ' at async writeAppConfigs (/home/yellowtent/box/src/reverseproxy.js:581:5)\n' + ' at async checkCerts (/home/yellowtent/box/src/reverseproxy.js:687:13)', name: 'BoxError', reason: 'Nginx Error', details: {}, message: 'Error reloading nginx: reverseproxy exited with code 1 signal null' }
      
      1 Reply Last reply
      1
      • E Offline
        E Offline
        ekevu123
        wrote on last edited by ekevu123
        #3

        I solved the ssl issue using this and adapting the permissions to 644 and root:root, now I can access the server via ssl:
        sudo openssl dhparam -out /home/yellowtent/platformdata/dhparams.pem 2048

        Mail service works as well now and I can connect to my inboxes, BUT, I believe that not all emails have been restored based on the amount of GB of maildata. Is there any way how I can verify this? Perhaps even trigger an import from backup once more without overwriting any new occurences?

        Restoring apps is everywhere "queued", but I don't see in the logs that the system attempts to restore them.

        If I run cloudron logs --app APP from my computer, I get this:

        /home/ME/.nvm/versions/node/v21.6.2/lib/node_modules/cloudron/src/actions.js:970
                req.on('response', function (response) {
                    ^
        
        TypeError: req.on is not a function
            at Command.logs (/home/ME/.nvm/versions/node/v21.6.2/lib/node_modules/cloudron/src/actions.js:970:13)
            at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
        
        Node.js v21.6.2
        

        Although the service mongodb seems to be running, I get this in the logs:

        Mar 21 15:30:03 box:services Attempt 8 failed. Will retry: Error waiting for mongodb. Status code: 401 message: undefined
        

        and something similar for redis:

        Mar 21 15:30:29 box:services Attempt 1 failed. Will retry: Network error waiting for redis-f181a951-84c4-4b8d-a583-d34646f5b8f2: connect ECONNREFUSED 172.18.0.9:3000
        
        1 Reply Last reply
        1
        • E Offline
          E Offline
          ekevu123
          wrote on last edited by
          #4

          Apparently, this has resolved itself, except for other, more specific issues, but I will open new threads for these to resolve them separately.

          1 Reply Last reply
          2
          • J joseph marked this topic as a question on
          • J joseph has marked this topic as solved 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