diff --git a/.github/workflows/weekly_stats.yaml b/.github/workflows/weekly_stats.yaml index b71707d49..4ffc9d63c 100644 --- a/.github/workflows/weekly_stats.yaml +++ b/.github/workflows/weekly_stats.yaml @@ -40,18 +40,21 @@ jobs: if [[ "$(jq '.arch[]' "$f/config.json")" == *"armv7"* ]]; then ARCH=armv7 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done + COUNT="${COUNT//,/}" COUNT1="$COUNT" echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))" else COUNT1="-"; fi if [[ "$(jq '.arch[]' "$f/config.json")" == *"amd64"* ]]; then ARCH=amd64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done + COUNT="${COUNT//,/}" COUNT2="$COUNT" echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))" else COUNT2="-"; fi if [[ "$(jq '.arch[]' "$f/config.json")" == *"aarch64"* ]]; then ARCH=aarch64 && COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" until [ -n "$COUNT" ]; do COUNT="$(curl -f -s -L https://github.com/alexbelgium/hassio-addons/pkgs/container/$SLUG-$ARCH/latest | awk '/Total downloads/{getline; print}' | awk -F '<|>' '{print $3}')" && sleep 5; done + COUNT="${COUNT//,/}" COUNT3="$COUNT" echo "$COUNT $ARCH users with $SLUG" && DOWNLOADS="$(( DOWNLOADS + COUNT))" else COUNT3="-";fi @@ -101,6 +104,7 @@ jobs: stats_graphs: runs-on: ubuntu-20.04 + needs: stats_updater steps: - name: Checkout Repo uses: actions/checkout@v3 @@ -115,7 +119,7 @@ jobs: # Inverse file gawk -i inplace '{for(i=NF;i>1;i--)printf "%s ",$i;printf "%s",$1;print ""}' Stats3 # Only totals - echo "$(head -n 2 Stats3)" > Stats3 + head -n 2 Stats3 > tmp_file && mv tmp_file Stats3 # Transpose data awk ' { diff --git a/Stats2 b/Stats2 index e1a6075f7..4af573813 100644 --- a/Stats2 +++ b/Stats2 @@ -1,76 +1,26 @@ Name Total armv7 amd64 aarch64 ------------------------------ -zoneminder 117 10 69 38 -xteve 80 6 45 29 -whoogle-search 97 3 60 34 -wger 65 - 33 32 -webtrees 20 0 12 8 -webtop_kde 120 3 82 35 -unpackerr 21 - 15 6 -ubooquity 57 4 31 22 -transmission_openvpn 126 7 76 43 -transmission_ls 294 13 168 113 -teamspeak 46 5 29 12 -tdarr 40 4 28 8 -tandoor_recipes 94 3 57 34 -spotweb 55 4 29 22 -sonarr_nas 121 6 73 42 -seafile 50 6 22 22 -scrutiny-fa 71 - 42 29 -scrutiny 67 - 44 23 -resiliosync 19 1 10 8 -requestrr 25 4 15 6 -readarr_nas 43 2 27 14 -radarr_nas 128 9 69 50 -qbittorrent 337 9 186 142 -prowlarr 120 4 78 38 -portainer 1630 101 859 670 -plex-media-manager 42 0 32 10 -plex_nas 237 8 148 81 -piwigo 22 2 9 11 -photoprism 121 - 79 42 -papermerge 53 4 25 24 -paperless_ng 123 2 73 48 -overseerr 99 2 70 27 -organizr 85 6 51 28 -ombi 39 5 19 15 -omada_v3 34 - 20 14 -omada 93 - 56 37 -nzbget 76 1 48 27 -nextcloud_ocr 405 17 235 153 -mylar3 24 4 14 6 -mealie_frontend 103 - 68 35 -mealie_api 107 - 70 37 -mealie 142 - 89 53 -lidarr_nas 52 1 35 16 -joplin 69 3 42 24 -joal 31 5 13 13 -jellyfin 225 13 115 97 -jackett_nas 94 4 61 29 -inadyn 40 4 19 17 -guacamole 176 - 131 45 -grav 55 6 30 19 -gitea 38 - 18 20 -gazpar2mqtt 47 5 20 22 -flexget 20 1 9 10 -flaresolverr 44 6 22 16 -fireflyiii_fints_importer 8 - 4 4 -fireflyiii_data_importer 62 5 28 29 -fireflyiii 163 7 95 61 -filebrowser 1070 53 565 452 -epicgamesfree 377 - 229 148 -enedisgateway2mqtt_dev 41 3 16 22 -enedisgateway2mqtt 403 30 163 210 -emby 145 9 83 53 -elasticsearch 45 - 28 17 -code_server 134 18 74 42 -cloudcommander 87 5 47 35 -calibre_web 73 3 30 40 -calibre 125 4 59 62 -browserless_chrome 139 - 92 47 -calibre_web 73 3 30 40 -vaultwarden 50 5 27 18 -bazarr 49 4 24 21 -baikal 67 4 43 20 -arpspoof 98 11 48 39 -addons_updater 102 7 52 43 +zoneminder 116 6 75 35 +xteve 97 7 52 38 +whoogle-search 119 3 77 39 +wger 74 - 38 36 +webtrees 29 0 15 14 +webtop_kde 122 0 82 40 +unpackerr 32 - 23 9 +ubooquity 67 4 37 26 +transmission_openvpn 145 7 85 53 +transmission_ls 252 9 140 103 +teamspeak 51 2 39 10 +tdarr 44 4 32 8 +tandoor_recipes 113 3 72 38 +spotweb 25 0 13 12 +sonarr_nas 142 6 88 48 +seafile 61 6 31 24 +scrutiny-fa 88 - 54 34 +scrutiny 80 - 50 30 +resiliosync 37 1 21 15 +requestrr 24 4 12 8 +readarr_nas 52 2 33 17 +radarr_nas 200 4 128 68 +qbittorrent 321 8 175 138 +prowlarr 128 4 81 43 diff --git a/immich/config.json b/immich/config.json index d3454f5ea..46186d032 100644 --- a/immich/config.json +++ b/immich/config.json @@ -90,7 +90,7 @@ "DB_PORT": "int?", "DB_PASSWORD": "str?", "DB_DATABASE_NAME": "str?", - "UPLOAD_LOCATION": "str?", + "DISABLE_MACHINE_LEARNING": "bool?", "JWT_SECRET": "str" }, "slug": "immich", diff --git a/immich/rootfs/etc/cont-init.d/20-folders.sh b/immich/rootfs/etc/cont-init.d/20-folders.sh index 40cf376f4..aec822062 100644 --- a/immich/rootfs/etc/cont-init.d/20-folders.sh +++ b/immich/rootfs/etc/cont-init.d/20-folders.sh @@ -18,6 +18,7 @@ echo "... setting permissions" chown -R "$PUID":"$PGID" "$DATA_LOCATION" echo "... correcting official script" +# shellcheck disable=SC2013 for file in $(grep -sril '/photos' /etc); do sed -i "s|/photos|$DATA_LOCATION|g" "$file"; done rm -r /photos ln -sf "$DATA_LOCATION" /photos