Skip to content

Commit

Permalink
v2023.12.0-alpha.5
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Dec 18, 2023
1 parent 8b160c7 commit 2d60b90
Show file tree
Hide file tree
Showing 32 changed files with 46 additions and 31 deletions.
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,26 @@ This is a detailed list of changes in each version.

<!-- fix "tag context" for "next previous" context. I'd always done a search, clicked a thumb, and then clicked esc to go back to the search results. But... if you click a thumb from a search, and then click "next" or "previous", it ignores that you can from a search, and does the chronological next asset, which is very confusing/irritating. -->

## v2023.12.0-alpha.5

**Released 17 December 2023**

- 🐛 Fixed PhotoStructure for Node on Windows to find tooling like SQLite. Thanks for [reporting](https://discord.com/channels/818905168107012097/818907922767544340/1186061474490232854), @mackid1993!

- 🐛 Fixed macOS `./start.sh` error if `timeout` was missing (rather than requiring users to `brew install coreutils`). Thanks for [reporting](https://discord.com/channels/818905168107012097/818907922767544340/1186074684001878067), @Zandr!

- 🐛 Database validation would [fail if the database was locked](https://discord.com/channels/818905168107012097/1186045650446598274). We now retry each validation step if we get lock errors. See the `maxBusyDbMs` setting for details.

- 📦 On Windows we now add `%ProgramData%\chocolatey\bin` as a backfill `%PATH%` entry (to help find `ffmpeg.exe`). Thanks for [reporting](https://discord.com/channels/818905168107012097/818907922767544340/1186099486389452922), @Leaky!

- 📦 Prior builds relied on the `ffmpegPath` setting to be resolvable. We now use the `pathTo()` function (which includes backfill default paths) for all `ffmpeg` commands

- 📦 Added the current userid/groupid to the library directory health check message to [simplify finding the correct PUID/PGID values](https://forum.photostructure.com/t/raspberry-pi-and-docker-image/1789/9?u=mrm).

- 📦 Added `toolsDir`, `osToolsDir`, `ffmpeg`, and `sqlite` paths to `photostructure info` to aid in future debugging

- 📦 Added `jpegtran` health check. You know you all wanted it.

<a id="v2023.11.0-alpha.2"></a>

## v2023.12.0-alpha.3
Expand Down
10 changes: 5 additions & 5 deletions VERSION.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"version": "2023.12.0-alpha.3",
"version": "2023.12.0-alpha.5",
"versionMajor": 2023,
"versionMinor": 12,
"versionPatch": 0,
"versionPrerelease": [
"alpha",
3
5
],
"release": "2023.12.0-alpha.3+20231217114350",
"gitSha": "6d4a11203579380df325cf7d63b3dacba2dd2da1",
"gitDate": "2023-12-17T19:43:50.000Z"
"release": "2023.12.0-alpha.5+20231217214814",
"gitSha": "9cdc7207350c3cab07b8b5255f2134dc354de3a3",
"gitDate": "2023-12-18T05:48:14.000Z"
}
2 changes: 1 addition & 1 deletion bin/info.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/list.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/logcat.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/logtail.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/photostructure.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/sync.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/web.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bin/worker.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion defaults.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# Welcome to PhotoStructure! These are the settings for version 2023.11.0.
# Welcome to PhotoStructure! These are the settings for version 2023.12.0.
#
# Please see https://photostructure.com/environment-variables for more
# information about using environment variables with PhotoStructure.
Expand Down Expand Up @@ -2617,6 +2617,7 @@
# "system-volumes",
# "tools-exiftool",
# "tools-heif",
# "tools-jpegtran",
# "tools-powershell",
# "tools-sharp",
# "tools-sqlite-version",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "photostructure",
"productName": "PhotoStructure",
"author": "PhotoStructure, Inc. <[email protected]>",
"version": "2023.12.0-alpha.3",
"version": "2023.12.0-alpha.5",
"license": "SEE LICENSE IN LICENSE.md",
"description": "PhotoStructure for Servers",
"homepage": "https://photostructure.com/server/photostructure-for-node/",
Expand Down
2 changes: 1 addition & 1 deletion photostructure

Large diffs are not rendered by default.

Binary file modified public/3rd-party-licenses.txt.gz
Binary file not shown.
Binary file modified public/app/about.css.gz
Binary file not shown.
Binary file modified public/app/about.css.map.gz
Binary file not shown.
Binary file modified public/app/about.js.gz
Binary file not shown.
Binary file modified public/app/app.css.gz
Binary file not shown.
Binary file modified public/app/app.css.map.gz
Binary file not shown.
Binary file modified public/app/app.js.gz
Binary file not shown.
Binary file modified public/app/health.css.gz
Binary file not shown.
Binary file modified public/app/health.css.map.gz
Binary file not shown.
Binary file modified public/app/health.js.gz
Binary file not shown.
Binary file modified public/app/install.js.gz
Binary file not shown.
Binary file modified public/app/settings.css.gz
Binary file not shown.
Binary file modified public/app/settings.css.map.gz
Binary file not shown.
Binary file modified public/app/settings.js.gz
Binary file not shown.
Binary file modified public/app/splash.css.gz
Binary file not shown.
Binary file modified public/app/splash.css.map.gz
Binary file not shown.
Binary file modified public/app/splash.js.gz
Binary file not shown.
22 changes: 8 additions & 14 deletions start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,15 @@ if [ "$NODE_VERSION" -lt "$(version "18.16.0")" ]; then
die "Please install Node.js v18 or v20."
fi

# Add `timeout` to git commands if `timeout` is available, as external network
# may not be available (yet)

# Add a `timeout1m` function, if `timeout` is installed. On macOS, you can
# `brew install coreutils`.
if command -v timeout >/dev/null; then

timeout() {
command timeout "$@"
timeout1m() {
timeout 1m "$@"
}
else
timeout() {
command "$@"
timeout1m() {
env "$@"
}
fi

Expand All @@ -106,14 +104,10 @@ if [ "$NOGIT" != "1" ] && [ "$PS_CHECK_UPDATES" != "none" ]; then
echo "$GIT" stash --include-untracked

# This may be running at system startup, and network may not be available
# yet--try, but timeout after a minute.
# yet, so let's try, but timeout after a minute.

# `git pull` ensures we're always running the latest version of this branch:
if command -v timeout >/dev/null; then
timeout 60 "$GIT" pull || echo "$GIT pull timed out"
else
"$GIT" pull || die "git pull failed."
fi
timeout1m "$GIT" pull # don't fail here if git pull fails--it might be a network issue.
fi

clean() {
Expand Down

0 comments on commit 2d60b90

Please sign in to comment.