mirror of
https://github.com/unraid/api.git
synced 2026-01-02 06:30:02 -06:00
Compare commits
412 Commits
fix/back-t
...
test-faste
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
46d4564b63 | ||
|
|
005a7c0f52 | ||
|
|
c270e86377 | ||
|
|
ee0293eaae | ||
|
|
3863659093 | ||
|
|
1fe76f3ed4 | ||
|
|
bd65db1c88 | ||
|
|
5860bf128b | ||
|
|
b5a6b7c484 | ||
|
|
878ad60a50 | ||
|
|
404756bb48 | ||
|
|
ab0174c2e2 | ||
|
|
478b5dce2b | ||
|
|
8e0bf02962 | ||
|
|
0250b9e46f | ||
|
|
ef49072cdb | ||
|
|
98d9bebd44 | ||
|
|
7d9704af5e | ||
|
|
4ea00ed3ad | ||
|
|
e1f77df400 | ||
|
|
d5f8c73b13 | ||
|
|
ee868b11e4 | ||
|
|
14f5cbdfd3 | ||
|
|
3b4e454ace | ||
|
|
a09ea7b036 | ||
|
|
3cfa302530 | ||
|
|
002e800360 | ||
|
|
53cea624d5 | ||
|
|
2e25117635 | ||
|
|
1522d44ab7 | ||
|
|
63c1a60e90 | ||
|
|
6c0aea6dd2 | ||
|
|
61c162dc1e | ||
|
|
a500e3a81b | ||
|
|
5c557d0184 | ||
|
|
32dea9e39a | ||
|
|
a611fcf630 | ||
|
|
ba8220037c | ||
|
|
6539c58c7f | ||
|
|
5494026e29 | ||
|
|
d3547b966b | ||
|
|
e940e47798 | ||
|
|
d6fa980b57 | ||
|
|
034c2fedf6 | ||
|
|
90244e1a8f | ||
|
|
e1cd8eb4fb | ||
|
|
051ecb605e | ||
|
|
dc9a561535 | ||
|
|
eee6394d2a | ||
|
|
02adbe5397 | ||
|
|
f4a5c1f97b | ||
|
|
93a3fb0e6b | ||
|
|
7c4448fbab | ||
|
|
b70b888ed1 | ||
|
|
9491ea7db7 | ||
|
|
d432f795fc | ||
|
|
ad0a83608b | ||
|
|
f74987b3e9 | ||
|
|
73c0930ce1 | ||
|
|
6bcff77dc2 | ||
|
|
a9c4267871 | ||
|
|
f75cc7ab33 | ||
|
|
286cc08933 | ||
|
|
8097333510 | ||
|
|
06b97ba872 | ||
|
|
cedaceaff8 | ||
|
|
0fc5eb43e6 | ||
|
|
a5fae72b45 | ||
|
|
74b33d8473 | ||
|
|
5aac3abbd3 | ||
|
|
57b4643ed2 | ||
|
|
55db8501b8 | ||
|
|
462b1e2752 | ||
|
|
dafb8e48ab | ||
|
|
4589cc8c32 | ||
|
|
d23d68fb25 | ||
|
|
311f021bd6 | ||
|
|
b55f1ef6a2 | ||
|
|
2c7f9c64f6 | ||
|
|
4829c0a793 | ||
|
|
f15e9d9da7 | ||
|
|
db04c4094c | ||
|
|
cd68aafa1f | ||
|
|
b31f9df4ac | ||
|
|
bb38374265 | ||
|
|
97b22e18d6 | ||
|
|
f6bd1bbc53 | ||
|
|
c85ad3f289 | ||
|
|
7c90d364c3 | ||
|
|
26b386c330 | ||
|
|
4ea6569eef | ||
|
|
f68854a016 | ||
|
|
f915db2719 | ||
|
|
48c0add1cc | ||
|
|
cf542e332b | ||
|
|
e222fc5d84 | ||
|
|
f47b0f7d81 | ||
|
|
3144a17c3d | ||
|
|
92ba937656 | ||
|
|
0898ba092f | ||
|
|
68c335d31f | ||
|
|
dbc302a288 | ||
|
|
1b3e344c6a | ||
|
|
0f02804ae6 | ||
|
|
f464f28c9f | ||
|
|
29550668f1 | ||
|
|
adecbc2fbe | ||
|
|
5da71d383f | ||
|
|
74e42c2599 | ||
|
|
5983c64ed1 | ||
|
|
2e259ed677 | ||
|
|
2f5c690bd6 | ||
|
|
8ac28a881d | ||
|
|
c10123a665 | ||
|
|
d475df8f28 | ||
|
|
7bbc240407 | ||
|
|
1cab0070fb | ||
|
|
dac73ede1a | ||
|
|
397a614698 | ||
|
|
f232aa47f7 | ||
|
|
d395056a12 | ||
|
|
f75ff38607 | ||
|
|
c8a620a736 | ||
|
|
4f54650645 | ||
|
|
b97b9f9ddb | ||
|
|
2c067f5de2 | ||
|
|
1ac0161b30 | ||
|
|
56ef58cdb2 | ||
|
|
476a53509a | ||
|
|
27badde6a6 | ||
|
|
40fda92ad0 | ||
|
|
a21506c0fa | ||
|
|
485e36c635 | ||
|
|
f77521845f | ||
|
|
af7333b498 | ||
|
|
31847c4b2d | ||
|
|
7d66e90584 | ||
|
|
e934506d05 | ||
|
|
b5b5174bf7 | ||
|
|
505d10d1f1 | ||
|
|
8c7d262dc3 | ||
|
|
959a2618c0 | ||
|
|
2c5dbdd123 | ||
|
|
6844e173e3 | ||
|
|
a5534d0a12 | ||
|
|
9c66a6b13d | ||
|
|
88974bce2a | ||
|
|
383b3263d7 | ||
|
|
de6eb743c4 | ||
|
|
f5c950a949 | ||
|
|
93e331ed68 | ||
|
|
921fc8cb6f | ||
|
|
e735847742 | ||
|
|
45fbe9ad1f | ||
|
|
406e1405f0 | ||
|
|
0910d21acf | ||
|
|
2e4997ea60 | ||
|
|
532cf5a0d7 | ||
|
|
e7a4aebcad | ||
|
|
055ce84d33 | ||
|
|
220306dfa0 | ||
|
|
8027392fd8 | ||
|
|
c9408e0ed9 | ||
|
|
635c6ecddc | ||
|
|
977628187f | ||
|
|
f0a98e584c | ||
|
|
ea66b96575 | ||
|
|
ca41631927 | ||
|
|
d33b62121d | ||
|
|
0414a96c46 | ||
|
|
12ee38b58d | ||
|
|
ed93c2934d | ||
|
|
a8e4d76da1 | ||
|
|
db79da04f7 | ||
|
|
7467443831 | ||
|
|
e7058dfd00 | ||
|
|
70f1a7b0d1 | ||
|
|
c752544414 | ||
|
|
2b81cd819d | ||
|
|
c2c69df60f | ||
|
|
be789aec73 | ||
|
|
c4f5db7426 | ||
|
|
e2a38fc666 | ||
|
|
1a90c02f3a | ||
|
|
2c2aca440f | ||
|
|
99b3037f0f | ||
|
|
d6b8f8182c | ||
|
|
a1cd954442 | ||
|
|
f12fc1dfa5 | ||
|
|
5c7e2eb609 | ||
|
|
1edc803c0b | ||
|
|
d1b1596818 | ||
|
|
126c9b85f1 | ||
|
|
2b8e42065c | ||
|
|
313d7a5235 | ||
|
|
4f1f1dd805 | ||
|
|
e4d6c7a95f | ||
|
|
b1b78d0002 | ||
|
|
304212b688 | ||
|
|
b8f4fa98c1 | ||
|
|
9d62c033ef | ||
|
|
219c69504b | ||
|
|
5917109f47 | ||
|
|
d9b16e57b4 | ||
|
|
9c1dbec0f9 | ||
|
|
dd360795e9 | ||
|
|
ffaadfdccf | ||
|
|
b18bd3fe5d | ||
|
|
47c0326430 | ||
|
|
ee87813731 | ||
|
|
89bc78512f | ||
|
|
bd631c3a3f | ||
|
|
7d87bd0542 | ||
|
|
d1d31eb1dc | ||
|
|
6d240f883d | ||
|
|
80d1c70e35 | ||
|
|
cb60fb1283 | ||
|
|
1caaed264c | ||
|
|
f6a5317be2 | ||
|
|
6f03bb27da | ||
|
|
e457adb672 | ||
|
|
2a0592d97c | ||
|
|
c8f3578b44 | ||
|
|
cace036362 | ||
|
|
675d93b924 | ||
|
|
fb05a5e26d | ||
|
|
dd3ae0ed3d | ||
|
|
269c452aa7 | ||
|
|
f2d1738f7b | ||
|
|
68fd5b83f2 | ||
|
|
358fdd9a7a | ||
|
|
cb9add4aa5 | ||
|
|
0944f38ba1 | ||
|
|
37fb1a88fe | ||
|
|
262a085d0c | ||
|
|
1dd717be2e | ||
|
|
a46f5a3cb4 | ||
|
|
65be9f0d30 | ||
|
|
abd556f4b5 | ||
|
|
3c5b7e9a56 | ||
|
|
da78b5b7ab | ||
|
|
e12f342724 | ||
|
|
57b5cc462b | ||
|
|
aeca7bbc2b | ||
|
|
b65030143a | ||
|
|
256f1a3d5a | ||
|
|
bbbdff6c60 | ||
|
|
9e24019d60 | ||
|
|
9a2eb2dc1d | ||
|
|
1906bd1d7d | ||
|
|
b1019b6f32 | ||
|
|
1316d12e11 | ||
|
|
3391f93fab | ||
|
|
38349e399d | ||
|
|
a11a65c755 | ||
|
|
5db71a8d7d | ||
|
|
cc8c02c729 | ||
|
|
cb2cdd3428 | ||
|
|
b720232a55 | ||
|
|
bed928ee5b | ||
|
|
4b84acf4f8 | ||
|
|
755b4c973c | ||
|
|
ec3b501a35 | ||
|
|
0c3691d70d | ||
|
|
e1d016055c | ||
|
|
a7b0bc20c5 | ||
|
|
ee384bec37 | ||
|
|
d154576672 | ||
|
|
59083678cb | ||
|
|
134a4d37a9 | ||
|
|
791e0aaeb0 | ||
|
|
df4999951d | ||
|
|
b277a12113 | ||
|
|
6857c3b023 | ||
|
|
08d60401a8 | ||
|
|
2cafeff93a | ||
|
|
41225e8c4e | ||
|
|
32fd82dea4 | ||
|
|
9bda99b1d1 | ||
|
|
1ffc4ef03d | ||
|
|
97d64bb89b | ||
|
|
49f600a25a | ||
|
|
4fffcb167e | ||
|
|
2f905caccc | ||
|
|
8ef6bf99e1 | ||
|
|
b8f1f1847f | ||
|
|
14f81ed811 | ||
|
|
83d9b3989c | ||
|
|
e6e6a6dc13 | ||
|
|
89736767a1 | ||
|
|
0ff9dba5a8 | ||
|
|
33dc34730f | ||
|
|
e4676de4d8 | ||
|
|
b0797f4e5b | ||
|
|
732f310e79 | ||
|
|
2d03a9ad76 | ||
|
|
3f64d8e405 | ||
|
|
db469232ed | ||
|
|
f8b5db9853 | ||
|
|
47bf63c273 | ||
|
|
54e98b6128 | ||
|
|
ab795b2346 | ||
|
|
6c88299566 | ||
|
|
bf69e857f1 | ||
|
|
55df4a9738 | ||
|
|
9f12d62c80 | ||
|
|
07f21dbe77 | ||
|
|
d718d2684d | ||
|
|
ca8c98f7e2 | ||
|
|
17ca9adc79 | ||
|
|
e884b051f4 | ||
|
|
4494d0b06d | ||
|
|
e507b9ffcb | ||
|
|
e36e90724c | ||
|
|
9c6f669f73 | ||
|
|
eb06f889a1 | ||
|
|
65506a454d | ||
|
|
4ff8339caa | ||
|
|
535ca1632c | ||
|
|
902909ed0a | ||
|
|
e5e076f948 | ||
|
|
6f28f0dc55 | ||
|
|
8137504c5d | ||
|
|
14f28207f9 | ||
|
|
930c1ee26f | ||
|
|
c6a5263135 | ||
|
|
931853018d | ||
|
|
a20fcfe84e | ||
|
|
96894b7ff4 | ||
|
|
9dec0b4346 | ||
|
|
7c288f01e8 | ||
|
|
5f27e72eed | ||
|
|
d2ad99789b | ||
|
|
dd8d8cdac9 | ||
|
|
ff556a5e9e | ||
|
|
fe3b235cf8 | ||
|
|
7ad5547328 | ||
|
|
61c6df51d2 | ||
|
|
734d47c5f6 | ||
|
|
a69066324e | ||
|
|
2ef113dcb2 | ||
|
|
2a61601c5f | ||
|
|
313326d953 | ||
|
|
54c16c6514 | ||
|
|
8c98f462f4 | ||
|
|
55c492147f | ||
|
|
9dc81bdd31 | ||
|
|
cf82d76b6f | ||
|
|
5ac9a76027 | ||
|
|
4e03e64f94 | ||
|
|
dea80ec070 | ||
|
|
b0dd7030a8 | ||
|
|
16f3898a1c | ||
|
|
d010238adc | ||
|
|
3f6064c0d2 | ||
|
|
a4d5618972 | ||
|
|
d3dfa934c5 | ||
|
|
2c8b516adc | ||
|
|
77535a9307 | ||
|
|
0f7f17be24 | ||
|
|
9d7b15198a | ||
|
|
82a45dd624 | ||
|
|
1f0611f6b0 | ||
|
|
3992647a39 | ||
|
|
6ce48a830d | ||
|
|
f33064c3bf | ||
|
|
53725d322a | ||
|
|
cbb4861eed | ||
|
|
b21ececa7a | ||
|
|
a6cbe09ee1 | ||
|
|
fb319361f9 | ||
|
|
c96c0a765c | ||
|
|
a205bca6ec | ||
|
|
5165e1190a | ||
|
|
e635f1afeb | ||
|
|
628e25ed0d | ||
|
|
f59ac00b4d | ||
|
|
8719909288 | ||
|
|
aa3ec94056 | ||
|
|
a73cc86c38 | ||
|
|
38f2e6a9a6 | ||
|
|
8ffe565ca6 | ||
|
|
5503b253c2 | ||
|
|
e2d0a1b6ac | ||
|
|
c328f61118 | ||
|
|
2a891c211e | ||
|
|
d617854d84 | ||
|
|
aa8a6f1934 | ||
|
|
8733921b6b | ||
|
|
47c192df9e | ||
|
|
214572bf6f | ||
|
|
336312523d | ||
|
|
a8f4337c25 | ||
|
|
49c639c10f | ||
|
|
77cf384d6a | ||
|
|
1660ac7e02 | ||
|
|
6b80016123 | ||
|
|
a0c2e4fe71 | ||
|
|
5ab0a44473 | ||
|
|
ee9f68f776 | ||
|
|
9479fd7d09 | ||
|
|
d6f386a992 | ||
|
|
01e0ffcbc0 | ||
|
|
085eb3d345 | ||
|
|
a168ab43a6 | ||
|
|
ba7c6e8e2d | ||
|
|
d7f2d6d44a | ||
|
|
a91732959b | ||
|
|
2011cf453d | ||
|
|
f9d656fc0d | ||
|
|
0a9b047170 | ||
|
|
abd66d6082 |
74
.github/workflows/lint-test-build-web.yml
vendored
Normal file
74
.github/workflows/lint-test-build-web.yml
vendored
Normal file
@@ -0,0 +1,74 @@
|
||||
name: Lint, Test, and Build Web Components
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
95
.github/workflows/main.yml
vendored
95
.github/workflows/main.yml
vendored
@@ -78,36 +78,50 @@ jobs:
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Build Docker Compose
|
||||
run: |
|
||||
docker network create mothership_default
|
||||
docker-compose build builder
|
||||
|
||||
- name: Run Docker Compose
|
||||
run: docker-compose run builder npm run coverage
|
||||
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
|
||||
# - name: Get npm cache directory
|
||||
# id: npm-cache
|
||||
# run: echo "::set-output name=dir::$(npm config get cache)"
|
||||
|
||||
# - name: Load npm cache
|
||||
# uses: actions/cache@v3
|
||||
# with:
|
||||
# path: ${{ steps.npm-cache.outputs.dir }}
|
||||
# key: ${{ runner.os }}-npm-cache-${{ hashFiles('**/package-lock.json') }}
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Run unit tests with code coverage
|
||||
run: npm run coverage
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-api:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-api, test-api]
|
||||
|
||||
outputs:
|
||||
API_VERSION: ${{ steps.build-pack-binary.outputs.API_VERSION }}
|
||||
@@ -161,12 +175,52 @@ jobs:
|
||||
name: unraid-api
|
||||
path: ${{ github.workspace }}/api/deploy/release/*.tgz
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: production
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
|
||||
build-plugin:
|
||||
needs: [lint-api, lint-web, test-api, build-api, build-web]
|
||||
defaults:
|
||||
run:
|
||||
working-directory: plugin
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-api]
|
||||
steps:
|
||||
- name: Set Timezone
|
||||
uses: szenius/set-timezone@v1.2
|
||||
@@ -174,6 +228,11 @@ jobs:
|
||||
timezoneLinux: "America/Los_Angeles"
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
- name: Download unraid web components
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: ./plugin/source/dynamix.unraid.net/usr/local/emhttp/plugins/dynamix.my.servers/unraid-components
|
||||
- name: Build Plugin
|
||||
run: |
|
||||
cd source/dynamix.unraid.net
|
||||
|
||||
82
.github/workflows/pull-request-web.yml
vendored
Normal file
82
.github/workflows/pull-request-web.yml
vendored
Normal file
@@ -0,0 +1,82 @@
|
||||
name: Pull Request Web
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'web/**'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}-web
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
lint-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
|
||||
build-web:
|
||||
defaults:
|
||||
run:
|
||||
working-directory: web
|
||||
runs-on: ubuntu-latest
|
||||
environment:
|
||||
name: production
|
||||
needs: [lint-web]
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Create env file
|
||||
run: |
|
||||
touch .env
|
||||
echo VITE_ACCOUNT=${{ vars.VITE_ACCOUNT }} >> .env
|
||||
echo VITE_CONNECT=${{ vars.VITE_CONNECT }} >> .env
|
||||
echo VITE_UNRAID_NET=${{ vars.VITE_UNRAID_NET }} >> .env
|
||||
echo VITE_CALLBACK_KEY=${{ vars.VITE_CALLBACK_KEY }} >> .env
|
||||
cat .env
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
cache: "npm"
|
||||
cache-dependency-path: "web/package-lock.json"
|
||||
node-version-file: "web/.nvmrc"
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Upload build to Github artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: unraid-web
|
||||
path: web/.nuxt/nuxt-custom-elements/dist/unraid-components
|
||||
146
.github/workflows/pull-request.yml
vendored
146
.github/workflows/pull-request.yml
vendored
@@ -3,9 +3,7 @@ name: Pull Request
|
||||
on:
|
||||
pull_request:
|
||||
paths:
|
||||
- '**.js'
|
||||
- '**.ts'
|
||||
|
||||
- api/**
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
@@ -13,6 +11,12 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
lint-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
continue-on-error: true
|
||||
defaults:
|
||||
run:
|
||||
@@ -22,77 +26,69 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Reconfigure git to use HTTP authenti:cation
|
||||
run: >
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm ci
|
||||
|
||||
- name: Lint files
|
||||
run: npm run lint
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Lint
|
||||
run: |
|
||||
docker run localhost:5000/unraid-api:builder npm run lint
|
||||
|
||||
test-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: Reconfigure git to use HTTP authentication
|
||||
run: >
|
||||
git config --global url."https://github.com/".insteadOf
|
||||
ssh://git@github.com/
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm ci
|
||||
|
||||
- name: Run unit tests with code coverage
|
||||
run: npm run coverage
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
- name: Test
|
||||
run: |
|
||||
docker run localhost:5000/unraid-api:builder npm run coverage
|
||||
|
||||
build-api:
|
||||
services:
|
||||
registry: # Using a local registry is ~3x faster than exporting the image to docker agent
|
||||
image: registry:2
|
||||
ports:
|
||||
- 5000:5000
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: api
|
||||
runs-on: ubuntu-latest
|
||||
needs: [lint-api, test-api]
|
||||
|
||||
outputs:
|
||||
API_VERSION: ${{ steps.build-pack-binary.outputs.API_VERSION }}
|
||||
@@ -102,31 +98,25 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version-file: "api/.nvmrc"
|
||||
persist-credentials: true
|
||||
- uses: docker/setup-buildx-action@v2
|
||||
with:
|
||||
# network=host driver-opt needed to push to local registry
|
||||
driver-opts: network=host
|
||||
|
||||
- name: Install libvirt-dev
|
||||
run: sudo apt-get update && sudo apt-get install libvirt-dev
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v4
|
||||
with:
|
||||
context: api
|
||||
target: builder
|
||||
push: true
|
||||
tags: localhost:5000/unraid-api:builder
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
# - name: Cache dependencies
|
||||
# uses: actions/cache@v2
|
||||
# with:
|
||||
# path: ~/.npm
|
||||
# key: npm-${{ hashFiles('package-lock.json') }}
|
||||
# restore-keys: npm-
|
||||
|
||||
- name: Installing node deps
|
||||
run: npm install
|
||||
|
||||
- name: Install pkg
|
||||
run: npm i -g pkg
|
||||
|
||||
- name: Build and Pack
|
||||
id: build-pack-binary
|
||||
run: WORKDIR=${{ github.workspace }} && npm run build-pkg
|
||||
- name: Run Build
|
||||
run: docker run -e GIT_SHA=$(git rev-parse --short HEAD) -e IS_TAGGED=$(git describe --tags --abbrev=0 --exact-match) -v $(pwd)/deploy:/app/deploy/ localhost:5000/unraid-api:builder npm run build-pkg
|
||||
|
||||
- name: Set Hashes
|
||||
id: set-hashes
|
||||
@@ -158,7 +148,7 @@ jobs:
|
||||
run:
|
||||
working-directory: plugin
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build-api]
|
||||
needs: [lint-api, test-api, build-api]
|
||||
steps:
|
||||
- name: Set Timezone
|
||||
uses: szenius/set-timezone@v1.2
|
||||
|
||||
87
.gitignore
vendored
Normal file
87
.gitignore
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
# Logs
|
||||
./logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||
lib-cov
|
||||
|
||||
# Coverage directory used by tools like istanbul
|
||||
coverage
|
||||
coverage-ts
|
||||
|
||||
# nyc test coverage
|
||||
.nyc_output
|
||||
|
||||
# node-waf configuration
|
||||
.lock-wscript
|
||||
|
||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||
build/Release
|
||||
|
||||
# Dependency directories
|
||||
node_modules/
|
||||
jspm_packages/
|
||||
|
||||
# TypeScript v1 declaration files
|
||||
typings/
|
||||
|
||||
# Optional npm cache directory
|
||||
.npm
|
||||
|
||||
# Optional eslint cache
|
||||
.eslintcache
|
||||
|
||||
# Optional REPL history
|
||||
.node_repl_history
|
||||
|
||||
# Output of 'npm pack'
|
||||
*.tgz
|
||||
|
||||
# Yarn Integrity file
|
||||
.yarn-integrity
|
||||
|
||||
# dotenv environment variables file
|
||||
.env
|
||||
|
||||
# next.js build output
|
||||
.next
|
||||
|
||||
# Visual Studio Code workspace
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
|
||||
# OSX
|
||||
.DS_Store
|
||||
|
||||
# Temp dir for tests
|
||||
test/__temp__/*
|
||||
|
||||
# Built files
|
||||
dist
|
||||
|
||||
# Typescript
|
||||
typescript
|
||||
|
||||
# Ultra runner
|
||||
.ultra.cache.json
|
||||
|
||||
# Github actions
|
||||
RELEASE_NOTES.md
|
||||
|
||||
# Docker Deploy Folder
|
||||
deploy/*
|
||||
!deploy/.gitkeep
|
||||
|
||||
# pkg cache
|
||||
.pkg-cache
|
||||
|
||||
*.log*
|
||||
.nuxt
|
||||
.nitro
|
||||
.cache
|
||||
.output
|
||||
.env*
|
||||
!.env.example
|
||||
30
.vscode/settings.json
vendored
Normal file
30
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll": false,
|
||||
"source.fixAll.eslint": true
|
||||
},
|
||||
"workbench.colorCustomizations": {
|
||||
"activityBar.activeBackground": "#78797d",
|
||||
"activityBar.background": "#78797d",
|
||||
"activityBar.foreground": "#e7e7e7",
|
||||
"activityBar.inactiveForeground": "#e7e7e799",
|
||||
"activityBarBadge.background": "#df9fac",
|
||||
"activityBarBadge.foreground": "#15202b",
|
||||
"commandCenter.border": "#e7e7e799",
|
||||
"sash.hoverBorder": "#78797d",
|
||||
"statusBar.background": "#5f6063",
|
||||
"statusBar.foreground": "#e7e7e7",
|
||||
"statusBarItem.hoverBackground": "#78797d",
|
||||
"statusBarItem.remoteBackground": "#5f6063",
|
||||
"statusBarItem.remoteForeground": "#e7e7e7",
|
||||
"titleBar.activeBackground": "#5f6063",
|
||||
"titleBar.activeForeground": "#e7e7e7",
|
||||
"titleBar.inactiveBackground": "#5f606399",
|
||||
"titleBar.inactiveForeground": "#e7e7e799"
|
||||
},
|
||||
"peacock.color": "#5f6063",
|
||||
"i18n-ally.localesPaths": [
|
||||
"locales"
|
||||
],
|
||||
"i18n-ally.keystyle": "flat"
|
||||
}
|
||||
18
api/.env.development
Normal file
18
api/.env.development
Normal file
@@ -0,0 +1,18 @@
|
||||
PATHS_UNRAID_DATA=./dev/data # Where we store plugin data (e.g. permissions.json)
|
||||
PATHS_STATES=./dev/states # Where .ini files live (e.g. vars.ini)
|
||||
PATHS_DYNAMIX_BASE=./dev/dynamix # Dynamix's data directory
|
||||
PATHS_DYNAMIX_CONFIG=./dev/dynamix/dynamix.cfg # Dynamix's config file
|
||||
PATHS_MY_SERVERS_CONFIG=./dev/Unraid.net/myservers.cfg # My servers config file
|
||||
PATHS_KEYFILE_BASE=./dev/Unraid.net # Keyfile location
|
||||
PATHS_MACHINE_ID=./dev/data/machine-id
|
||||
|
||||
ENVIRONMENT="development"
|
||||
NODE_ENV="development"
|
||||
PORT="3001"
|
||||
PLAYGROUND=true
|
||||
INTROSPECTION=true
|
||||
MOTHERSHIP_GRAPHQL_LINK="http://authenticator:3000/graphql"
|
||||
NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||
BYPASS_PERMISSION_CHECKS=true
|
||||
BYPASS_CORS_CHECKS=false
|
||||
CHOKIDAR_USEPOLLING=true
|
||||
@@ -26,6 +26,7 @@ module.exports = {
|
||||
],
|
||||
'import/no-cycle': 'off', // Change this to "error" to find circular imports
|
||||
'@typescript-eslint/no-use-before-define': ['error'],
|
||||
'no-multiple-empty-lines': ['error', { max: 1, maxBOF: 0, maxEOF: 1 }],
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
|
||||
1
api/.nvmrc
Normal file
1
api/.nvmrc
Normal file
@@ -0,0 +1 @@
|
||||
18.17.1
|
||||
@@ -2,6 +2,16 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
### [3.1.1](https://github.com/unraid/api/compare/v3.1.0...v3.1.1) (2023-05-03)
|
||||
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* always get unraid version from var ([#638](https://github.com/unraid/api/issues/638)) ([f117331](https://github.com/unraid/api/commit/f1173319747d26d6a0c297e0844f0746b8e8de3c))
|
||||
* app can be linted ([#639](https://github.com/unraid/api/issues/639)) ([c159232](https://github.com/unraid/api/commit/c1592320b623f8e69128c7fcf184dc3ef336de99))
|
||||
* disable dynamic manual port unless USE_SSL = strict ([#636](https://github.com/unraid/api/issues/636)) ([0baf138](https://github.com/unraid/api/commit/0baf1385ebc86f63dd645e4da584bd4c94b92a07))
|
||||
* ensure api key before allowing connection ([#635](https://github.com/unraid/api/issues/635)) ([ffe9d2c](https://github.com/unraid/api/commit/ffe9d2cff65a08e964ca585319333d522a2429bd))
|
||||
|
||||
## [3.1.0](https://github.com/unraid/api/compare/v3.0.1...v3.1.0) (2023-04-27)
|
||||
|
||||
|
||||
|
||||
@@ -1,42 +1,46 @@
|
||||
###########################################################
|
||||
# Development/Build Image
|
||||
###########################################################
|
||||
ARG NODE_IMAGE=node:18
|
||||
FROM $NODE_IMAGE As development
|
||||
FROM node:18.17.1-alpine As development
|
||||
|
||||
# Install build tools
|
||||
RUN apt-get update -y && apt-get install -y \
|
||||
python \
|
||||
# Install build tools and dependencies
|
||||
RUN apk add --no-cache \
|
||||
bash \
|
||||
alpine-sdk \
|
||||
python3 \
|
||||
libvirt-dev \
|
||||
jq \
|
||||
zstd
|
||||
|
||||
RUN mkdir /var/log/unraid-api/
|
||||
|
||||
|
||||
ARG NODE_ENV=development
|
||||
ARG NPM_I_CMD=npm i
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Set app env
|
||||
ENV NODE_ENV=$NODE_ENV
|
||||
ENV NODE_ENV=development
|
||||
|
||||
# Setup cache for pkg
|
||||
ENV PKG_CACHE_PATH /app/.pkg-cache
|
||||
RUN mkdir -p ${PKG_CACHE_PATH}
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
COPY tsconfig.json tsup.config.ts ./
|
||||
COPY .npmrc ./
|
||||
COPY .env.production .env.staging ./
|
||||
COPY tsconfig.json tsup.config.ts .eslintrc.cjs .npmrc .env.production .env.staging ./
|
||||
|
||||
# Install deps
|
||||
RUN $NPM_I_CMD
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
# Install pkg
|
||||
RUN npm i -g pkg zx
|
||||
|
||||
# Install deps
|
||||
RUN npm ci
|
||||
|
||||
EXPOSE 4000
|
||||
|
||||
###########################################################
|
||||
# Builder Image
|
||||
###########################################################
|
||||
|
||||
FROM development AS builder
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ["npm", "run", "build-pkg"]
|
||||
77
api/codegen.yml
Normal file
77
api/codegen.yml
Normal file
@@ -0,0 +1,77 @@
|
||||
overwrite: true
|
||||
emitLegacyCommonJSImports: false
|
||||
verbose: true
|
||||
require:
|
||||
- ts-node/register
|
||||
config:
|
||||
namingConvention:
|
||||
typeNames: './fix-array-type.cjs'
|
||||
enumValues: 'change-case#upperCase'
|
||||
useTypeImports: true
|
||||
scalars:
|
||||
DateTime: string
|
||||
Long: number
|
||||
JSON: "{ [key: string]: any }"
|
||||
URL: URL
|
||||
Port: number
|
||||
UUID: string
|
||||
|
||||
generates:
|
||||
src/graphql/generated/client/:
|
||||
documents: './src/graphql/mothership/*.ts'
|
||||
schema:
|
||||
'${MOTHERSHIP_GRAPHQL_LINK}':
|
||||
headers:
|
||||
origin: 'https://forums.unraid.net'
|
||||
preset: client
|
||||
presetConfig:
|
||||
gqlTagName: graphql
|
||||
config:
|
||||
useTypeImports: true
|
||||
withObjectType: true
|
||||
plugins:
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
|
||||
# Generate Types for the API Server
|
||||
src/graphql/generated/api/types.ts:
|
||||
schema:
|
||||
- './src/graphql/types.ts'
|
||||
- './src/graphql/schema/types/**/*.graphql'
|
||||
plugins:
|
||||
- typescript
|
||||
- typescript-resolvers
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
config:
|
||||
contextType: '@app/graphql/schema/utils#Context'
|
||||
useIndexSignature: true
|
||||
# Generate Operations for any built in API Server Operations (ie report.ts)
|
||||
src/graphql/generated/api/operations.ts:
|
||||
documents: './src/graphql/client/api/*.ts'
|
||||
schema:
|
||||
- './src/graphql/types.ts'
|
||||
- './src/graphql/schema/types/**/*.graphql'
|
||||
preset: import-types
|
||||
presetConfig:
|
||||
typesPath: '@app/graphql/generated/api/types'
|
||||
plugins:
|
||||
- typescript-validation-schema
|
||||
- typescript-operations
|
||||
- typed-document-node
|
||||
- add: { content: '/* eslint-disable */' }
|
||||
config:
|
||||
importFrom: '@app/graphql/generated/api/types'
|
||||
strictScalars: false
|
||||
schema: 'zod'
|
||||
withObjectType: true
|
||||
src/graphql/generated/client/validators.ts:
|
||||
schema:
|
||||
'${MOTHERSHIP_GRAPHQL_LINK}':
|
||||
headers:
|
||||
origin: 'https://forums.unraid.net'
|
||||
plugins:
|
||||
- typescript-validation-schema
|
||||
- add: { content: '/* eslint-disable */'}
|
||||
config:
|
||||
importFrom: '@app/graphql/generated/client/graphql'
|
||||
strictScalars: false
|
||||
schema: 'zod'
|
||||
@@ -1,5 +1,5 @@
|
||||
[api]
|
||||
version="3.0.1+b26ff388"
|
||||
version="3.1.1+8efc0992"
|
||||
[local]
|
||||
[notifier]
|
||||
apikey="unnotify_30994bfaccf839c65bae75f7fa12dd5ee16e69389f754c3b98ed7d5"
|
||||
|
||||
191
api/dev/data/permissions.json
Normal file
191
api/dev/data/permissions.json
Normal file
@@ -0,0 +1,191 @@
|
||||
{
|
||||
"admin": {
|
||||
"extends": "user",
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "apikey",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "array",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "cpu",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "device",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "device/unassigned",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "disk",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "disk/settings",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "display",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "docker/container",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "docker/network",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "info",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "license-key",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "machine-id",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "memory",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "notifications",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "online",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "os",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "parity-history",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "permission",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "servers",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service/emhttpd",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "service/unraid-api",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "services",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "share",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "software-versions",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "unraid-version",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "user",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "var",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vars",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vm/domain",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "vm/network",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"user": {
|
||||
"extends": "guest",
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "apikey",
|
||||
"action": "read:own",
|
||||
"attributes": "*"
|
||||
},
|
||||
{
|
||||
"resource": "permission",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"guest": {
|
||||
"permissions": [
|
||||
{
|
||||
"resource": "welcome",
|
||||
"action": "read:any",
|
||||
"attributes": "*"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
35
api/dev/dynamix/dynamix.cfg
Normal file
35
api/dev/dynamix/dynamix.cfg
Normal file
@@ -0,0 +1,35 @@
|
||||
[display]
|
||||
date="%c"
|
||||
number=".,"
|
||||
scale="-1"
|
||||
tabs="1"
|
||||
users="Tasks:3"
|
||||
resize="0"
|
||||
wwn="0"
|
||||
total="1"
|
||||
usage="0"
|
||||
banner="image"
|
||||
dashapps="icons"
|
||||
theme="white"
|
||||
text="1"
|
||||
unit="C"
|
||||
warning="70"
|
||||
critical="90"
|
||||
hot="45"
|
||||
max="55"
|
||||
sysinfo="/Tools/SystemProfiler"
|
||||
[notify]
|
||||
entity="1"
|
||||
normal="1"
|
||||
warning="1"
|
||||
alert="1"
|
||||
unraid="1"
|
||||
plugin="1"
|
||||
docker_notify="1"
|
||||
report="1"
|
||||
display="0"
|
||||
date="d-m-Y"
|
||||
time="H:i"
|
||||
position="top-right"
|
||||
path="/app/dev/notifications"
|
||||
system="*/1 * * * *"
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683699325
|
||||
event=Appdata Backup
|
||||
subject=Warning
|
||||
description=Please check the backup log tab!
|
||||
importance=warning
|
||||
message=Container did not started! - Code: Server error
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683223240
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=dynamix.unraid.net.staging.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683568807
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=community.applications.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683655211
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=parity.check.tuning.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683741604
|
||||
event=Community Applications
|
||||
subject=Application Auto Update
|
||||
description=appdata.backup.plg Automatically Updated
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - AirConnect [3d53..ad24]
|
||||
subject=Notice [UNRAID] - Version update 3d53..ad24
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - AirConnect [91bd..76e7]
|
||||
subject=Notice [UNRAID] - Version update 91bd..76e7
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - AirConnect [ca7f..6b17]
|
||||
subject=Notice [UNRAID] - Version update ca7f..6b17
|
||||
description=A new version of AirConnect is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - PhotoPrism [295d..2ed1]
|
||||
subject=Notice [UNRAID] - Version update 295d..2ed1
|
||||
description=A new version of PhotoPrism is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - PhotoPrism [906c..d43c]
|
||||
subject=Notice [UNRAID] - Version update 906c..d43c
|
||||
description=A new version of PhotoPrism is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - binhex-prowlarr [1126..5559]
|
||||
subject=Notice [UNRAID] - Version update 1126..5559
|
||||
description=A new version of binhex-prowlarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683778254
|
||||
event=Docker - caddy-custom [024e..04d1]
|
||||
subject=Notice [UNRAID] - Version update 024e..04d1
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - caddy-custom [18da..c9bd]
|
||||
subject=Notice [UNRAID] - Version update 18da..c9bd
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - caddy-custom [3005..022f]
|
||||
subject=Notice [UNRAID] - Version update 3005..022f
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683259850
|
||||
event=Docker - caddy-custom [7c36..343c]
|
||||
subject=Notice [UNRAID] - Version update 7c36..343c
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - caddy-custom [7f52..acca]
|
||||
subject=Notice [UNRAID] - Version update 7f52..acca
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684123859
|
||||
event=Docker - caddy-custom [9f05..b531]
|
||||
subject=Notice [UNRAID] - Version update 9f05..b531
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - caddy-custom [cf91..b716]
|
||||
subject=Notice [UNRAID] - Version update cf91..b716
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - caddy-custom [d851..8877]
|
||||
subject=Notice [UNRAID] - Version update d851..8877
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - caddy-custom [dfd0..0e5d]
|
||||
subject=Notice [UNRAID] - Version update dfd0..0e5d
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683346254
|
||||
event=Docker - caddy-custom [e6c6..fbb4]
|
||||
subject=Notice [UNRAID] - Version update e6c6..fbb4
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - caddy-custom [fcc0..f692]
|
||||
subject=Notice [UNRAID] - Version update fcc0..f692
|
||||
description=A new version of caddy-custom is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - filestash [6b94..7dd4]
|
||||
subject=Notice [UNRAID] - Version update 6b94..7dd4
|
||||
description=A new version of filestash is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - jellyfin [2902..af01]
|
||||
subject=Notice [UNRAID] - Version update 2902..af01
|
||||
description=A new version of jellyfin is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - mariadb [45af..47d4]
|
||||
subject=Notice [UNRAID] - Version update 45af..47d4
|
||||
description=A new version of mariadb is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - mariadb [e036..3e8e]
|
||||
subject=Notice [UNRAID] - Version update e036..3e8e
|
||||
description=A new version of mariadb is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - plex [7bfa..19fb]
|
||||
subject=Notice [UNRAID] - Version update 7bfa..19fb
|
||||
description=A new version of plex is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - qbittorrent [43b9..9adc]
|
||||
subject=Notice [UNRAID] - Version update 43b9..9adc
|
||||
description=A new version of qbittorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - radarr-4k [62ca..1a81]
|
||||
subject=Notice [UNRAID] - Version update 62ca..1a81
|
||||
description=A new version of radarr-4k is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - radarr [62ca..1a81]
|
||||
subject=Notice [UNRAID] - Version update 62ca..1a81
|
||||
description=A new version of radarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - rtorrent-rutorrent [a16c..af8b]
|
||||
subject=Notice [UNRAID] - Version update a16c..af8b
|
||||
description=A new version of rtorrent-rutorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - rtorrent-rutorrent [b722..38c5]
|
||||
subject=Notice [UNRAID] - Version update b722..38c5
|
||||
description=A new version of rtorrent-rutorrent is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683432654
|
||||
event=Docker - sonarr [12c7..6b53]
|
||||
subject=Notice [UNRAID] - Version update 12c7..6b53
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684123859
|
||||
event=Docker - sonarr [12c9..01df]
|
||||
subject=Notice [UNRAID] - Version update 12c9..01df
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683605449
|
||||
event=Docker - sonarr [27f9..c81b]
|
||||
subject=Notice [UNRAID] - Version update 27f9..c81b
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684037454
|
||||
event=Docker - sonarr [354f..3ed7]
|
||||
subject=Notice [UNRAID] - Version update 354f..3ed7
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683864655
|
||||
event=Docker - sonarr [6145..3ba7]
|
||||
subject=Notice [UNRAID] - Version update 6145..3ba7
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - sonarr [b2f0..9f04]
|
||||
subject=Notice [UNRAID] - Version update b2f0..9f04
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683951054
|
||||
event=Docker - sonarr [bcfd..b7bd]
|
||||
subject=Notice [UNRAID] - Version update bcfd..b7bd
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519032
|
||||
event=Docker - sonarr [c04c..6b30]
|
||||
subject=Notice [UNRAID] - Version update c04c..6b30
|
||||
description=A new version of sonarr is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691842
|
||||
event=Docker - synclounge [38f9..8503]
|
||||
subject=Notice [UNRAID] - Version update 38f9..8503
|
||||
description=A new version of synclounge is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212331
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Array operation will not be restarted
|
||||
description=Unclean shutdown detected
|
||||
importance=alert
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212357
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Automatic unRaid Parity-Check will be started
|
||||
description=Unclean shutdown detected
|
||||
importance=warning
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212414
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683212430
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=No array operation in progress (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683696603
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (0.0% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683699512
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Backup running
|
||||
description=No description
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683699523
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (2.7% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683700590
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Backup no longer running
|
||||
description=No description
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683700596
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (2.7% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683730812
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (32.6% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683783001
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (32.6% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683817213
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (59.2% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683869402
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (59.2% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683903615
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Paused
|
||||
description=Automatic Correcting Parity-Check (88.1% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683955802
|
||||
event=Parity Check Tuning
|
||||
subject=[UNRAID] Resumed
|
||||
description=Automatic Correcting Parity-Check (88.1% completed)
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683691803
|
||||
event=Plugin - appdata.backup [2023.05.09]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.09
|
||||
description=A new version of appdata.backup is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519002
|
||||
event=Plugin - community.applications [2023.05.07a]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.07a
|
||||
description=A new version of community.applications is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683519003
|
||||
event=Plugin - parity.check.tuning [2023.05.07]
|
||||
subject=Notice [UNRAID] - Version update 2023.05.07
|
||||
description=A new version of parity.check.tuning is available
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683325569
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683325597
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683383543
|
||||
event=Remote Access Started
|
||||
subject=Unraid API
|
||||
description=Remote access has been started
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683397158
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683422667
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683820748
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683986670
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1684161220
|
||||
event=Remote Access Stopped
|
||||
subject=Unraid API
|
||||
description=Remote access has been stopped
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683971161
|
||||
event=Unraid Parity check
|
||||
subject=Notice [UNRAID] - Parity check finished (0 errors)
|
||||
description=Canceled
|
||||
importance=warning
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570896
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Power failure on UPS Unraid. Running on batteries.
|
||||
importance=alert
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570945
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683570980
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571299
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571468
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571535
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,5 @@
|
||||
timestamp=1683571565
|
||||
event=Unraid Server Alert
|
||||
subject=UPS Alert
|
||||
description=Communications restored with UPS Unraid
|
||||
importance=normal
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683260401
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 32 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 31 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 31 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 22 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683346801
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 26 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 29 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 31 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 31 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 22 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (2 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683433201
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 26 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 29 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 32 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 32 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 23 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 31 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 32 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (3 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683519601
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 32 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 39 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (4 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683606001
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 34 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (5 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683692401
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 35 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Thu 4 May 2023 11:00:08 AM EDT (6 days ago), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683778802
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Wed 10 May 2023 11:00:07 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683865201
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 27 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 30 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 32 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 24 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 32 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 33 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 43 C [OK]<br><br>Last check incomplete on Thu 11 May 2023 11:00:07 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1683951601
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 34 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 40 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 44 C [OK]<br><br>Last check incomplete on Fri 12 May 2023 11:00:08 AM EDT (yesterday), finding 0 errors.<br>Error code: -4
|
||||
@@ -0,0 +1,6 @@
|
||||
timestamp=1684038001
|
||||
event=Unraid Status
|
||||
subject=Notice [UNRAID] - array health report [PASS]
|
||||
description=Array has 9 disks (including parity & pools)
|
||||
importance=normal
|
||||
message=Parity - ST18000NM000J-2TV103_ZR585CPY (sdg) - active 28 C [OK]<br>Disk 1 - ST18000NM000J-2TV103_ZR5B1W9X (sdf) - active 31 C [OK]<br>Disk 2 - WDC_WD120EDAZ-11F3RA0_5PJRD45C (sdi) - active 33 C [OK]<br>Disk 3 - WDC_WD120EMAZ-11BLFA0_5PH8BTYD (sde) - active 33 C [OK]<br>Cache - Samsung_SSD_850_EVO_250GB_S2R5NX0H643734Z (sdh) - active 25 C [OK]<br>Cache 2 - KINGSTON_SA2000M8250G_50026B7282669D9E (nvme3n1) - active 33 C [OK]<br>Zpool - CT2000P5PSSD8_22513DA16E6C (nvme0n1) - active 35 C [OK]<br>Zpool 2 - CT2000P5PSSD8_22513DA1657C (nvme1n1) - active 41 C [OK]<br>Zpool 3 - CT2000P5PSSD8_22513DA13F82 (nvme2n1) - active 45 C [OK]<br><br>Parity is valid<br>Last checked on Sat 13 May 2023 05:45:11 AM EDT (yesterday), finding 0 errors.<br>Duration: 4 hours, 15 minutes, 4 seconds. Average speed: 1.2 GB/s
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user