Search isn't working on local raspberry pi install

Hello!
Thank you for your hard work.

The instance is installed on raspberrypi (Debian GNU/Linux 12 64bit / Linux 6.1.0-rpi8-rpi-v8)

The search is not working, what could be the reason?

That’s a good question! Check your docker logs (make log) and see what elasticsearch says. It might say something about resources. Also check docker ps to see if search is even running.

1 Like
RUNWITHMAKEBUILD=True docker compose logs -f --tail 20 newsblur_web newsblur_node
WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_UID" variable is not set. Defaulting to a blank string. 
WARN[0000] The "CURRENT_GID" variable is not set. Defaulting to a blank string. 
newsblur_web  | [Feb 27 11:23:10]  ---> [Chrome] [0.04s] [VlaKor*] River complete on page 1, truncating 0 stories from 55 feeds
newsblur_web  | [Feb 27 11:23:11]  ---> [------] [VlaKor*] Read story in social subscription: VlaKor
newsblur_web  | [Feb 27 11:23:11]  ---> [Chrome] [0.06s] [VlaKor*] Auto-Loading river stories: p2 (0/0 stories, 0/1/1 feeds, newest/unread)
newsblur_web  | [Feb 27 11:23:11]  ---> [Chrome] [0.32s] [VlaKor*] Refreshing 143+1 feeds  (0.06/0.19/0.29)
newsblur_web  | [Feb 27 11:23:11]  ---> [Chrome] [0.09s] [VlaKor*] River complete on page 2, truncating 0 stories from 1 feeds
newsblur_web  | [Feb 27 11:23:16]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
node          | [2024-02-27 09:37:18]  ---> [VlaKor] Update on 82: feed:update - story:new_count:2
node          | [2024-02-27 09:38:24]  ---> [VlaKor] Update on VlaKor: user:update - story:read:3:587278
node          | [2024-02-27 09:38:24]  ---> [VlaKor] Update on VlaKor: user:update - feed:3
node          | [2024-02-27 09:38:34]  ---> [VlaKor] Update on VlaKor: user:update - story:read:2:4ca775
node          | [2024-02-27 09:38:34]  ---> [VlaKor] Update on VlaKor: user:update - feed:2
node          | [2024-02-27 09:38:43]  ---> [VlaKor] Disconnect (144 feeds, ::ffff:172.18.0.4), there are now 0 users.  (non-SSL)
node          | [2024-02-27 11:20:07]  ---> [VlaKor] Connecting (144 feeds, ::ffff:172.18.0.4), (1 connected)  
node          | [2024-02-27 11:20:07]  ---> [VlaKor] Connected (144 feeds, ::ffff:172.18.0.4), (1 connected)  (non-SSL)
node          | [2024-02-27 11:20:19]  ---> [VlaKor] Update on 138:story: feed:story:new - 138:a08942,1709027602
node          | [2024-02-27 11:20:19]  ---> [VlaKor] Update on 138:story: feed:story:new - 138:ab3c6b,1709025808
node          | [2024-02-27 11:20:19]  ---> [VlaKor] Update on 138:story: feed:story:new - 138:f6aa66,1709023708
node          | [2024-02-27 11:20:22]  ---> [VlaKor] Update on 138: feed:update - story:new_count:3
node          | [2024-02-27 11:21:19]  ---> [VlaKor] Update on 113:story: feed:story:new - 113:1a69e1,1709028614
node          | [2024-02-27 11:21:21]  ---> [VlaKor] Update on 113: feed:update - story:new_count:1
node          | [2024-02-27 11:21:25]  ---> [VlaKor] Disconnect (144 feeds, ::ffff:172.18.0.4), there are now 0 users.  (non-SSL)
node          | [2024-02-27 11:21:42]  ---> [VlaKor] Connecting (144 feeds, ::ffff:172.18.0.4), (1 connected)  
node          | [2024-02-27 11:21:42]  ---> [VlaKor] Connected (144 feeds, ::ffff:172.18.0.4), (1 connected)  (non-SSL)
node          | [2024-02-27 11:22:19]  ---> [VlaKor] Update on 143:story: feed:story:new - 143:2f1741,1709031421
node          | [2024-02-27 11:22:19]  ---> [VlaKor] Update on 143:story: feed:story:new - 143:c652bd,1709030403
node          | [2024-02-27 11:22:22]  ---> [VlaKor] Update on 143: feed:update - story:new_count:2
newsblur_web  | [Feb 27 11:23:16]  ---> [Chrome] [0.12s] [VlaKor*] Loading feed: STREET ART UTOPIA (oldest/unread) 
newsblur_web  | [Feb 27 11:23:16]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: STREET ART UTOPIA/p2 (oldest/unread) 
newsblur_web  | [Feb 27 11:23:16]  ---> [Chrome] [0.10s] [VlaKor*] Loading feed: STREET ART UTOPIA/p3 (oldest/unread) 
newsblur_web  | [Feb 27 11:23:20]  ---> Search stories for: cats, 0 results (across 1 feed)
newsblur_web  | [Feb 27 11:23:20]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 11:23:20]  ---> [Chrome] [0.09s] [VlaKor*] Loading feed: STREET ART UTOPIA (oldest/unread) (cats) 
newsblur_web  | [Feb 27 11:23:32]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 11:23:32]  ---> [Chrome] [0.12s] [VlaKor*] Loading feed: STREET ART UTOPIA (oldest/unread) 
newsblur_web  | [Feb 27 11:23:32]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: STREET ART UTOPIA/p2 (oldest/unread) (0.03/0.04/0.04/0.04)
newsblur_web  | [Feb 27 11:23:32]  ---> [Chrome] [0.11s] [VlaKor*] DB times /reader/feed/145: sql: 0.0160s mongo: 0.58409s redis: user:0.475184s story:0.000000s session:0.000000s pubsub:0.000000s
newsblur_web  | [Feb 27 11:23:32]  ---> [Chrome] [0.09s] [VlaKor*] Loading feed: STREET ART UTOPIA/p3 (oldest/unread) 
newsblur_web  | [Feb 27 11:23:37]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 11:23:37]  ---> Search stories for: cats, 0 results (across 1 feed)
newsblur_web  | [Feb 27 11:23:37]  ---> [Chrome] [0.16s] [VlaKor*] Loading feed: STREET ART UTOPIA (oldest/unread) (cats)

These are the logs

CONTAINER ID   IMAGE                                                  COMMAND                  CREATED        STATUS                  PORTS                                                                                                                                                                        NAMES
19a17465e426   haproxy:latest                                         "docker-entrypoint.s…"   2 days ago     Up 33 hours             0.0.0.0:1936->1936/tcp, :::1936->1936/tcp, 0.0.0.0:8001->80/tcp, :::8001->80/tcp, 0.0.0.0:4431->443/tcp, :::4431->443/tcp                                                    haproxy
34e222432047   nginx:1.19.6                                           "/docker-entrypoint.…"   2 days ago     Up 33 hours             80/tcp, 0.0.0.0:81->81/tcp, :::81->81/tcp                                                                                                                                    nginx
7c28a2dbaa2b   newsblur/newsblur_python3:latest                       "/bin/sh -c newsblur…"   2 days ago     Up 33 hours             0.0.0.0:8000->8000/tcp, :::8000->8000/tcp                                                                                                                                    newsblur_web
28711ad0e317   newsblur/newsblur_node:latest                          "docker-entrypoint.s…"   2 days ago     Up 33 hours             0.0.0.0:8008->8008/tcp, :::8008->8008/tcp                                                                                                                                    node
4998ca6e85a8   postgres:13.1                                          "docker-entrypoint.s…"   2 days ago     Up 33 hours             0.0.0.0:5434->5432/tcp, :::5434->5432/tcp                                                                                                                                    db_postgres
96ff7a63810d   docker.elastic.co/elasticsearch/elasticsearch:7.16.3   "/bin/tini -- /usr/l…"   2 days ago     Up 33 hours             0.0.0.0:9200->9200/tcp, :::9200->9200/tcp, 0.0.0.0:9300->9300/tcp, :::9300->9300/tcp                                                                                         db_elasticsearch
467a591b2c02   redis:latest                                           "docker-entrypoint.s…"   2 days ago     Up 33 hours             6379/tcp, 0.0.0.0:6579->6579/tcp, :::6579->6579/tcp                                                                                                                          db_redis
cd1ecf9e8d9c   appbaseio/dejavu:3.6.0                                 "docker-entrypoint.s…"   2 days ago     Up 33 hours             0.0.0.0:1358->1358/tcp, :::1358->1358/tcp                                                                                                                                    dejavu
dc431e8d0dd1   mongo:4.0                                              "docker-entrypoint.s…"   2 days ago     Up 33 hours             27017/tcp, 0.0.0.0:29019->29019/tcp, :::29019->29019/tcp                                                                                                                     db_mongo
3b52d1a2843f   yusukeito/imageproxy:v0.11.2                           "/app/imageproxy -ad…"   2 days ago     Up 33 hours             8080/tcp, 0.0.0.0:8088->8088/tcp, :::8088->8088/tcp                                                                                                                          imageproxy
7e71e07162a2   newsblur/newsblur_python3                              "celery worker -A ne…"   2 days ago     Up 33 hours                                                                                                                                                                                          task_celery
734df067e558   jellyfin/jellyfin:latest                               "/jellyfin/jellyfin"     2 days ago     Up 33 hours (healthy)   0.0.0.0:1900->1900/tcp, :::1900->1900/tcp, 0.0.0.0:7359->7359/tcp, :::7359->7359/tcp, 0.0.0.0:8096->8096/tcp, :::8096->8096/tcp, 0.0.0.0:8920->8920/tcp, :::8920->8920/tcp   jellyfin
32caf2ae4d21   ghcr.io/gethomepage/homepage:latest                    "docker-entrypoint.s…"   2 days ago     Up 33 hours (healthy)   0.0.0.0:3050->3000/tcp, :::3050->3000/tcp                                                                                                                                    homepage
2dd338747709   krateng/maloja:latest                                  "/init"                  3 days ago     Up 33 hours             0.0.0.0:42010->42010/tcp, :::42010->42010/tcp                                                                                                                                maloja-maloja-1
d913e3182cdd   sissbruecker/linkding:latest                           "./bootstrap.sh"         3 days ago     Up 33 hours (healthy)   0.0.0.0:9090->9090/tcp, :::9090->9090/tcp                                                                                                                                    linkding
4fd37d5c51c4   rouhim/this-week-in-past:latest                        "/this-week-in-past"     4 days ago     Up 33 hours             0.0.0.0:8040->8080/tcp, :::8040->8080/tcp                                                                                                                                    twip-this-week-in-past-1
a34f2d561d86   epoupon/lms:latest                                     "/usr/bin/lms"           6 days ago     Up 33 hours             0.0.0.0:5082->5082/tcp, :::5082->5082/tcp                                                                                                                                    lms
057b2e910935   zadam/trilium:latest                                   "docker-entrypoint.s…"   6 days ago     Up 33 hours (healthy)   0.0.0.0:8050->8080/tcp, :::8050->8080/tcp                                                                                                                                    trilium-trilium-1
1484565e6207   rssbridge/rss-bridge:latest                            "/app/docker-entrypo…"   3 weeks ago    Up 33 hours             0.0.0.0:3000->80/tcp, :::3000->80/tcp                                                                                                                                        rss-bridge-rss-bridge-1
fc11ae8b1baa   vaultwarden/server:latest                              "/start.sh"              3 weeks ago    Up 33 hours (healthy)   3012/tcp, 0.0.0.0:8080->80/tcp, :::8080->80/tcp                                                                                                                              vaultwarden
09b45884cbe0   bpatrik/pigallery2:latest                              "node ./src/backend/…"   4 weeks ago    Up 33 hours (healthy)   0.0.0.0:7080->80/tcp, :::7080->80/tcp                                                                                                                                        pigallery2
df2d75b7fab9   nehalvpatel/kill-the-newsletter                        "docker-entrypoint.s…"   2 months ago   Up 33 hours             0.0.0.0:4000->4000/tcp, :::4000->4000/tcp, 0.0.0.0:25->2525/tcp, :::25->2525/tcp                                                                                             kill-the-newsletter
f10511aeba5a   ckulka/baikal:nginx                                    "/docker-entrypoint.…"   2 months ago   Up 33 hours             0.0.0.0:8333->80/tcp, :::8333->80/tcp                                                                                                                                        baikal-baikal-1

Everything is working stably

Where to dig next?

Check the elasticsearch log with docker logs db_elasticsearch

{"type": "server", "timestamp": "2024-02-27T13:38:36,298Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-deprecation]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,299Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-enrich]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,300Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-eql]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,301Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-fleet]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,302Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-graph]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,303Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-identity-provider]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,304Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-ilm]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,305Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-logstash]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,306Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-ml]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,307Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-monitoring]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,308Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-ql]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,310Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-rollup]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,311Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-security]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,312Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-shutdown]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,314Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-sql]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,315Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-stack]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,316Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-text-structure]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,318Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-voting-only-node]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,319Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "loaded module [x-pack-watcher]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,322Z", "level": "INFO", "component": "o.e.p.PluginsService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "no plugins loaded" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,534Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "using [1] data paths, mounts [[/usr/share/elasticsearch/data (/dev/sda1)]], net usable_space [200.8gb], net total_space [937.8gb], types [ext4]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,536Z", "level": "INFO", "component": "o.e.e.NodeEnvironment", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "heap size [512mb], compressed ordinary object pointers [true]" }
{"type": "server", "timestamp": "2024-02-27T13:38:36,904Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "node name [959321993fa5], node ID [ZucrQRbYQzmiczju7-6Saw], cluster name [docker-cluster], roles [transform, data_frozen, master, remote_cluster_client, data, ml, data_content, data_hot, data_warm, data_cold, ingest]" }
{"type": "server", "timestamp": "2024-02-27T13:39:12,152Z", "level": "INFO", "component": "o.e.x.m.p.l.CppLogMessageHandler", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "[controller/188] [Main.cc@122] controller (64 bit): Version 7.16.3 (Build b71e71b93f3e4d) Copyright (c) 2021 Elasticsearch BV" }
{"type": "server", "timestamp": "2024-02-27T13:39:15,273Z", "level": "INFO", "component": "o.e.i.g.ConfigDatabases", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "initialized default databases [[GeoLite2-Country.mmdb, GeoLite2-City.mmdb, GeoLite2-ASN.mmdb]], config databases [[]] and watching [/usr/share/elasticsearch/config/ingest-geoip] for changes" }
{"type": "server", "timestamp": "2024-02-27T13:39:15,280Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "initialized database registry, using geoip-databases directory [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw]" }
{"type": "server", "timestamp": "2024-02-27T13:39:20,622Z", "level": "INFO", "component": "o.e.t.NettyAllocator", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]" }
{"type": "server", "timestamp": "2024-02-27T13:39:21,053Z", "level": "INFO", "component": "o.e.d.DiscoveryModule", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "using discovery type [single-node] and seed hosts providers [settings]" }
{"type": "server", "timestamp": "2024-02-27T13:39:25,069Z", "level": "INFO", "component": "o.e.g.DanglingIndicesState", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" }
{"type": "server", "timestamp": "2024-02-27T13:39:28,878Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "initialized" }
{"type": "server", "timestamp": "2024-02-27T13:39:28,883Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "starting ..." }
{"type": "server", "timestamp": "2024-02-27T13:39:28,961Z", "level": "INFO", "component": "o.e.x.s.c.f.PersistentCache", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "persistent cache index loaded" }
{"type": "server", "timestamp": "2024-02-27T13:39:28,969Z", "level": "INFO", "component": "o.e.x.d.l.DeprecationIndexingComponent", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "deprecation component started" }
{"type": "server", "timestamp": "2024-02-27T13:39:29,783Z", "level": "INFO", "component": "o.e.t.TransportService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "publish_address {172.25.0.6:9300}, bound_addresses {0.0.0.0:9300}" }
{"type": "server", "timestamp": "2024-02-27T13:39:32,487Z", "level": "WARN", "component": "o.e.b.BootstrapChecks", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]" }
{"type": "server", "timestamp": "2024-02-27T13:39:32,491Z", "level": "INFO", "component": "o.e.c.c.Coordinator", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "cluster UUID [2qy0OTWBSmmn4iFvGnFdKA]" }
{"type": "server", "timestamp": "2024-02-27T13:39:33,005Z", "level": "INFO", "component": "o.e.c.s.MasterService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "elected-as-master ([1] nodes joined)[{959321993fa5}{ZucrQRbYQzmiczju7-6Saw}{CqkwWg-STHG_f3sotCyD8g}{172.25.0.6}{172.25.0.6:9300}{cdfhilmrstw} elect leader, _BECOME_MASTER_TASK_, _FINISH_ELECTION_], term: 15, version: 193, delta: master node changed {previous [], current [{959321993fa5}{ZucrQRbYQzmiczju7-6Saw}{CqkwWg-STHG_f3sotCyD8g}{172.25.0.6}{172.25.0.6:9300}{cdfhilmrstw}]}" }
{"type": "server", "timestamp": "2024-02-27T13:39:33,907Z", "level": "INFO", "component": "o.e.c.s.ClusterApplierService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "master node changed {previous [], current [{959321993fa5}{ZucrQRbYQzmiczju7-6Saw}{CqkwWg-STHG_f3sotCyD8g}{172.25.0.6}{172.25.0.6:9300}{cdfhilmrstw}]}, term: 15, version: 193, reason: Publication{term=15, version=193}" }
{"type": "server", "timestamp": "2024-02-27T13:39:34,502Z", "level": "INFO", "component": "o.e.h.AbstractHttpServerTransport", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "publish_address {172.25.0.6:9200}, bound_addresses {0.0.0.0:9200}", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:34,513Z", "level": "INFO", "component": "o.e.n.Node", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "started", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:36,990Z", "level": "INFO", "component": "o.e.l.LicenseService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "license [fee2e2db-cb5a-44fa-a839-3296e460db40] mode [basic] - valid", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:37,038Z", "level": "INFO", "component": "o.e.g.GatewayService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "recovered [5] indices into cluster_state", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:39,816Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "updating geoip databases", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:39,819Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "fetching geoip databases overview from [https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:40,085Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "downloading geoip database [GeoLite2-Country.mmdb] to [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-Country.mmdb.tmp.gz]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:40,109Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "downloading geoip database [GeoLite2-ASN.mmdb] to [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-ASN.mmdb.tmp.gz]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:40,114Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "downloading geoip database [GeoLite2-City.mmdb] to [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-City.mmdb.tmp.gz]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:42,114Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[stories-index][0]]]).", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:42,919Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "geoip database [GeoLite2-ASN.mmdb] is up to date, updated timestamp", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:43,410Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-ASN.mmdb]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:43,558Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-Country.mmdb]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:43,589Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "geoip database [GeoLite2-City.mmdb] is up to date, updated timestamp", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:43,800Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "geoip database [GeoLite2-Country.mmdb] is up to date, updated timestamp", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }
{"type": "server", "timestamp": "2024-02-27T13:39:48,463Z", "level": "INFO", "component": "o.e.i.g.DatabaseNodeService", "cluster.name": "docker-cluster", "node.name": "959321993fa5", "message": "successfully reloaded changed geoip database file [/tmp/elasticsearch-665218244240613870/geoip-databases/ZucrQRbYQzmiczju7-6Saw/GeoLite2-City.mmdb]", "cluster.uuid": "2qy0OTWBSmmn4iFvGnFdKA", "node.id": "ZucrQRbYQzmiczju7-6Saw"  }

If only I still understood something about it))

Any idea what the reason is?

Seems fine, so what do you see when you search? Empty results? Does the log show anything?


What logs do you have in mind?

newsblur_web  | [Feb 27 17:29:15]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 17:29:15]  ---> [Chrome] [0.11s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) 
newsblur_web  | [Feb 27 17:29:15]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: Reddit r/drawing/p2 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:16]  ---> [Chrome] [0.11s] [VlaKor*] Loading feed: Reddit r/drawing/p3 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:16]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: Reddit r/drawing/p4 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:16]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: Reddit r/drawing/p5 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:16]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: Reddit r/drawing/p6 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:20]  ---> Search stories for: р, 0 results (across 1 feed)
newsblur_web  | [Feb 27 17:29:20]  ---> [Chrome] [0.10s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) (р) 
newsblur_web  | [Feb 27 17:29:20]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome
node          | [2024-02-27 17:29:21]  ---> [VlaKor] Update on 21:story: feed:story:new - 21:6eafc0,1709053573
node          | [2024-02-27 17:29:24]  ---> [VlaKor] Update on 21: feed:update - story:new_count:1
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.04s] [VlaKor*] Updating unread count on: 21
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.09s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) 
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.07s] [VlaKor*] Loading feed: Reddit r/drawing/p2 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.07s] [VlaKor*] Loading feed: Reddit r/drawing/p3 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.07s] [VlaKor*] Loading feed: Reddit r/drawing/p4 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.07s] [VlaKor*] Loading feed: Reddit r/drawing/p5 (oldest/unread) (0.03/0.03/0.03/0.04)
newsblur_web  | [Feb 27 17:29:24]  ---> [Chrome] [0.10s] [VlaKor*] DB times /reader/feed/142: sql: 0.0150s mongo: 1.01879s redis: user:0.914241s story:0.000000s session:0.000000s pubsub:0.000000s
newsblur_web  | [Feb 27 17:29:25]  ---> [Chrome] [0.08s] [VlaKor*] Loading feed: Reddit r/drawing/p6 (oldest/unread) 
newsblur_web  | [Feb 27 17:29:26]  ---> Search stories for: h, 0 results (across 1 feed)
newsblur_web  | [Feb 27 17:29:26]  ---> [Chrome] [0.04s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 17:29:26]  ---> [Chrome] [0.15s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) (h) 
newsblur_web  | [Feb 27 17:29:28]  ---> Search stories for: ho, 0 results (across 1 feed)
newsblur_web  | [Feb 27 17:29:28]  ---> [Chrome] [0.10s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) (ho) 
newsblur_web  | [Feb 27 17:29:28]  ---> [Chrome] [0.05s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 17:29:29]  ---> Search stories for: hon, 0 results (across 1 feed)
newsblur_web  | [Feb 27 17:29:29]  ---> [Chrome] [0.04s] [AnonymousUser] Loading welcome
newsblur_web  | [Feb 27 17:29:29]  ---> [Chrome] [0.11s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) (hon) 
newsblur_web  | [Feb 27 17:29:29]  ---> Search stories for: hong, 0 results (across 1 feed)
newsblur_web  | [Feb 27 17:29:29]  ---> [Chrome] [0.15s] [VlaKor*] Loading feed: Reddit r/drawing (oldest/unread) (hong) 
newsblur_web  | [Feb 27 17:29:30]  ---> [Chrome] [0.03s] [AnonymousUser] Loading welcome

Try running docker exec -it newsblur_web ./manage.py index_stories -R to reindex stories. Does that give you a number of stories indexed?

Is it necessary to stop everything first?

root@raspberrypi:/home/vlakor/NewsBlur# docker exec -it newsblur_web ./manage.py index_stories -R
 ---> Starting NewsBlur development server...
[Feb 27 17:50:43]  ---> Deleting search index for stories-index
[Feb 27 17:50:44]  ---> Creating search index for stories-index
 ---> 0 / 154 (0.%)
Indexing 214 stories in feed 24
Indexing 209 stories in feed 23
Indexing 11 stories in feed 95
Indexing 32 stories in feed 15
Indexing 7 stories in feed 8
Indexing 102 stories in feed 86
Indexing 28 stories in feed 97
Indexing 10 stories in feed 104
Indexing 33 stories in feed 98
Indexing 10 stories in feed 99
Indexing 2 stories in feed 83
Indexing 1 stories in feed 84
Indexing 1 stories in feed 85
Indexing 41 stories in feed 49
Indexing 8 stories in feed 100
Indexing 21 stories in feed 89
Indexing 100 stories in feed 101
Indexing 10 stories in feed 33
Indexing 10 stories in feed 32
Indexing 115 stories in feed 48
Indexing 24 stories in feed 119
Indexing 211 stories in feed 16
Indexing 40 stories in feed 17
Indexing 213 stories in feed 37
Indexing 140 stories in feed 19
Indexing 15 stories in feed 7
Indexing 40 stories in feed 25
Indexing 80 stories in feed 30
Indexing 63 stories in feed 116
Indexing 72 stories in feed 4
Indexing 74 stories in feed 102
Indexing 33 stories in feed 34
Indexing 72 stories in feed 26
Indexing 44 stories in feed 27
Indexing 21 stories in feed 18
Indexing 25 stories in feed 134
Indexing 216 stories in feed 135
Indexing 222 stories in feed 136
Indexing 221 stories in feed 141
Indexing 25 stories in feed 139
Indexing 208 stories in feed 138
Indexing 29 stories in feed 140
Indexing 236 stories in feed 142
Indexing 49 stories in feed 143
Indexing 156 stories in feed 137
Indexing 87 stories in feed 82
Indexing 226 stories in feed 144
Indexing 25 stories in feed 35
Indexing 10 stories in feed 50
Indexing 10 stories in feed 52
Indexing 10 stories in feed 71
Indexing 10 stories in feed 53
Indexing 10 stories in feed 72
Indexing 6 stories in feed 54
Indexing 10 stories in feed 81
Indexing 10 stories in feed 55
Indexing 10 stories in feed 73
Indexing 10 stories in feed 70
Indexing 10 stories in feed 56
Indexing 10 stories in feed 57
Indexing 10 stories in feed 68
Indexing 2 stories in feed 74
Indexing 10 stories in feed 58
Indexing 10 stories in feed 59
Indexing 10 stories in feed 60
Indexing 3 stories in feed 61
Indexing 10 stories in feed 51
Indexing 10 stories in feed 62
Indexing 10 stories in feed 63
Indexing 10 stories in feed 64
Indexing 10 stories in feed 69
Indexing 10 stories in feed 75
Indexing 10 stories in feed 65
Indexing 10 stories in feed 76
Indexing 11 stories in feed 77
Indexing 7 stories in feed 66
Indexing 10 stories in feed 78
Indexing 10 stories in feed 79
Indexing 10 stories in feed 67
Indexing 10 stories in feed 80
Indexing 25 stories in feed 47
Indexing 13 stories in feed 120
Indexing 80 stories in feed 145
Indexing 10 stories in feed 87
Indexing 20 stories in feed 132
Indexing 17 stories in feed 36
Indexing 10 stories in feed 148
Indexing 21 stories in feed 94
Indexing 37 stories in feed 91
Indexing 31 stories in feed 92
Indexing 10 stories in feed 90
Indexing 23 stories in feed 103
Indexing 10 stories in feed 93
Indexing 64 stories in feed 5
Indexing 90 stories in feed 6
Indexing 1 stories in feed 88
Indexing 100 stories in feed 28
Indexing 203 stories in feed 2
Indexing 94 stories in feed 3
Indexing 14 stories in feed 38
Indexing 50 stories in feed 105
Indexing 8 stories in feed 115
Indexing 15 stories in feed 96
Indexing 30 stories in feed 39
Indexing 30 stories in feed 40
Indexing 24 stories in feed 146
Indexing 198 stories in feed 20
Indexing 212 stories in feed 21
Indexing 45 stories in feed 133
Indexing 96 stories in feed 41
Indexing 34 stories in feed 107
Indexing 54 stories in feed 106
Indexing 53 stories in feed 127
Indexing 39 stories in feed 126
Indexing 25 stories in feed 109
Indexing 56 stories in feed 128
Indexing 32 stories in feed 9
Indexing 10 stories in feed 10
Indexing 97 stories in feed 11
Indexing 26 stories in feed 29
Indexing 105 stories in feed 121
Indexing 210 stories in feed 31
Indexing 31 stories in feed 42
Indexing 52 stories in feed 129
Indexing 31 stories in feed 111
Indexing 50 stories in feed 130
Indexing 31 stories in feed 112
Indexing 30 stories in feed 45
Indexing 32 stories in feed 12
Indexing 30 stories in feed 46
Indexing 290 stories in feed 13
Indexing 34 stories in feed 14
Indexing 52 stories in feed 131
Indexing 33 stories in feed 113

After I did that, the search started working.

Glad to hear it. It should have auto-indexed everything the first time you searched but I wonder why it didn’t. If you want to help me test that theory, go into the shell with docker exec -it newsblur_web ./manage.py shell_plus and run: MUserSearch.remove_all(). Then reload the web page and try searching. That should work the exact same. Let me know either way. And if it doesn’t work, you can always use the manual index_stories step.

After I have done all the manipulations that you have written, the search continues to work.
But what should I do now? What was the problem? And how can this be avoided in the future?

No idea but I’m glad that worked. I hope if other users have this issue, they’ll see this thread (and post letting me know!)

1 Like