diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml index 54a11f33..f450b99b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yml +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -5,44 +5,64 @@ body: - type: markdown attributes: value: | - **IMPORTANT:** Failure to comply with the following guidelines may result in immediate closure. - - Prior to submitting, kindly search the closed issues to check if the problem you are reporting has already been addressed and resolved. If you come across a closed issue that pertains to your problem, please leave a comment on that issue instead of creating a new one. - - If the default Linux distribution is not adhered to, script support will be discontinued. - - When encountering the error message `[ERROR] in line 23: exit code *: while executing command "$@" > /dev/null 2>&1`, make sure to run the script in verbose mode to accurately determine the underlying issue. - - For suggestions, questions, or feature/script requests, please use the [Discussions section.](https://github.com/community-scripts/ProxmoxVE/discussions) + # ๐Ÿž **Script Issue Report** + Thank you for taking the time to report an issue! Please provide as much detail as possible to help us address the problem efficiently. + + ## โš ๏ธ **IMPORTANT** + - ๐Ÿ” **Search first:** Before submitting, check if the issue has already been reported or resolved in [closed issues](https://github.com/community-scripts/ProxmoxVE/issues?q=is%3Aissue+is%3Aclosed). If found, comment on that issue instead of creating a new one. + Alternatively, check the **[Discussions](https://github.com/community-scripts/ProxmoxVE/discussions)** under the *"Announcement"* or *"Guide"* categories for relevant information. + - ๐Ÿ› ๏ธ **Supported environments only:** Ensure you are using a default Linux distribution. Custom setups may not be supported. + - ๐Ÿ”Ž If you encounter `[ERROR] in line 23: exit code *: while executing command "$@" > /dev/null 2>&1`, rerun the script with verbose mode before submitting the issue. + - ๐Ÿ’ก For general questions, feature requests, or suggestions, use the [Discussions section](https://github.com/community-scripts/ProxmoxVE/discussions). - type: input id: guidelines attributes: - label: Please verify that you have read and understood the guidelines. + label: โœ… Have you read and understood the above guidelines? placeholder: "yes" validations: required: true - - type: textarea - id: bug + - type: input + id: script_name attributes: - label: A clear and concise description of the issue. + label: ๐Ÿ“œ What is the name of the script you are using? + placeholder: "e.g., NextcloudPi, Zigbee2MQTT" validations: required: true - + + - type: input + id: script_command + attributes: + label: ๐Ÿ“‚ What was the exact command used to execute the script? + placeholder: "e.g., bash -c \"$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/ct/zigbee2mqtt.sh)\" or \"update\"" + validations: + required: true + + - type: textarea + id: issue_description + attributes: + label: ๐Ÿ“ Provide a clear and concise description of the issue. + validations: + required: true + - type: checkboxes validations: required: true attributes: - label: What settings are you currently utilizing? + label: โš™๏ธ What settings are you using? options: - label: Default Settings - label: Advanced Settings - type: markdown attributes: - value: "If using Advanced Settings, please try Default Settings before creating an issue." + value: "๐Ÿ’ก **Tip:** If you are using Advanced Settings, please test with Default Settings before submitting an issue." - type: dropdown - id: distribution + id: linux_distribution attributes: - label: Which Linux distribution are you employing? + label: ๐Ÿ–ฅ๏ธ Which Linux distribution are you using? options: - - Alpine @@ -51,21 +71,30 @@ body: - Ubuntu 20.04 - Ubuntu 22.04 - Ubuntu 24.04 + - Ubuntu 24.10 validations: required: true - type: textarea - id: screenshot + id: steps_to_reproduce attributes: - label: If relevant, including screenshots or a code block can be helpful in clarifying the issue. - placeholder: "Code blocks begin and conclude by enclosing the code with three backticks (```) above and below it." + label: ๐Ÿ”„ Steps to reproduce the issue. + placeholder: "e.g., Step 1: ..., Step 2: ..." validations: - required: false + required: true - type: textarea - id: reproduce + id: error_output attributes: - label: Please provide detailed steps to reproduce the issue. - placeholder: "First do this, then this ..." + label: โŒ Paste the full error output (if available). + placeholder: "Include any relevant logs or error messages." + validations: + required: true + + - type: textarea + id: additional_context + attributes: + label: ๐Ÿ–ผ๏ธ Additional context (optional). + placeholder: "Include screenshots, code blocks (use triple backticks ```), or any other relevant information." validations: required: false diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index f188df3a..e6dbcfdd 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,31 +1,39 @@ -> [!NOTE] -> We are meticulous when it comes to merging code into the main branch, so please understand that we may reject pull requests that do not meet the project's standards. It's never personal. Also, game-related scripts have a lower chance of being merged. +> **๐Ÿ› ๏ธ Note:** +> We are meticulous about merging code into the main branch, so please understand that pull requests not meeting the project's standards may be rejected. It's never personal! +> ๐ŸŽฎ **Note for game-related scripts:** These have a lower likelihood of being merged. -## Description +--- +## โœ๏ธ Description Provide a summary of the changes made and/or reference the issue being addressed. -Fixes # (issue) +- -## Type of change -Please check the relevant option(s): +- - - -- [ ] Bug fix (non-breaking change that resolves an issue) -- [ ] New feature (non-breaking change that adds functionality) -- [ ] Breaking change (a fix or feature that would cause existing functionality to change unexpectedly) -- [ ] New script (a fully functional and thoroughly tested script or set of scripts.) +- Related Issue: # (issue number, if applicable) +- Related PR: # (if applicable) +- Related Discussion: [Link](https://github.com/community-scripts/ProxmoxVE/discussions) -## Prerequisites -The following efforts must be made for the PR to be considered. Please check when completed: -- [ ] Self-review performed (I have reviewed my code, ensuring it follows established patterns and conventions) -- [ ] Testing performed (I have tested my changes, ensuring everything works as expected) +--- + +## ๐Ÿ› ๏ธ Type of Change +Please check the relevant options: +- [ ] Bug fix (non-breaking change that resolves an issue) +- [ ] New feature (non-breaking change that adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to change unexpectedly) +- [ ] New script (a fully functional and thoroughly tested script or set of scripts) + +--- + +## โœ… Prerequisites +The following steps must be completed for the pull request to be considered: +- [ ] Self-review performed (I have reviewed my code to ensure it follows established patterns and conventions.) +- [ ] Testing performed (I have thoroughly tested my changes and verified expected functionality.) - [ ] Documentation updated (I have updated any relevant documentation) -## Additional Information (optional) -Provide any additional context or screenshots about the feature or fix here. +--- +## ๐Ÿ“‹ Additional Information (optional) +Provide any extra context or screenshots about the feature or fix here. -## Related Pull Requests / Discussions - -If there are other pull requests or discussions related to this change, please link them here: -- Related PR # diff --git a/.github/workflows/changelog-pr.yml b/.github/workflows/changelog-pr.yml index efb09a0c..78d74f85 100644 --- a/.github/workflows/changelog-pr.yml +++ b/.github/workflows/changelog-pr.yml @@ -63,6 +63,7 @@ jobs: const { data: pulls } = await github.rest.pulls.list({ owner: context.repo.owner, repo: context.repo.repo, + base: "main", state: "closed", sort: "updated", direction: "desc", diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml deleted file mode 100644 index 435c5c80..00000000 --- a/.github/workflows/deploy-pages.yml +++ /dev/null @@ -1,79 +0,0 @@ -# Sample workflow for building and deploying a Next.js site to GitHub Pages -# -# To get started with Next.js see: https://nextjs.org/docs/getting-started -# -name: Deploy Next.js site to Pages - -on: - push: - branches: ["main"] - paths: - - frontend/** - - json/** - - workflow_dispatch: - -permissions: - contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false - -jobs: - build: - runs-on: ubuntu-latest - defaults: - run: - working-directory: frontend # Set default working directory for all run steps - steps: - - name: Checkout - uses: actions/checkout@v4 - - name: Detect package manager - id: detect-package-manager - run: | - if [ -f "${{ github.workspace }}/frontend/yarn.lock" ]; then - echo "manager=yarn" >> $GITHUB_OUTPUT - echo "command=install" >> $GITHUB_OUTPUT - echo "runner=yarn" >> $GITHUB_OUTPUT - exit 0 - elif [ -f "${{ github.workspace }}/frontend/package.json" ]; then - echo "manager=npm" >> $GITHUB_OUTPUT - echo "command=ci" >> $GITHUB_OUTPUT - echo "runner=npx --no-install" >> $GITHUB_OUTPUT - exit 0 - else - echo "Unable to determine package manager" - exit 1 - fi - - name: Setup Node - uses: actions/setup-node@v4 - with: - node-version: "20" - cache: ${{ steps.detect-package-manager.outputs.manager }} - cache-dependency-path: frontend/package-lock.json # Specify the path to package-lock.json - - name: Setup Pages - uses: actions/configure-pages@v5 - with: - static_site_generator: next - - name: Install dependencies - run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }} --legacy-peer-deps - - name: Build with Next.js - run: ${{ steps.detect-package-manager.outputs.runner }} next build - - name: Upload artifact - uses: actions/upload-pages-artifact@v3 - with: - path: frontend/out - - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 diff --git a/.github/workflows/frontend-cicd.yml b/.github/workflows/frontend-cicd.yml new file mode 100644 index 00000000..dd242f6e --- /dev/null +++ b/.github/workflows/frontend-cicd.yml @@ -0,0 +1,78 @@ +# Based on https://github.com/actions/starter-workflows/blob/main/pages/nextjs.yml + +name: Frontend CI/CD + +on: + push: + branches: ["main"] + paths: + - frontend/** + - json/** + + pull_request: + branches: ["main"] + types: [opened, synchronize, reopened, edited] + paths: + - frontend/** + - json/** + + workflow_dispatch: + +permissions: + contents: read + +concurrency: + group: pages-${{ github.ref }} + cancel-in-progress: false + +jobs: + build: + runs-on: ubuntu-latest + defaults: + run: + working-directory: frontend # Set default working directory for all run steps + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: "20" + cache: npm + cache-dependency-path: frontend/package-lock.json + + - name: Install dependencies + run: npm ci --prefer-offline --legacy-peer-deps + + - name: Run tests + run: npm run test + + - name: Configure Next.js for pages + uses: actions/configure-pages@v5 + with: + static_site_generator: next + + - name: Build with Next.js + run: npm run build + + - name: Upload artifact + if: github.ref == 'refs/heads/main' + uses: actions/upload-pages-artifact@v3 + with: + path: frontend/out + + deploy: + runs-on: ubuntu-latest + needs: build + if: github.ref == 'refs/heads/main' + permissions: + pages: write + id-token: write + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 diff --git a/CHANGELOG.md b/CHANGELOG.md index 396ce672..096c6f41 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,107 @@ All LXC instances created using this repository come pre-installed with Midnight > [!IMPORTANT] Do not break established syntax in this file, as it is automatically updated by a Github Workflow +## 2024-12-13 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Fix Keycloak Update Function [@MickLesk](https://github.com/MickLesk) ([#762](https://github.com/community-scripts/ProxmoxVE/pull/762)) +- Fix config bug in Alpine Vaultwarden [@havardthom](https://github.com/havardthom) ([#775](https://github.com/community-scripts/ProxmoxVE/pull/775)) + +### ๐ŸŒ Website + +- Change MISC from red to green [@MickLesk](https://github.com/MickLesk) ([#815](https://github.com/community-scripts/ProxmoxVE/pull/815)) +- Update some JSON Files for Website [@MickLesk](https://github.com/MickLesk) ([#812](https://github.com/community-scripts/ProxmoxVE/pull/812)) +- Update Notes & Documentation for Proxmox Backup Server [@MickLesk](https://github.com/MickLesk) ([#804](https://github.com/community-scripts/ProxmoxVE/pull/804)) + +### ๐Ÿงฐ Maintenance + +- Github: Optimize Issue Template & PR Template [@MickLesk](https://github.com/MickLesk) ([#802](https://github.com/community-scripts/ProxmoxVE/pull/802)) + +## 2024-12-12 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Update jellyfin.sh / Fix infinite loop [@gerpo](https://github.com/gerpo) ([#792](https://github.com/community-scripts/ProxmoxVE/pull/792)) + +### ๐ŸŒ Website + +- Fix port and website in nextcloudpi.json [@PhoenixEmik](https://github.com/PhoenixEmik) ([#790](https://github.com/community-scripts/ProxmoxVE/pull/790)) +- Add post-install note to mqtt.json [@havardthom](https://github.com/havardthom) ([#783](https://github.com/community-scripts/ProxmoxVE/pull/783)) + +### ๐Ÿงฐ Maintenance + +- Filter pull requests on main branch in changelog-pr.yml [@havardthom](https://github.com/havardthom) ([#793](https://github.com/community-scripts/ProxmoxVE/pull/793)) +- Fix Z-Wave JS UI Breaking Change in CHANGELOG.md [@havardthom](https://github.com/havardthom) ([#781](https://github.com/community-scripts/ProxmoxVE/pull/781)) + +## 2024-12-09 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Fix PostgreSQL password bug in Umami install [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#750](https://github.com/community-scripts/ProxmoxVE/pull/750)) + +## 2024-12-08 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Use MongoDB 4.4 in Unifi for non-AVX users [@havardthom](https://github.com/havardthom) ([#691](https://github.com/community-scripts/ProxmoxVE/pull/691)) + +### ๐ŸŒ Website + +- Move homarr to Dashboards section [@CrazyWolf13](https://github.com/CrazyWolf13) ([#740](https://github.com/community-scripts/ProxmoxVE/pull/740)) + +## 2024-12-07 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Zigbee2MQTT: Remove dev branch choice until v2.0.0 release [@havardthom](https://github.com/havardthom) ([#702](https://github.com/community-scripts/ProxmoxVE/pull/702)) +- Fix Hoarder build failure by installing Chromium stable [@vhsdream](https://github.com/vhsdream) ([#723](https://github.com/community-scripts/ProxmoxVE/pull/723)) + +### ๐ŸŒ Website + +- Bugfix: Include script name in website search [@havardthom](https://github.com/havardthom) ([#731](https://github.com/community-scripts/ProxmoxVE/pull/731)) + +### โ” Unlabelled + +- Fix broken build.func [@havardthom](https://github.com/havardthom) ([#736](https://github.com/community-scripts/ProxmoxVE/pull/736)) + +## 2024-12-06 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- Fix bugs in Komga update [@DysfunctionalProgramming](https://github.com/DysfunctionalProgramming) ([#717](https://github.com/community-scripts/ProxmoxVE/pull/717)) +- Bookstack: Fix Update function composer [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#700](https://github.com/community-scripts/ProxmoxVE/pull/700)) + +### ๐ŸŒ Website + +- fix: note component in json-editor getting out of focus when typing and revert theme switch animation [@BramSuurdje](https://github.com/BramSuurdje) ([#706](https://github.com/community-scripts/ProxmoxVE/pull/706)) + +### ๐Ÿงฐ Maintenance + +- Update frontend CI/CD workflow [@havardthom](https://github.com/havardthom) ([#703](https://github.com/community-scripts/ProxmoxVE/pull/703)) + +## 2024-12-05 + +### Changed + +### ๐Ÿš€ Updated Scripts + +- PostgreSQL: Change authentication method from peer to md5 for UNIX sockets [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#650](https://github.com/community-scripts/ProxmoxVE/pull/650)) +- Fix stdout in unifi.sh [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#688](https://github.com/community-scripts/ProxmoxVE/pull/688)) +- Fix `rm` bug in Vikunja update [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#692](https://github.com/community-scripts/ProxmoxVE/pull/692)) + ## 2024-12-04 ### Changed @@ -94,13 +195,17 @@ Do not break established syntax in this file, as it is automatically updated by ### Changed +### ๐Ÿ’ฅ Breaking Changes + +- Fix Z-Wave JS UI script [@MickLesk](https://github.com/MickLesk) ([#546](https://github.com/community-scripts/ProxmoxVE/pull/546)) + - [Migration guide](https://github.com/community-scripts/ProxmoxVE/discussions/635) + ### ๐Ÿš€ Updated Scripts - Add vitest, add json validation tests, fix broken json files [@havardthom](https://github.com/havardthom) ([#566](https://github.com/community-scripts/ProxmoxVE/pull/566)) - Add update script to Pocketbase [@dsiebel](https://github.com/dsiebel) ([#535](https://github.com/community-scripts/ProxmoxVE/pull/535)) - Fix MongoDB install in Unifi script [@havardthom](https://github.com/havardthom) ([#564](https://github.com/community-scripts/ProxmoxVE/pull/564)) - Remove changing DISK_REF for zfspool mikrotik-routeros.sh [@tjcomserv](https://github.com/tjcomserv) ([#529](https://github.com/community-scripts/ProxmoxVE/pull/529)) -- Fix Z-Wave JS UI script [@MickLesk](https://github.com/MickLesk) ([#546](https://github.com/community-scripts/ProxmoxVE/pull/546)) ### ๐ŸŒ Website diff --git a/ct/keycloak.sh b/ct/keycloak.sh index 9310a805..9d4b742b 100644 --- a/ct/keycloak.sh +++ b/ct/keycloak.sh @@ -39,18 +39,14 @@ function update_script() { apt-get -y upgrade &>/dev/null RELEASE=$(curl -s https://api.github.com/repos/keycloak/keycloak/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') - msg_info "Downloading Keycloak v$RELEASE" + msg_info "Updating Keycloak to v$RELEASE" cd /opt wget -q https://github.com/keycloak/keycloak/releases/download/$RELEASE/keycloak-$RELEASE.tar.gz - $STD tar -xvf keycloak-$RELEASE.tar.gz - - msg_info "Merging configuration files" - cp -r keycloak/conf keycloak-$RELEASE - cp -r keycloak/providers keycloak-$RELEASE - cp -r keycloak/themes keycloak-$RELEASE - - msg_info "Updating Keycloak" mv keycloak keycloak.old + tar -xzf keycloak-$RELEASE.tar.gz + cp -r keycloak.old/conf keycloak-$RELEASE + cp -r keycloak.old/providers keycloak-$RELEASE + cp -r keycloak.old/themes keycloak-$RELEASE mv keycloak-$RELEASE keycloak msg_info "Delete temporary installation files" @@ -70,4 +66,4 @@ description msg_ok "Completed Successfully!\n" echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" echo -e "${INFO}${YW} Access it using the following URL:${CL}" -echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/admin${CL}" \ No newline at end of file +echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8080/admin${CL}" diff --git a/frontend/src/app/json-editor/_components/Note.tsx b/frontend/src/app/json-editor/_components/Note.tsx index 08d9b80b..3242b514 100644 --- a/frontend/src/app/json-editor/_components/Note.tsx +++ b/frontend/src/app/json-editor/_components/Note.tsx @@ -12,7 +12,7 @@ import { cn } from "@/lib/utils"; import { PlusCircle, Trash2 } from "lucide-react"; import { z } from "zod"; import { ScriptSchema, type Script } from "../_schemas/schemas"; -import { memo, useCallback } from "react"; +import { memo, useCallback, useRef } from "react"; type NoteProps = { script: Script; @@ -27,6 +27,8 @@ function Note({ setIsValid, setZodErrors, }: NoteProps) { + const inputRefs = useRef<(HTMLInputElement | null)[]>([]); + const addNote = useCallback(() => { setScript({ ...script, @@ -49,6 +51,12 @@ function Note({ setIsValid(result.success); setZodErrors(result.success ? null : result.error); setScript(updated); + // Restore focus after state update + if (key === "text") { + setTimeout(() => { + inputRefs.current[index]?.focus(); + }, 0); + } }, [script, setScript, setIsValid, setZodErrors]); const removeNote = useCallback((index: number) => { @@ -58,46 +66,51 @@ function Note({ }); }, [script, setScript]); - const NoteItem = memo(({ note, index }: { note: Script["notes"][number], index: number }) => ( -
- updateNote(index, "text", e.target.value)} - /> - - -
- )); + const NoteItem = memo( + ({ note, index }: { note: Script["notes"][number]; index: number }) => ( +
+ updateNote(index, "text", e.target.value)} + ref={(el) => { + inputRefs.current[index] = el; + }} + /> + + +
+ ), + ); NoteItem.displayName = 'NoteItem'; diff --git a/frontend/src/components/CommandMenu.tsx b/frontend/src/components/CommandMenu.tsx index b1c8e126..1f03d6ba 100644 --- a/frontend/src/components/CommandMenu.tsx +++ b/frontend/src/components/CommandMenu.tsx @@ -26,7 +26,7 @@ export const formattedBadge = (type: string) => { LXC ); case "misc": - return MISC; + return MISC; } return null; }; @@ -95,7 +95,7 @@ export default function CommandMenu() { {category.scripts.map((script) => ( { setOpen(false); router.push(`/scripts?id=${script.slug}`); diff --git a/frontend/src/styles/globals.css b/frontend/src/styles/globals.css index cf20db2e..d9b89193 100644 --- a/frontend/src/styles/globals.css +++ b/frontend/src/styles/globals.css @@ -30,24 +30,6 @@ --chart-3: 197 37% 24%; --chart-4: 43 74% 66%; --chart-5: 27 87% 67%; - --expo-out: linear( - 0 0%, - 0.1684 2.66%, - 0.3165 5.49%, - 0.446 8.52%, - 0.5581 11.78%, - 0.6535 15.29%, - 0.7341 19.11%, - 0.8011 23.3%, - 0.8557 27.93%, - 0.8962 32.68%, - 0.9283 38.01%, - 0.9529 44.08%, - 0.9711 51.14%, - 0.9833 59.06%, - 0.9915 68.74%, - 1 100% - ); } ::selection { @@ -81,42 +63,6 @@ --chart-4: 280 65% 60%; --chart-5: 340 75% 55%; } - - ::view-transition-group(root) { - animation-duration: 0.7bun s; - animation-timing-function: var(--expo-out); - } - - ::view-transition-new(root) { - animation-name: reveal-light; - } - - ::view-transition-old(root), - .dark::view-transition-old(root) { - animation: none; - z-index: -1; - } - .dark::view-transition-new(root) { - animation-name: reveal-dark; - } - - @keyframes reveal-dark { - from { - clip-path: polygon(50% -71%, -50% 71%, -50% 71%, 50% -71%); - } - to { - clip-path: polygon(50% -71%, -50% 71%, 50% 171%, 171% 50%); - } - } - - @keyframes reveal-light { - from { - clip-path: polygon(171% 50%, 50% 171%, 50% 171%, 171% 50%); - } - to { - clip-path: polygon(171% 50%, 50% 171%, -50% 71%, 50% -71%); - } - } } @layer base { diff --git a/install/alpine-vaultwarden-install.sh b/install/alpine-vaultwarden-install.sh index 1babe427..dffd20b0 100644 --- a/install/alpine-vaultwarden-install.sh +++ b/install/alpine-vaultwarden-install.sh @@ -25,7 +25,9 @@ msg_ok "Installed Dependencies" msg_info "Installing Alpine-Vaultwarden" $STD apk add vaultwarden -sed -i -e 's/# export ADMIN_TOKEN=.*/export ADMIN_TOKEN='\'''\''/' -e '/^# export ROCKET_ADDRESS=0\.0\.0\.0/s/^# //' -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden +sed -i -e 's|export WEB_VAULT_ENABLED=.*|export WEB_VAULT_ENABLED=true|' /etc/conf.d/vaultwarden +echo -e "export ADMIN_TOKEN=''" >>/etc/conf.d/vaultwarden +echo -e "export ROCKET_ADDRESS=0.0.0.0" >>/etc/conf.d/vaultwarden msg_ok "Installed Alpine-Vaultwarden" msg_info "Installing Web-Vault" diff --git a/install/hoarder-install.sh b/install/hoarder-install.sh index 92eed2de..0c37b69c 100644 --- a/install/hoarder-install.sh +++ b/install/hoarder-install.sh @@ -22,7 +22,8 @@ $STD apt-get install -y \ sudo \ gnupg \ ca-certificates \ - chromium \ + chromium/stable \ + chromium-common/stable \ mc msg_ok "Installed Dependencies" diff --git a/install/postgresql-install.sh b/install/postgresql-install.sh index b816e772..8897abbe 100644 --- a/install/postgresql-install.sh +++ b/install/postgresql-install.sh @@ -35,7 +35,7 @@ cat </etc/postgresql/17/main/pg_hba.conf local all postgres peer # TYPE DATABASE USER ADDRESS METHOD # "local" is for Unix domain socket connections only -local all all peer +local all all md5 # IPv4 local connections: host all all 127.0.0.1/32 scram-sha-256 host all all 0.0.0.0/24 md5 diff --git a/install/umami-install.sh b/install/umami-install.sh index f913128f..28dc0687 100644 --- a/install/umami-install.sh +++ b/install/umami-install.sh @@ -37,7 +37,7 @@ msg_ok "Installed Node.js" msg_info "Setting up postgresql" DB_NAME=umamidb DB_USER=umami -DB_PASS="$(openssl rand -base64 18 | cut -c1-13)" +DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13) SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)" $STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';" $STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;" diff --git a/install/unifi-install.sh b/install/unifi-install.sh index 5bf36a76..d1d2e872 100644 --- a/install/unifi-install.sh +++ b/install/unifi-install.sh @@ -30,16 +30,15 @@ msg_ok "Installed Eclipse Temurin JRE" if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then msg_ok "No AVX Support Detected" - msg_info "Installing MongoDB 4.2" + msg_info "Installing MongoDB 4.4" if ! dpkg -l | grep -q "libssl1.1"; then wget -q http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb $STD dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb - $STD apt-get install -f -y # Fix any broken dependencies fi - wget -qO- https://www.mongodb.org/static/pgp/server-4.2.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.2.gpg - echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.2.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" >/etc/apt/sources.list.d/mongodb-org-4.2.list + wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.4.gpg + echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list $STD apt-get update - $STD apt-get install -y mongodb-org=4.2.17 + $STD apt-get install -y mongodb-org else msg_info "Installing MongoDB 7.0" wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg diff --git a/install/zigbee2mqtt-install.sh b/install/zigbee2mqtt-install.sh index f6b8e97c..54cf0d18 100644 --- a/install/zigbee2mqtt-install.sh +++ b/install/zigbee2mqtt-install.sh @@ -40,20 +40,8 @@ msg_info "Setting up Zigbee2MQTT Repository" $STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt msg_ok "Set up Zigbee2MQTT Repository" -read -r -p "Switch to Edge/dev branch? (y/N) " prompt -if [[ $prompt == "y" ]]; then - DEV="y" -else - DEV="n" -fi - msg_info "Installing Zigbee2MQTT" cd /opt/zigbee2mqtt -if [[ $DEV == "y" ]]; then -$STD git fetch origin dev:dev -$STD git checkout dev -$STD git pull -fi $STD npm ci msg_ok "Installed Zigbee2MQTT" diff --git a/json/actualbudget.json b/json/actualbudget.json index b54516a1..d5138d5e 100644 --- a/json/actualbudget.json +++ b/json/actualbudget.json @@ -9,7 +9,7 @@ "updateable": true, "privileged": false, "interface_port": 5006, - "documentation": null, + "documentation": "https://github.com/community-scripts/ProxmoxVE/discussions/807", "website": "https://actualbudget.org/", "logo": "https://raw.githubusercontent.com/actualbudget/actual/master/packages/desktop-client/public/maskable-512x512.png", "description": "Actual Budget is a super fast and privacy-focused app for managing your finances. At its heart is the well proven and much loved Envelope Budgeting methodology.", diff --git a/json/add-tailscale-lxc.json b/json/add-tailscale-lxc.json index d241737b..1b2717e2 100644 --- a/json/add-tailscale-lxc.json +++ b/json/add-tailscale-lxc.json @@ -33,11 +33,11 @@ "notes": [ { "text": "After the script finishes, reboot the LXC then run `tailscale up` in the LXC console", - "type": "warning" + "type": "info" }, { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/adguard.json b/json/adguard.json index fbab46c4..89d7287a 100644 --- a/json/adguard.json +++ b/json/adguard.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Adguard Home can be updated via the user interface.", - "type": "warning" + "type": "info" } ] } diff --git a/json/adventurelog.json b/json/adventurelog.json index 62839ec1..f9aca9a8 100644 --- a/json/adventurelog.json +++ b/json/adventurelog.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "AdventureLog uses an initial local IP, if you change your LXC-IP, you need to change the IP here: `/opt/adventurelog/backend/server/.env` and here: `/opt/adventurelog/frontend/.env`", + "type": "warning" + } + ] } \ No newline at end of file diff --git a/json/all-templates.json b/json/all-templates.json index e5ea84ce..47157131 100644 --- a/json/all-templates.json +++ b/json/all-templates.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Resource and network settings are adjustable post LXC creation.", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/alpine.json b/json/alpine.json index 77ff8ee8..ad46560e 100644 --- a/json/alpine.json +++ b/json/alpine.json @@ -30,5 +30,10 @@ "username": null, "password": "alpine" }, - "notes": [] + "notes": [ + { + "text": "To Update Alpine: `apk update && apk upgrade`", + "type": "info" + } + ] } \ No newline at end of file diff --git a/json/apache-cassandra.json b/json/apache-cassandra.json index 947d8e5c..63484fa4 100644 --- a/json/apache-cassandra.json +++ b/json/apache-cassandra.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Apache-Cassandra Configuration: `nano /etc/cassandra/cassandra.yaml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/apache-couchdb.json b/json/apache-couchdb.json index 2c0ae1f1..623ede38 100644 --- a/json/apache-couchdb.json +++ b/json/apache-couchdb.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Show Login Credentials: `cat CouchDB.creds`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/aria2.json b/json/aria2.json index bf04bd81..9282221a 100644 --- a/json/aria2.json +++ b/json/aria2.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Within the LXC console, run `cat rpc.secret` to display the rpc-secret. Copy this token and paste it into the Aria2 RPC Secret Token box within the AriaNG Settings. Then, click the reload AriaNG button.", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/audiobookshelf.json b/json/audiobookshelf.json index c312d153..062d71ec 100644 --- a/json/audiobookshelf.json +++ b/json/audiobookshelf.json @@ -9,7 +9,7 @@ "updateable": false, "privileged": false, "interface_port": 13378, - "documentation": null, + "documentation": "https://www.audiobookshelf.org/guides/", "website": "https://www.audiobookshelf.org/", "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/audiobookshelf.svg", "description": "Audiobookshelf is a Self-hosted audiobook and podcast server.", diff --git a/json/autobrr.json b/json/autobrr.json index 143fb172..64535782 100644 --- a/json/autobrr.json +++ b/json/autobrr.json @@ -9,7 +9,7 @@ "updateable": true, "privileged": false, "interface_port": 7474, - "documentation": null, + "documentation": "https://autobrr.com/configuration/autobrr", "website": "https://autobrr.com/", "logo": "https://raw.githubusercontent.com/autobrr/autobrr/master/.github/images/logo.png", "description": "Autobrr is a torrent downloading tool that automates the process of downloading torrents. It is designed to be modern and user-friendly, providing users with a convenient and efficient way to download torrent files. With Autobrr, you can schedule and manage your torrent downloads, and have the ability to automatically download torrents based on certain conditions, such as time of day or availability of seeds. This can save you time and effort, allowing you to focus on other tasks while your torrents are being downloaded in the background.", diff --git a/json/blocky.json b/json/blocky.json index 5f08d3ec..8668bfd1 100644 --- a/json/blocky.json +++ b/json/blocky.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Blocky Configuration Path: `/opt/blocky/config.yml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/calibre-web.json b/json/calibre-web.json index 03c7e83a..170b6285 100644 --- a/json/calibre-web.json +++ b/json/calibre-web.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Add Calibre-Web Extras via `update`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/casaos.json b/json/casaos.json index abaf1c06..0ec77da5 100644 --- a/json/casaos.json +++ b/json/casaos.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.", + "type": "warning" + } + ] } \ No newline at end of file diff --git a/json/clean-lxcs.json b/json/clean-lxcs.json index 22f94a5a..c6730bdb 100644 --- a/json/clean-lxcs.json +++ b/json/clean-lxcs.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/cockpit.json b/json/cockpit.json index fb343f71..51b8d49b 100644 --- a/json/cockpit.json +++ b/json/cockpit.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Set a root password if using autologin. This will be the Cockpit password.`sudo passwd root`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/cron-update-lxcs.json b/json/cron-update-lxcs.json index 08e5e959..eeb6311f 100644 --- a/json/cron-update-lxcs.json +++ b/json/cron-update-lxcs.json @@ -33,11 +33,11 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" }, { "text": "To exclude LXCs from updating, edit the crontab using `crontab -e` and add CTID as shown in the example below:\n\n\n\n`0 0 * * 0 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin /bin/bash -c '$(wget -qLO - https://github.com/community-scripts/ProxmoxVE/raw/main/misc/update-lxcs-cron.sh)' -s 103 111 >>/var/log/update-lxcs-cron.log 2>/dev/null`", - "type": "warning" + "type": "info" } ] diff --git a/json/cronicle.json b/json/cronicle.json index 67c2b9bd..3c733ee2 100644 --- a/json/cronicle.json +++ b/json/cronicle.json @@ -32,12 +32,8 @@ }, "notes": [ { - "text": "Primary and Worker Private Keys Must Match.", - "type": "warning" - }, - { - "text": "Configuration Path: `/opt/cronicle/conf/config.json`", - "type": "warning" + "text": "Configuration Path: `/opt/cronicle/conf/config.json` (Primary and Worker Private Keys Must Match)", + "type": "info" } ] } \ No newline at end of file diff --git a/json/daemonsync.json b/json/daemonsync.json index 592516d3..5a031b9a 100644 --- a/json/daemonsync.json +++ b/json/daemonsync.json @@ -10,7 +10,7 @@ "privileged": false, "interface_port": 8084, "documentation": null, - "website": null, + "website": "https://daemonsync.me/", "logo": "https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fimg.informer.com%2Ficons_mac%2Fpng%2F128%2F350%2F350335.png&f=1&nofb=1", "description": "Sync files from app to server, share photos & videos, back up your data and stay secure inside local network.", "install_methods": [ diff --git a/json/dockge.json b/json/dockge.json index 012dd344..977d4062 100644 --- a/json/dockge.json +++ b/json/dockge.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Options to add Immich and/or Home Assistant", - "type": "warning" + "type": "info" }, { "text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.", diff --git a/json/emby.json b/json/emby.json index 1b37bfa5..3516b84c 100644 --- a/json/emby.json +++ b/json/emby.json @@ -33,7 +33,7 @@ "notes": [ { "text": "With Privileged/Unprivileged Hardware Acceleration Support", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/emqx.json b/json/emqx.json index c7f68180..69622f3e 100644 --- a/json/emqx.json +++ b/json/emqx.json @@ -30,5 +30,10 @@ "username": "admin", "password": "public" }, - "notes": [] + "notes": [ + { + "text": "Setup-Steps: Access Control โžก Authentication โžก Create โžก Next โžก Next โžก Create โžก Users โžก Add โžก Username / Password (to authenicate with MQTT) โžก Save. You're now ready to enjoy a high-performance MQTT Broker.", + "type": "info" + } + ] } \ No newline at end of file diff --git a/json/evcc.json b/json/evcc.json index 27ba3d2e..1a4c2429 100644 --- a/json/evcc.json +++ b/json/evcc.json @@ -33,7 +33,7 @@ "notes": [ { "text": "entering `evcc configure` in the LXC terminal will guide you through the creation of a configuration file for evcc.", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/fhem.json b/json/fhem.json index 6c2a7b4a..0d559461 100644 --- a/json/fhem.json +++ b/json/fhem.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.", + "type": "warning" + } + ] } \ No newline at end of file diff --git a/json/frigate.json b/json/frigate.json index 53496cca..275afce3 100644 --- a/json/frigate.json +++ b/json/frigate.json @@ -33,11 +33,11 @@ "notes": [ { "text": "Discussions (explore more advanced methods): `https://github.com/tteck/Proxmox/discussions/2711`", - "type": "warning" + "type": "info" }, { "text": "go2rtc Interface port:`1984`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/fstrim.json b/json/fstrim.json index fb19b156..a6c124d1 100644 --- a/json/fstrim.json +++ b/json/fstrim.json @@ -9,10 +9,10 @@ "updateable": false, "privileged": false, "interface_port": null, - "documentation": "https://github.com/tteck/Proxmox/discussions/2505#discussion-6226037", + "documentation": "https://github.com/community-scripts/ProxmoxVE/discussions/805", "website": null, "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/lxc.svg", - "description": "This maintains SSD performance by managing unused blocks. Thin-provisioned storage systems also require management to prevent unnecessary storage use. VMs automate fstrim, while LXC containers need manual or automated fstrim processes for optimal performance.\r\nThis is designed to work with SSDs on ext4 filesystems only.", + "description": "This maintains SSD performance by managing unused blocks. Thin-provisioned storage systems also require management to prevent unnecessary storage use. VMs automate fstrim, while LXC containers need manual or automated fstrim processes for optimal performance.", "install_methods": [ { "type": "default", @@ -33,6 +33,10 @@ "notes": [ { "text": "Execute within the Proxmox shell", + "type": "info" + }, + { + "text": "This is designed to work with SSDs on ext4 filesystems only.", "type": "warning" } ] diff --git a/json/gotify.json b/json/gotify.json index 1728b3a5..5e786718 100644 --- a/json/gotify.json +++ b/json/gotify.json @@ -30,14 +30,5 @@ "username": "admin", "password": "admin" }, - "notes": [ - { - "text": "password: `admin`", - "type": "warning" - }, - { - "text": "username: `admin`", - "type": "warning" - } - ] + "notes": [] } \ No newline at end of file diff --git a/json/haos-vm.json b/json/haos-vm.json index 33f482bc..6ce917b3 100644 --- a/json/haos-vm.json +++ b/json/haos-vm.json @@ -34,6 +34,10 @@ { "text": "The disk must have a minimum size of 32GB and its size cannot be changed during the creation of the VM.", "type": "warning" + }, + { + "text": "After the script completes, click on the VM, then on the Summary or Console tab to find the VM IP.", + "type": "info" } ] } \ No newline at end of file diff --git a/json/headscale.json b/json/headscale.json index cc4c3ee1..9260aa7c 100644 --- a/json/headscale.json +++ b/json/headscale.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Configuration settings: `/etc/headscale/config.yaml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/hivemq.json b/json/hivemq.json index 6aa5d959..c63e39c8 100644 --- a/json/hivemq.json +++ b/json/hivemq.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "To check if HiveMQ is listening to the default port for MQTT `lsof -i :1883`", + "type": "info" + } + ] } \ No newline at end of file diff --git a/json/homarr.json b/json/homarr.json index fc4e3587..ed15e88f 100644 --- a/json/homarr.json +++ b/json/homarr.json @@ -2,7 +2,7 @@ "name": "Homarr", "slug": "homarr", "categories": [ - 18 + 15 ], "date_created": "2024-05-02", "type": "ct", diff --git a/json/homeassistant-core.json b/json/homeassistant-core.json index 4294c70f..ff4feb6d 100644 --- a/json/homeassistant-core.json +++ b/json/homeassistant-core.json @@ -32,16 +32,20 @@ }, "notes": [ { - "text": "config path: `/root/.homeassistant`", + "text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.", "type": "warning" }, { - "text": "Requires `6.8.4-3-pve` or newer kernel", + "text": "Requires PVE 8.2.2 with kernel 6.8.4-3-pve or newer", "type": "warning" }, { "text": "Use Ubuntu 24.04 ONLY", "type": "warning" + }, + { + "text": "config path: `/root/.homeassistant`", + "type": "info" } ] } \ No newline at end of file diff --git a/json/homeassistant.json b/json/homeassistant.json index e5c153a1..564933d7 100644 --- a/json/homeassistant.json +++ b/json/homeassistant.json @@ -38,6 +38,10 @@ { "text": "config path: `/var/lib/docker/volumes/hass_config/_data`", "type": "warning" + }, + { + "text": "Portainer Interface: LXC-IP: 9443", + "type": "info" } ] } \ No newline at end of file diff --git a/json/homebox.json b/json/homebox.json index bad357f6..04d2cb18 100644 --- a/json/homebox.json +++ b/json/homebox.json @@ -32,7 +32,7 @@ }, "notes": [ { - "text": "env file location: `/opt/.env`", + "text": ".env file location: `/opt/.env`", "type": "info" } ] diff --git a/json/homepage.json b/json/homepage.json index 7046b26e..d69c0f95 100644 --- a/json/homepage.json +++ b/json/homepage.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Configuration (bookmarks.yaml, services.yaml, widgets.yaml) path: `/opt/homepage/config/`", - "type": "warning" + "type": "info" } ] } diff --git a/json/homer.json b/json/homer.json index a04de3c1..b86359dd 100644 --- a/json/homer.json +++ b/json/homer.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Configuration Path: `/opt/homer/assets/config.yml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/host-backup.json b/json/host-backup.json index 5afde658..28042559 100644 --- a/json/host-backup.json +++ b/json/host-backup.json @@ -33,7 +33,11 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" + }, + { + "text": "A backup is rendered ineffective when it remains stored on the host", + "type": "info" } ] } \ No newline at end of file diff --git a/json/jellyfin.json b/json/jellyfin.json index 662d3b1a..bcd43ce7 100644 --- a/json/jellyfin.json +++ b/json/jellyfin.json @@ -33,11 +33,11 @@ "notes": [ { "text": "With Privileged/Unprivileged Hardware Acceleration Support", - "type": "warning" + "type": "info" }, { "text": "FFmpeg path: /usr/lib/jellyfin-ffmpeg/ffmpeg", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/kernel-clean.json b/json/kernel-clean.json index 4062c4e6..3e23ea37 100644 --- a/json/kernel-clean.json +++ b/json/kernel-clean.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/kernel-pin.json b/json/kernel-pin.json index 40a990c3..99f6fbcd 100644 --- a/json/kernel-pin.json +++ b/json/kernel-pin.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/linkwarden.json b/json/linkwarden.json index 4b19ef54..5bf40d34 100644 --- a/json/linkwarden.json +++ b/json/linkwarden.json @@ -36,4 +36,4 @@ "type": "info" } ] -} +} \ No newline at end of file diff --git a/json/mafl.json b/json/mafl.json index c6a9f764..2843009c 100644 --- a/json/mafl.json +++ b/json/mafl.json @@ -32,8 +32,8 @@ }, "notes": [ { - "text": "Configuration Path: `/opt/mafl/data/config.yml`\r\n", - "type": "warning" + "text": "Configuration Path: `/opt/mafl/data/config.yml`", + "type": "info" } ] } \ No newline at end of file diff --git a/json/magicmirror.json b/json/magicmirror.json index 6df13ac6..b1cdbc19 100644 --- a/json/magicmirror.json +++ b/json/magicmirror.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Configuration Path: `/opt/magicmirror/config/config.js`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/microcode.json b/json/microcode.json index fe94d5d2..8bb521e3 100644 --- a/json/microcode.json +++ b/json/microcode.json @@ -33,7 +33,11 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" + }, + { + "text": "After a reboot, you can check whether any microcode updates are currently in effect by running the following command. `journalctl -k | grep -E \"microcode\" | head -n 1`", + "type": "info" } ] } \ No newline at end of file diff --git a/json/monitor-all.json b/json/monitor-all.json index 754de0b7..52a14fd1 100644 --- a/json/monitor-all.json +++ b/json/monitor-all.json @@ -33,31 +33,35 @@ "notes": [ { "text": "Execute within the Proxmox shell", + "type": "info" + }, + { + "text": "Virtual machines without the QEMU guest agent installed must be excluded.", + "type": "warning" + }, + { + "text": "Prior to generating any new CT/VM not found in this repository, it's necessary to halt Proxmox VE Monitor-All by running `systemctl stop ping-instances`.", "type": "warning" }, { "text": "To make setup changes, first stop the service: `systemctl stop ping-instances`", - "type": "Info" + "type": "info" }, { "text": "To edit pause time: `nano /usr/local/bin/ping-instances.sh`", - "type": "Info" + "type": "info" }, { "text": "To add excluded instances: `nano /etc/systemd/system/ping-instances.service`", - "type": "Info" - }, - { - "text": "To edit pause time: `nano /usr/local/bin/ping-instances.sh`", - "type": "Info" + "type": "info" }, { "text": "After changes have been saved, `systemctl daemon-reload` and start the service: `systemctl start ping-instances`", - "type": "Info" + "type": "info" }, { "text": "Monitor-All logs: `cat /var/log/ping-instances.log`", - "type": "Info" + "type": "info" } ] } diff --git a/json/mqtt.json b/json/mqtt.json index b3168c48..6337e168 100644 --- a/json/mqtt.json +++ b/json/mqtt.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "You can find post-install info here: `https://github.com/community-scripts/ProxmoxVE/discussions/782`", + "type": "info" + } + ] } \ No newline at end of file diff --git a/json/mysql.json b/json/mysql.json index 6870aed7..e9af860d 100644 --- a/json/mysql.json +++ b/json/mysql.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Database credentials: `cat mysql.creds`", - "type": "warning" + "type": "info" }, { "text": "With an option to install the MySQL 8.4 LTS release instead of MySQL 8.0", diff --git a/json/navidrome.json b/json/navidrome.json index f44412d0..697451a4 100644 --- a/json/navidrome.json +++ b/json/navidrome.json @@ -33,7 +33,7 @@ "notes": [ { "text": "To change Navidrome music folder path, `nano /var/lib/navidrome/navidrome.toml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/netdata.json b/json/netdata.json index 73a379ed..d1abf45a 100644 --- a/json/netdata.json +++ b/json/netdata.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/nextcloudpi.json b/json/nextcloudpi.json index bd0098e7..ab6d3f8c 100644 --- a/json/nextcloudpi.json +++ b/json/nextcloudpi.json @@ -8,9 +8,9 @@ "type": "ct", "updateable": false, "privileged": false, - "interface_port": 433, + "interface_port": 4443, "documentation": null, - "website": "https://www.turnkeylinux.org/nextcloud", + "website": "https://github.com/nextcloud/nextcloudpi", "logo": "https://raw.githubusercontent.com/loganmarchione/homelab-svg-assets/main/assets/nextcloud.svg", "description": "NextCloudPi is a popular self-hosted solution for file collaboration and data storage. It is built on the NextCloud software, which is an open-source platform for data management.", "install_methods": [ @@ -42,4 +42,4 @@ "password": null }, "notes": [] -} \ No newline at end of file +} diff --git a/json/node-red.json b/json/node-red.json index 42f2eaed..748863c2 100644 --- a/json/node-red.json +++ b/json/node-red.json @@ -33,7 +33,7 @@ "notes": [ { "text": "To install themes, type `update` in the LXC console.", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/notifiarr.json b/json/notifiarr.json index 3b7f01dd..67caa5ee 100644 --- a/json/notifiarr.json +++ b/json/notifiarr.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Manually edit `/etc/notifiarr/notifiarr.conf`to enter the API key from Notifiarr.com, and create a password for the UI.", - "type": "warning" + "type": "info" } ] } diff --git a/json/olivetin.json b/json/olivetin.json index 3902d7cd..346192ca 100644 --- a/json/olivetin.json +++ b/json/olivetin.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Configuration Path: `/etc/OliveTin/config.yaml`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/onedev.json b/json/onedev.json index f122680b..3fafa03c 100644 --- a/json/onedev.json +++ b/json/onedev.json @@ -16,7 +16,7 @@ "install_methods": [ { "type": "default", - "script": "/ct/onedev.sh", + "script": "ct/onedev.sh", "resources": { "cpu": 2, "ram": 2048, diff --git a/json/openobserve.json b/json/openobserve.json index 3e6aec81..6b8672d2 100644 --- a/json/openobserve.json +++ b/json/openobserve.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Show Login Credentials: `cat /opt/openobserve/data/.env`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/paperless-ngx.json b/json/paperless-ngx.json index 2051d9ff..d88a655a 100644 --- a/json/paperless-ngx.json +++ b/json/paperless-ngx.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Show Login Credentials, type `update` in the LXC console", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/pbs.json b/json/pbs.json index afcf597c..848ff913 100644 --- a/json/pbs.json +++ b/json/pbs.json @@ -9,7 +9,7 @@ "updateable": false, "privileged": false, "interface_port": 8007, - "documentation": null, + "documentation": "https://pbs.proxmox.com/docs/", "website": "https://www.proxmox.com/en/proxmox-backup-server/overview", "logo": "https://raw.githubusercontent.com/home-assistant/brands/master/core_integrations/proxmoxve/icon.png", "description": "Proxmox Backup Server is an enterprise backup solution, for backing up and restoring VMs, containers, and physical hosts. By supporting incremental, fully deduplicated backups, Proxmox Backup Server significantly reduces network load and saves valuable storage space.", @@ -32,8 +32,8 @@ }, "notes": [ { - "text": "Set a root password if using autologin. This will be the PBS password.", + "text": "Set a root password if using autologin. This will be the PBS password. `sudo passwd root`", "type": "warning" } ] -} \ No newline at end of file +} diff --git a/json/pihole.json b/json/pihole.json index 8de0f05b..c85899c9 100644 --- a/json/pihole.json +++ b/json/pihole.json @@ -33,7 +33,7 @@ "notes": [ { "text": "To set your password, log in to the container, and type the following: `pihole -a -p`", - "type": "warning" + "type": "info" }, { "text": "With an option to add Unbound", diff --git a/json/pimox-haos-vm.json b/json/pimox-haos-vm.json index 93aa36a4..73f30fe7 100644 --- a/json/pimox-haos-vm.json +++ b/json/pimox-haos-vm.json @@ -30,5 +30,10 @@ "username": null, "password": null }, - "notes": [] + "notes": [ + { + "text": "After the script completes, click on the VM, then on the Summary or Console tab to find the VM IP.", + "type": "info" + } + ] } \ No newline at end of file diff --git a/json/plex.json b/json/plex.json index 019eb52c..d50db7cd 100644 --- a/json/plex.json +++ b/json/plex.json @@ -33,7 +33,7 @@ "notes": [ { "text": "With Privileged/Unprivileged Hardware Acceleration Support", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/podman-homeassistant.json b/json/podman-homeassistant.json index 247a33a9..124da0b9 100644 --- a/json/podman-homeassistant.json +++ b/json/podman-homeassistant.json @@ -38,6 +38,10 @@ { "text": "If the LXC is created Privileged, the script will automatically set up USB passthrough.", "type": "warning" + }, + { + "text": "config path: `/var/lib/containers/storage/volumes/hass_config/_data`", + "type": "info" } ] } \ No newline at end of file diff --git a/json/post-pbs-install.json b/json/post-pbs-install.json index 6fc29b86..3d8f6cd9 100644 --- a/json/post-pbs-install.json +++ b/json/post-pbs-install.json @@ -33,11 +33,15 @@ "notes": [ { "text": "Proxmox Backup Server ONLY", - "type": "warning" + "type": "info" }, { "text": "Execute within the Proxmox Backup Server Shell", - "type": "warning" + "type": "info" + }, + { + "text": "It is recommended to answer โ€œyesโ€ (y) to all options presented during the process.", + "type": "info" } ] } \ No newline at end of file diff --git a/json/post-pve-install.json b/json/post-pve-install.json index 68fa0a4e..36eae927 100644 --- a/json/post-pve-install.json +++ b/json/post-pve-install.json @@ -33,7 +33,11 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" + }, + { + "text": "It is recommended to answer โ€œyesโ€ (y) to all options presented during the process.", + "type": "info" } ] } \ No newline at end of file diff --git a/json/redis.json b/json/redis.json index 11c82b51..4092d82e 100644 --- a/json/redis.json +++ b/json/redis.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Redis Configuration: `nano /etc/redis/redis.conf`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/scaling-governor.json b/json/scaling-governor.json index 7e51d741..0a18987f 100644 --- a/json/scaling-governor.json +++ b/json/scaling-governor.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/snipeit.json b/json/snipeit.json index 4be971b9..61c09edb 100644 --- a/json/snipeit.json +++ b/json/snipeit.json @@ -30,6 +30,10 @@ "username": null, "password": null }, - "notes": [] - } - + "notes": [ + { + "text": "Post Install: `https://github.com/community-scripts/ProxmoxVE/discussions/671`", + "type": "info" + } + ] +} diff --git a/json/tdarr.json b/json/tdarr.json index 7667d196..1e93f2a9 100644 --- a/json/tdarr.json +++ b/json/tdarr.json @@ -33,7 +33,7 @@ "notes": [ { "text": "With Privileged/Unprivileged Hardware Acceleration Support", - "type": "warning" + "type": "info" } ] } diff --git a/json/the-lounge.json b/json/the-lounge.json index 94979d3f..1733da7d 100644 --- a/json/the-lounge.json +++ b/json/the-lounge.json @@ -32,7 +32,7 @@ }, "notes": [ { - "text": "The Lounge is running in private mode. Use \"sudo -u thelounge thelounge add name\" to create users.", + "text": "The Lounge is running in private mode. Use `sudo -u thelounge thelounge add name` to create users.", "type": "info" } ] diff --git a/json/turnkey.json b/json/turnkey.json index f9dd1ef5..12173eab 100644 --- a/json/turnkey.json +++ b/json/turnkey.json @@ -33,11 +33,11 @@ "notes": [ { "text": "The script creates a `*.creds` file in the Proxmox root directory with the password of the newly created TurnKey LXC Appliance.", - "type": "warning" + "type": "info" }, { "text": "Retrieve Password: `cat turnkey-name.creds`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/umami.json b/json/umami.json index e440ca52..8c788ba8 100644 --- a/json/umami.json +++ b/json/umami.json @@ -33,7 +33,7 @@ "notes": [ { "text": "To view the database credentials : `cat umami.creds`", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/unifi.json b/json/unifi.json index 080312cb..0cc45088 100644 --- a/json/unifi.json +++ b/json/unifi.json @@ -32,7 +32,7 @@ }, "notes": [ { - "text": "For non-AVX CPUs, MongoDB 4.2 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.", + "text": "For non-AVX CPUs, MongoDB 4.4 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.", "type": "warning" } ] diff --git a/json/update-lxcs.json b/json/update-lxcs.json index f5fa9f40..3be9d381 100644 --- a/json/update-lxcs.json +++ b/json/update-lxcs.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/update-repo.json b/json/update-repo.json index db7b683b..9cfc5501 100644 --- a/json/update-repo.json +++ b/json/update-repo.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within the Proxmox shell", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/json/vaultwarden.json b/json/vaultwarden.json index 96bf55b5..d36cffbf 100644 --- a/json/vaultwarden.json +++ b/json/vaultwarden.json @@ -47,7 +47,7 @@ "type": "warning" }, { - "text": "Build Settings for normal LXC: 6GB RAM - 6GB Storage - 4vCPU", + "text": "To set the Admin Token, run the command below (or type update) in the LXC Console.", "type": "info" } ] diff --git a/json/webmin.json b/json/webmin.json index b17c4bb5..9f05d093 100644 --- a/json/webmin.json +++ b/json/webmin.json @@ -33,7 +33,7 @@ "notes": [ { "text": "Execute within an existing LXC Console", - "type": "warning" + "type": "info" } ] } \ No newline at end of file diff --git a/misc/build.func b/misc/build.func index aee3366a..17a87765 100644 --- a/misc/build.func +++ b/misc/build.func @@ -504,7 +504,7 @@ install_script() { check_container_resources() { # Check actual RAM & Cores - current_ram=$(free -m | awk '/^Mem:/{print $2}') + current_ram=$(free -m | awk 'NR==2{print $2}') current_cpu=$(nproc) # Check whether the current RAM is less than the required RAM or the CPU cores are less than required