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
Z

ZeZaung

@ZeZaung
About
Posts
44
Topics
14
Shares
0
Groups
0
Followers
0
Following
1

Posts

Recent Best Controversial

  • Docker service failed after docker-compose install
    Z ZeZaung

    @girish I can't thank you enough. Had some difficulties with the -o /tmp/filename.deb (it wasn't saving the file) so I downloaded and renamed the .deb onto my computer, filezilla'd to my home directory, then used mv filename.deb /tmp

    I restarted unbound and everything started running perfectly

    Here is the result:
    The lib files seemed untouched

    root@cloudron0:/var/lib/docker# ls -al
    total 200
    drwx--x--x  14 root root  4096 Aug  6 14:31  .
    drwxr-xr-x  47 root root  4096 Dec 10  2020  ..
    drwx------   2 root root  4096 Dec 10  2020  builder
    drwx--x--x   4 root root  4096 Mar 15 03:35  buildkit
    drwx-----x  59 root root 12288 Aug  6 13:32  containers
    drwx------   3 root root  4096 Dec 10  2020  image
    drwxr-x---   3 root root  4096 Dec 10  2020  network
    drwx-----x 507 root root 73728 Aug  6 13:57  overlay2
    drwx------   4 root root  4096 Dec 10  2020  plugins
    drwx------   2 root root  4096 Aug  6 13:57  runtimes
    drwx------   2 root root  4096 Dec 10  2020  swarm
    drwx------   2 root root  4096 Aug  6 13:57  tmp
    drwx------   2 root root  4096 Dec 10  2020  trust
    drwx-----x 458 root root 61440 Aug  6 13:57  volumes
    -rw-r--r--   1 root root  1394 Aug  6 14:31 'ystemctl status unbound'
    

    I hope this worked the way it should:

    root@cloudron0:/tmp# apt install -y /tmp/containerd.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'containerd.io' instead of '/tmp/containerd.deb'
    The following packages were automatically installed and are no longer required:
      amd64-microcode aufs-tools cgroupfs-mount golang-docker-credential-helpers intel-microcode iucode-tool libsecret-1-0
      libsecret-common pigz python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi
      python-cffi-backend python-chardet python-cryptography python-docker python-dockerpty python-dockerpycreds
      python-docopt python-enum34 python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema
      python-mock python-openssl python-pbr python-pkg-resources python-requests python-six python-texttable
      python-urllib3 python-websocket python-yaml
    Use 'apt autoremove' to remove them.
    The following NEW packages will be installed:
      containerd.io
    0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
    After this operation, 129 MB of additional disk space will be used.
    Get:1 /tmp/containerd.deb containerd.io amd64 1.4.3-1 [28.1 MB]
    Selecting previously unselected package containerd.io.
    (Reading database ... 151160 files and directories currently installed.)
    Preparing to unpack /tmp/containerd.deb ...
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'docker-ce-cli' instead of '/tmp/docker-ce-cli.deb'
    docker-ce-cli is already the newest version (5:20.10.3~3-0~ubuntu-bionic).
    The following packages were automatically installed and are no longer required:
      amd64-microcode aufs-tools cgroupfs-mount golang-docker-credential-helpers intel-microcode iucode-tool libsecret-1-0
      libsecret-common pigz python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi
      python-cffi-backend python-chardet python-cryptography python-docker python-dockerpty python-dockerpycreds
      python-docopt python-enum34 python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema
      python-mock python-openssl python-pbr python-pkg-resources python-requests python-six python-texttable
      python-urllib3 python-websocket python-yaml
    Use 'apt autoremove' to remove them.
    0 upgraded, 0 newly installed, 0 to remove and 43 not upgraded.
    root@cloudron0:/tmp# apt install -y /tmp/docker.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Note, selecting 'docker-ce' instead of '/tmp/docker.deb'
    The following packages were automatically installed and are no longer required:
      amd64-microcode golang-docker-credential-helpers intel-microcode iucode-tool libsecret-1-0 libsecret-common
      python-asn1crypto python-backports.ssl-match-hostname python-cached-property python-certifi python-cffi-backend
      python-chardet python-cryptography python-docker python-dockerpty python-dockerpycreds python-docopt python-enum34
      python-funcsigs python-functools32 python-idna python-ipaddress python-jsonschema python-mock python-openssl
      python-pbr python-pkg-resources python-requests python-six python-texttable python-urllib3 python-websocket
      python-yaml
    Use 'apt autoremove' to remove them.
    Recommended packages:
      docker-ce-rootless-extras
    The following NEW packages will be installed:
      docker-ce
    0 upgraded, 1 newly installed, 0 to remove and 43 not upgraded.
    After this operation, 121 MB of additional disk space will be used.
    Get:1 /tmp/docker.deb docker-ce amd64 5:20.10.3~3-0~ubuntu-bionic [24.8 MB]
    Selecting previously unselected package docker-ce.
    (Reading database ... 151174 files and directories currently installed.)
    Preparing to unpack /tmp/docker.deb ...
    Unpacking docker-ce (5:20.10.3~3-0~ubuntu-bionic) ...
    Setting up docker-ce (5:20.10.3~3-0~ubuntu-bionic) ...
    Processing triggers for systemd (237-3ubuntu10.43) ...#############################.................................]
    Processing triggers for ureadahead (0.100.0-21) ...
    
    root@cloudron0:/tmp# systemctl status box
    ● box.service - Cloudron Admin
       Loaded: loaded (/etc/systemd/system/box.service; enabled; vendor preset: enabled)
       Active: active (running) since Fri 2021-08-06 18:49:09 UTC; 3min 8s ago
     Main PID: 21658 (node)
        Tasks: 11 (limit: 4915)
       CGroup: /system.slice/box.service
               └─21658 node /home/yellowtent/box/box.js
    
    Aug 06 18:49:09 cloudron0 systemd[1]: Started Cloudron Admin.
    Aug 06 18:49:16 cloudron0 sudo[24775]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Aug 06 18:49:16 cloudron0 sudo[24775]: pam_unix(sudo:session): session closed for user root
    Aug 06 18:49:16 cloudron0 sudo[24838]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Aug 06 18:49:16 cloudron0 sudo[24838]: pam_unix(sudo:session): session closed for user root
    Aug 06 18:49:47 cloudron0 sudo[29454]: pam_unix(sudo:session): session opened for user root by (uid=0)
    Aug 06 18:49:47 cloudron0 sudo[29454]: pam_unix(sudo:session): session closed for user root
    root@cloudron0:/tmp# systemctl status unbound
    ● unbound.service - Unbound DNS Resolver
       Loaded: loaded (/etc/systemd/system/unbound.service; enabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Fri 2021-08-06 14:45:47 UTC; 4h 7min ago
     Main PID: 1346 (code=exited, status=1/FAILURE)
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    root@cloudron0:/tmp# unbound-anchor -a /var/lib/unbound/root.key
    boundroot@cloudron0:/tmp# systemctl restart unbound
    root@cloudron0:/tmp# systemctl status unbound
    ● unbound.service - Unbound DNS Resolver
       Loaded: loaded (/etc/systemd/system/unbound.service; enabled; vendor preset: enabled)
       Active: active (running) since Fri 2021-08-06 18:53:01 UTC; 3s ago
     Main PID: 4506 (unbound)
        Tasks: 1 (limit: 4915)
       CGroup: /system.slice/unbound.service
               └─4506 /usr/sbin/unbound -d
    
    Aug 06 18:53:01 cloudron0 systemd[1]: Started Unbound DNS Resolver.
    Aug 06 18:53:01 cloudron0 unbound[4506]: [4506:0] notice: init module 0: subnet
    Aug 06 18:53:01 cloudron0 unbound[4506]: [4506:0] notice: init module 1: validator
    Aug 06 18:53:01 cloudron0 unbound[4506]: [4506:0] notice: init module 2: iterator
    Aug 06 18:53:01 cloudron0 unbound[4506]: [4506:0] info: start of service (unbound 1.6.7).
    root@cloudron0:/tmp# systemctl status nginx
    ● nginx.service - nginx - high performance web 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 Fri 2021-08-06 14:45:45 UTC; 4h 7min ago
         Docs: http://nginx.org/en/docs/
     Main PID: 980 (nginx)
        Tasks: 5 (limit: 4915)
       CGroup: /system.slice/nginx.service
               ├─  980 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
               ├─29499 nginx: worker process
               ├─29500 nginx: worker process
               ├─29501 nginx: worker process
               └─29502 nginx: worker process
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    root@cloudron0:/tmp# systemctl status mysql
    ● mysql.service - MySQL Community Server
       Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled)
       Active: active (running) since Fri 2021-08-06 14:45:44 UTC; 4h 7min ago
     Main PID: 756 (mysqld)
        Tasks: 32 (limit: 4915)
       CGroup: /system.slice/mysql.service
               └─756 /usr/sbin/mysqld --daemonize --pid-file=/run/mysqld/mysqld.pid
    
    Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
    
    Support docker

  • After fixing an expired cert, dashboard and apps are unreachable.
    Z ZeZaung

    I followed the troubleshooting steps and noticed nginx wasn't starting due to a bad cert on a domain that expired years ago.

    I deleted the configs and restarted nginx, then reran /home/yellowtent/box/setup/start.sh

    2023-10-07T15:03:32 ==> start: Cloudron Start
    media:x:500:
    2023-10-07T15:03:32 ==> start: Configuring docker
    Synchronizing state of apparmor.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable apparmor
    2023-10-07T15:03:36 ==> start: Ensuring directories
    2023-10-07T15:03:36 ==> start: Configuring journald
    2023-10-07T15:03:38 ==> start: Setting up unbound
    2023-10-07T15:03:38 ==> start: Adding systemd services
    Synchronizing state of unbound.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable unbound
    Synchronizing state of cron.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install enable cron
    2023-10-07T15:03:52 ==> start: Configuring sudoers
    2023-10-07T15:03:52 ==> start: Configuring collectd
    2023-10-07T15:03:52 ==> start: Configuring sysctl
    2023-10-07T15:03:52 ==> start: Configuring logrotate
    2023-10-07T15:03:52 ==> start: Adding motd message for admins
    2023-10-07T15:03:52 ==> start: Configuring nginx
    2023-10-07T15:03:53 ==> start: Starting mysql
    mysqladmin: [Warning] Using a password on the command line interface can be insecure.
    Warning: Since password will be sent to server in plain text, use ssl connection to ensure password safety.
    mysql: [Warning] Using a password on the command line interface can be insecure.
    2023-10-07T15:03:53 ==> start: Migrating data
    Ignoring invalid configuration option passed to Connection: driver. This is currently a warning, but in future versions of MySQL2, an error will be thrown if you pass an invalid configuration option to a Connection
    [INFO] No migrations to run
    [INFO] Done
    2023-10-07T15:03:54 ==> start: Changing ownership
    2023-10-07T15:03:54 ==> start: Starting Cloudron
    2023-10-07T15:03:56 ==> start: Almost done
    

    Docker is running, nginx is running, unbound is running, but none of my apps or dashboard can be reached.

    Support

  • After fixing an expired cert, dashboard and apps are unreachable.
    Z ZeZaung

    I thought I would just restart the server in case that fixes things after the weekend. The dashboard came up and I was able to start troubleshooting the unresponsive apps. I guess this is one of those things that cloudron fixes itself with those health checks. Thanks

    Support
  • Login

  • Don't have an account? Register

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