tech:newsblur_install
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tech:newsblur_install [2026/10/07 15:29] – Update Procedure Update - saving the YouTube modification katsimbris | tech:newsblur_install [2026/10/07 15:46] (current) – Updating Procedures again katsimbris | ||
|---|---|---|---|
| Line 313: | Line 313: | ||
| Because this installation uses the NewsBlur source repository directly, remember that local source modifications can appear in Git. | Because this installation uses the NewsBlur source repository directly, remember that local source modifications can appear in Git. | ||
| + | |||
| + | This installation currently has important local modifications to: | ||
| + | |||
| + | < | ||
| + | docker-compose.yml | ||
| + | utils/ | ||
| + | </ | ||
| + | |||
| + | The '' | ||
| + | |||
| + | The '' | ||
| Before updating, check for local changes: | Before updating, check for local changes: | ||
| Line 321: | Line 332: | ||
| git diff | git diff | ||
| </ | </ | ||
| + | |||
| + | If '' | ||
| + | |||
| + | < | ||
| + | q | ||
| + | </ | ||
| + | |||
| + | to return to the command prompt. | ||
| A '' | A '' | ||
| Line 335: | Line 354: | ||
| '' | '' | ||
| - | ==== Check the Local YouTube RSS Modification ==== | + | If Git reports: |
| - | This NewsBlur installation | + | < |
| + | Your branch is up to date with ' | ||
| + | </ | ||
| + | |||
| + | there is no NewsBlur source update to install and the source-update procedure can stop here. | ||
| + | |||
| + | ==== Check Local Files Against Upstream ==== | ||
| + | |||
| + | Before pulling an upstream update, check whether NewsBlur has changed either of the files that are modified locally: | ||
| + | |||
| + | <code bash> | ||
| + | git diff HEAD..origin/ | ||
| + | git diff HEAD..origin/ | ||
| + | </ | ||
| + | |||
| + | If either command produces output, upstream has changed that file since the currently installed version. | ||
| + | |||
| + | Review those changes before proceeding. | ||
| + | |||
| + | Even if no upstream changes are shown for these files, save copies of the local modifications before updating. | ||
| + | |||
| + | ==== Save the Local Docker Configuration ==== | ||
| + | |||
| + | Save the local '' | ||
| + | |||
| + | <code bash> | ||
| + | git diff -- docker-compose.yml > ~/ | ||
| + | </ | ||
| + | |||
| + | Also save a complete copy of the current local Compose file: | ||
| + | |||
| + | <code bash> | ||
| + | cp docker-compose.yml ~/ | ||
| + | </ | ||
| + | |||
| + | The complete backup is useful because the Compose file contains important server-specific settings such as local port bindings and database/ | ||
| + | |||
| + | Optionally review the saved patch: | ||
| + | |||
| + | <code bash> | ||
| + | cat ~/ | ||
| + | </ | ||
| + | |||
| + | ==== Check and Save the Local YouTube RSS Modification ==== | ||
| + | |||
| + | This NewsBlur installation includes a local modification to: | ||
| < | < | ||
| Line 351: | Line 415: | ||
| to bypass NewsBlur' | to bypass NewsBlur' | ||
| - | Before pulling an upstream NewsBlur update, check whether upstream has changed the same file: | + | Inspect |
| - | + | ||
| - | <code bash> | + | |
| - | git diff HEAD..origin/ | + | |
| - | </ | + | |
| - | + | ||
| - | Also inspect | + | |
| <code bash> | <code bash> | ||
| Line 372: | Line 430: | ||
| and does not otherwise provide equivalent handling for direct ''/ | and does not otherwise provide equivalent handling for direct ''/ | ||
| - | Before updating, save a copy of the local modification: | + | Save a copy of the local modification: |
| <code bash> | <code bash> | ||
| git diff -- utils/ | git diff -- utils/ | ||
| + | </ | ||
| + | |||
| + | Optionally review it: | ||
| + | |||
| + | <code bash> | ||
| cat ~/ | cat ~/ | ||
| </ | </ | ||
| Line 386: | Line 449: | ||
| </ | </ | ||
| - | Then temporarily stash the local YouTube modification: | + | ==== Temporarily Stash the Local Changes ==== |
| + | |||
| + | Before pulling the update, | ||
| <code bash> | <code bash> | ||
| - | git stash push -m " | + | git stash push -m " |
| git status | git status | ||
| </ | </ | ||
| - | If Git reports that the local branch is behind the upstream branch and the remaining | + | Confirm that neither '' |
| + | |||
| + | The existing untracked backup files, such as: | ||
| + | |||
| + | < | ||
| + | docker-compose.yml.original | ||
| + | utils/ | ||
| + | </ | ||
| + | |||
| + | may still appear under '' | ||
| + | |||
| + | ==== Update the NewsBlur Source ==== | ||
| + | |||
| + | If Git reports that the local branch is behind the upstream branch and the local modifications | ||
| <code bash> | <code bash> | ||
| Line 401: | Line 479: | ||
| '' | '' | ||
| - | After the pull completes, inspect the updated | + | ==== Review the Updated Files Before Restoring Local Changes ==== |
| + | |||
| + | After the pull completes, inspect the updated | ||
| + | |||
| + | <code bash> | ||
| + | git diff HEAD@{1}..HEAD -- docker-compose.yml | ||
| + | </ | ||
| + | |||
| + | If upstream has substantially changed the Compose configuration, | ||
| + | |||
| + | Also inspect the updated YouTube handling: | ||
| <code bash> | <code bash> | ||
| Line 407: | Line 495: | ||
| </ | </ | ||
| - | If NewsBlur still sends direct YouTube RSS URLs through its YouTube fetcher, | + | If NewsBlur still sends direct YouTube RSS URLs through its YouTube fetcher, the local YouTube workaround is still needed. |
| + | |||
| + | If upstream NewsBlur appears to have fixed the underlying YouTube RSS issue, **do not blindly restore the old YouTube | ||
| + | |||
| + | ==== Restore the Local Modifications ==== | ||
| + | |||
| + | If the upstream changes do not make the local modifications obsolete or incompatible, | ||
| <code bash> | <code bash> | ||
| git stash pop | git stash pop | ||
| - | git diff -- utils/ | ||
| </ | </ | ||
| - | Verify | + | Then inspect the result: |
| + | |||
| + | <code bash> | ||
| + | git status | ||
| + | git diff | ||
| + | </ | ||
| + | |||
| + | Confirm | ||
| <code diff> | <code diff> | ||
| Line 421: | Line 521: | ||
| </ | </ | ||
| - | If upstream NewsBlur has changed this section substantially, | + | If '' |
| - | The separately saved copy remains | + | The separately saved backup files remain |
| < | < | ||
| + | ~/ | ||
| + | ~/ | ||
| ~/ | ~/ | ||
| </ | </ | ||
| - | After the NewsBlur source and local modification | + | ==== Update Docker Images and Containers ==== |
| + | |||
| + | After the NewsBlur source and local modifications | ||
| <code bash> | <code bash> | ||
| Line 436: | Line 540: | ||
| docker compose ps | docker compose ps | ||
| </ | </ | ||
| + | |||
| + | Confirm that the expected NewsBlur containers are running normally. | ||
| Only prune unused Docker images when desired: | Only prune unused Docker images when desired: | ||
tech/newsblur_install.1791401382.txt.gz · Last modified: by katsimbris
