Trying to launch Uptime Kuma within Portainer or the docker compose command on Asustor using the docker-composer.yml file and getting an error message. I am able to launch the container on other systems including Windows and Ubuntu/Debian.
==> Performing startup jobs and maintenance tasks
changed ownership of '/app/data' from 1001:users to 0:0
==> Starting application with user 0 group 0
Welcome to Uptime Kuma
node:internal/modules/cjs/loader:998
throw err;
^
Error: Cannot find module 'dayjs'
Require stack:
/app/server/server.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
at Function.Module._load (node:internal/modules/cjs/loader:841:27)
at Module.require (node:internal/modules/cjs/loader19)
at require (node:internal/modules/cjs/helpers:103:18)
at Object. (/app/server/server.js:9:15)
at Module._compile (node:internal/modules/cjs/loader14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader10)
at Module.load (node:internal/modules/cjs/loader32)
at Function.Module._load (node:internal/modules/cjs/loader:878:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/app/server/server.js' ]
}
Docker compose:
version: '3.3'
services:
uptime-kuma:
image: louislam/uptime-kuma:1
container_name: uptime-kuma
volumes:
- ./uptime-kuma-data:/app/data
ports:
- 3001:3001 # :
restart: always
Portainer containers not launching
-
- Posts: 3
- youtube meble na wymiar Warszawa
- Joined: Sun Nov 20, 2022 3:10 am
-
- Posts: 20
- Joined: Thu Nov 24, 2022 10:03 pm
- Nazar78
- Posts: 2085
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Portainer containers not launching
No issues here:
Code: Select all
docker rm -f UptimeKuma>/dev/null 2>&1
docker create -i -t --name=UptimeKuma \
-p 3001:3001 \
-v /etc/localtime:/etc/localtime:ro \
-v /share/Docker/UptimeKuma:/app/data:rw \
louislam/uptime-kuma:latest
docker start UptimeKuma
Code: Select all
docker logs UptimeKuma
==> Performing startup jobs and maintenance tasks
changed ownership of '/app/data/kuma.db-wal' from 999:999 to 0:0
changed ownership of '/app/data/kuma.db-wal.bak0' from 999:999 to 0:0
changed ownership of '/app/data/upload' from 999:999 to 0:0
changed ownership of '/app/data/uptime-kuma.docker' from 999:999 to 0:0
changed ownership of '/app/data/kuma.db-shm.bak0' from 999:999 to 0:0
changed ownership of '/app/data/kuma.db' from 999:999 to 0:0
changed ownership of '/app/data/kuma.db.bak0' from 999:999 to 0:0
changed ownership of '/app/data/kuma.db-shm' from 999:999 to 0:0
changed ownership of '/app/data' from 999:999 to 0:0
==> Starting application with user 0 group 0
Welcome to Uptime Kuma
Your Node.js version: 16
2023-01-27T13:25:13Z [SERVER] INFO: Welcome to Uptime Kuma
2023-01-27T13:25:13Z [SERVER] INFO: Node Env: production
2023-01-27T13:25:13Z [SERVER] INFO: Importing Node libraries
2023-01-27T13:25:13Z [SERVER] INFO: Importing 3rd-party libraries
2023-01-27T13:25:14Z [SERVER] INFO: Creating express and socket.io instance
2023-01-27T13:25:14Z [SERVER] INFO: Server Type: HTTP
2023-01-27T13:25:14Z [SERVER] INFO: Importing this project modules
2023-01-27T13:25:15Z [NOTIFICATION] INFO: Prepare Notification Providers
2023-01-27T13:25:15Z [SERVER] INFO: Version: 1.19.6
2023-01-27T13:25:15Z [DB] INFO: Data Dir: ./data/
2023-01-27T13:25:15Z [SERVER] INFO: Connecting to the Database
2023-01-27T13:25:15Z [DB] INFO: SQLite config:
[ { journal_mode: 'wal' } ]
[ { cache_size: -12000 } ]
2023-01-27T13:25:15Z [DB] INFO: SQLite Version: 3.39.4
2023-01-27T13:25:15Z [SERVER] INFO: Connected
2023-01-27T13:25:15Z [DB] INFO: Your database version: 10
2023-01-27T13:25:15Z [DB] INFO: Latest database version: 10
2023-01-27T13:25:15Z [DB] INFO: Database patch not needed
2023-01-27T13:25:15Z [DB] INFO: Database Patch 2.0 Process
2023-01-27T13:25:15Z [SERVER] INFO: Load JWT secret from database.
2023-01-27T21:25:15+08:00 [SERVER] INFO: Adding route
2023-01-27T21:25:15+08:00 [SERVER] INFO: Adding socket handler
2023-01-27T21:25:15+08:00 [SERVER] INFO: Init the server
2023-01-27T21:25:15+08:00 [SERVER] INFO: Listening on 3001
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
-
- Posts: 3
- Joined: Sun Nov 20, 2022 3:10 am
Re: Portainer containers not launching
I'm wondering if it has something to do with my system's architecture, AS3304T aarch64. I see several call outs to armv7 throughout the git repo and the error seems to state that the dependencies are not being installed.
- Nazar78
- Posts: 2085
- Joined: Wed Jul 17, 2019 10:21 pm
- Location: Singapore
- Contact:
Re: Portainer containers not launching
I don't have your model to test but you should contact the developer instead for arch support/issues. If really need to, you can also set it up in non-docker, https://github.com/louislam/uptime-kuma, or best in chroot.asustor_newbie wrote:I'm wondering if it has something to do with my system's architecture, AS3304T aarch64. I see several call outs to armv7 throughout the git repo and the error seems to state that the dependencies are not being installed.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps
When posting, consider checking the box "Notify me when a reply is posted" to get faster response