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. Repetition Domainsetup

Repetition Domainsetup

Scheduled Pinned Locked Moved Solved Support
installationdomain setup
17 Posts 3 Posters 2.4k 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.
  • A Offline
    A Offline
    alwi
    wrote on last edited by
    #6

    What can I look for in /box.log?

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

      @alwi I guess some sort of "Error" (string) . What are the last 50 lines in the log file (try to get this after systemctl restart box and wait for 20 seconds)?

      A 1 Reply Last reply
      0
      • girishG girish

        @alwi I guess some sort of "Error" (string) . What are the last 50 lines in the log file (try to get this after systemctl restart box and wait for 20 seconds)?

        A Offline
        A Offline
        alwi
        wrote on last edited by alwi
        #8

        @girish Here the rows after systemctl restart box - "mydomain" is a placeholder:

        2024-05-29T16:08:46.796Z box:server            Cloudron 7.7.2
        2024-05-29T16:08:46.796Z box:server ==========================================
        2024-05-29T16:08:46.796Z box:platform initialize: start platform
        2024-05-29T16:08:46.818Z box:tasks stopAllTasks: stopping all tasks
        2024-05-29T16:08:46.818Z box:shell stopTask /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
        2024-05-29T16:08:46.864Z box:reverseproxy writeDashboardConfig: writing dashboard config for willnc.de
        2024-05-29T16:08:46.870Z box:shell isOscpEnabled execArgs: openssl ["x509","-in","/home/yellowtent/platformdata/nginx/cert/_.mydomain.de.cert","-noout","-ocsp_uri"]
        2024-05-29T16:08:46.881Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
        2024-05-29T16:08:47.019Z box:platform start: not activated. generating IP based redirection config
        2024-05-29T16:08:47.023Z box:reverseproxy writeDefaultConfig: writing configs for endpoint "setup"
        2024-05-29T16:08:47.024Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
        
        
        girishG 1 Reply Last reply
        0
        • A alwi

          @girish Here the rows after systemctl restart box - "mydomain" is a placeholder:

          2024-05-29T16:08:46.796Z box:server            Cloudron 7.7.2
          2024-05-29T16:08:46.796Z box:server ==========================================
          2024-05-29T16:08:46.796Z box:platform initialize: start platform
          2024-05-29T16:08:46.818Z box:tasks stopAllTasks: stopping all tasks
          2024-05-29T16:08:46.818Z box:shell stopTask /usr/bin/sudo -S /home/yellowtent/box/src/scripts/stoptask.sh all
          2024-05-29T16:08:46.864Z box:reverseproxy writeDashboardConfig: writing dashboard config for willnc.de
          2024-05-29T16:08:46.870Z box:shell isOscpEnabled execArgs: openssl ["x509","-in","/home/yellowtent/platformdata/nginx/cert/_.mydomain.de.cert","-noout","-ocsp_uri"]
          2024-05-29T16:08:46.881Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
          2024-05-29T16:08:47.019Z box:platform start: not activated. generating IP based redirection config
          2024-05-29T16:08:47.023Z box:reverseproxy writeDefaultConfig: writing configs for endpoint "setup"
          2024-05-29T16:08:47.024Z box:shell reload /usr/bin/sudo -S /home/yellowtent/box/src/scripts/restartservice.sh nginx
          
          
          girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #9

          @alwi ah ok, looks like it's running fine. I think something else is going wrong then - dns or network related. Are you able to ping your server by IP from the Mac ? You can also check if nginx is OK using systemctl status nginx .

          1 Reply Last reply
          0
          • A Offline
            A Offline
            alwi
            wrote on last edited by
            #10
            systemctl status nginx
            ● nginx.service - A high performance web server and a reverse proxy server
                 Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
                Drop-In: /etc/systemd/system/nginx.service.d
                         └─cloudron.conf
                 Active: active (running) since Wed 2024-05-29 15:40:26 UTC; 54min ago
                   Docs: man:nginx(8)
                Process: 822 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
                Process: 1196 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
               Main PID: 1197 (nginx)
                  Tasks: 5 (limit: 18340)
                 Memory: 13.0M
                    CPU: 232ms
                 CGroup: /system.slice/nginx.service
                         ├─1197 "nginx: master process /usr/sbin/nginx -g daemon on; master_process on;"
                         ├─1924 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
                         ├─1925 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
                         ├─1926 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
                         └─1927 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
            
            Mai 29 15:40:23 giga systemd[1]: Starting A high performance web server and a reverse proxy server...
            Mai 29 15:40:26 giga systemd[1]: Started A high performance web server and a reverse proxy server.
            
            
            1 Reply Last reply
            0
            • girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by girish
              #11

              @alwi yeah, that looks ok too. I think some DNS or networking issue then. I would debug this further like this:

              All on the PC/Mac:

              • Are you able to ping by IP?
              • Then, host my.domain.com . Does this translate to the IP?
              • Then, curl https://my.domain.com . Does this give some html?

              Are you hosting on some internal network or public VPS? If internal network, note that you have to setup port forwarding of port 443 from the public IP (i.e the DNS IP) to the private IP (i.e the VM)

              1 Reply Last reply
              0
              • A Offline
                A Offline
                alwi
                wrote on last edited by alwi
                #12

                to ping with the mac adress is new for me, I tried and

                10853 packets transmitted, 0 received, 100% packet loss, time 11112083ms
                
                1 Reply Last reply
                0
                • girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #13

                  Ah, I got confused from the initial post, I thought you were testing from the Mac (maybe you meant MAC - which is the hardware address?). Anyway, I mean to run those commands from your PC or computer on which you have your browser open.

                  A 1 Reply Last reply
                  0
                  • girishG girish

                    Ah, I got confused from the initial post, I thought you were testing from the Mac (maybe you meant MAC - which is the hardware address?). Anyway, I mean to run those commands from your PC or computer on which you have your browser open.

                    A Offline
                    A Offline
                    alwi
                    wrote on last edited by alwi
                    #14

                    @girish said in Repetition Domainsetup:

                    Anyway, I mean to run those commands from your PC or computer on which you have your browser open.

                    Yes, I did so

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

                      So, you have to investigate why you can't ping by IP address. The VM is unreachable.

                      1 Reply Last reply
                      0
                      • A Offline
                        A Offline
                        alwi
                        wrote on last edited by
                        #16

                        There are two categories of servers for me.
                        A) my home server, I can ping
                        B) the server at Cloudron, which is not accessible with the two specified addresses

                        1 Reply Last reply
                        0
                        • jamesJ Offline
                          jamesJ Offline
                          james
                          Staff
                          wrote on last edited by
                          #17

                          Closed due to inactivity

                          1 Reply Last reply
                          0
                          • jamesJ james 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