diff --git a/ct/zerobyte.sh b/ct/zerobyte.sh index 0e9f21535..6abff7565 100644 --- a/ct/zerobyte.sh +++ b/ct/zerobyte.sh @@ -7,8 +7,8 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV APP="Zerobyte" var_tags="${var_tags:-backup;encryption;restic}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" +var_cpu="${var_cpu:-4}" +var_ram="${var_ram:-6192}" var_disk="${var_disk:-10}" var_os="${var_os:-debian}" var_version="${var_version:-13}" @@ -44,8 +44,6 @@ function update_script() { cd /opt/zerobyte $STD bun install $STD bun run build - mkdir -p /opt/zerobyte/assets - cp -r /opt/zerobyte/app/drizzle /opt/zerobyte/assets/migrations msg_ok "Built Zerobyte" msg_info "Restoring Configuration" diff --git a/install/zerobyte-install.sh b/install/zerobyte-install.sh index 13763be0b..8407c9a02 100644 --- a/install/zerobyte-install.sh +++ b/install/zerobyte-install.sh @@ -14,6 +14,7 @@ network_check update_os msg_info "Installing Dependencies" +echo "davfs2 davfs2/suid_file boolean false" | debconf-set-selections $STD apt-get install -y \ bzip2 \ fuse3 \ @@ -49,8 +50,6 @@ export VITE_RCLONE_VERSION=$(cat ~/.rclone) export VITE_SHOUTRRR_VERSION=$(cat ~/.shoutrrr) $STD bun install $STD bun run build -mkdir -p /opt/zerobyte/assets -cp -r /opt/zerobyte/app/drizzle /opt/zerobyte/assets/migrations msg_ok "Built Zerobyte" msg_info "Configuring Zerobyte" @@ -64,6 +63,7 @@ ZEROBYTE_DATABASE_URL=/var/lib/zerobyte/data/zerobyte.db RESTIC_CACHE_DIR=/var/lib/zerobyte/restic/cache ZEROBYTE_REPOSITORIES_DIR=/var/lib/zerobyte/repositories ZEROBYTE_VOLUMES_DIR=/var/lib/zerobyte/volumes +MIGRATIONS_PATH=/opt/zerobyte/app/drizzle NODE_ENV=production EOF msg_ok "Configured Zerobyte"