photon-docker: Version 0.6.2 not starting - Synology NAS
I had Photon running for some months without problems. But since the update to 0.6.2 Photon is not running anymore. Although I do not have any errors the service is not running.
I also deleted the entire container and recreated but that did not solve the issue.
This is my docker log.
`
| 2025/01/15 01:41:36 | stderr | at java.base/java.lang.Thread.run(Unknown Source) |
|---|---|---|
| 2025/01/15 01:41:36 | stderr | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) |
| 2025/01/15 01:41:36 | stderr | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:675) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportService$7.doRun(TransportService.java:662) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.RequestHandlerRegistry.processMessageReceived(RequestHandlerRegistry.java:69) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportRequestHandler.messageReceived(TransportRequestHandler.java:33) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$ShardTransportHandler.messageReceived(TransportSingleShardAction.java:287) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$ShardTransportHandler.messageReceived(TransportSingleShardAction.java:294) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:44) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.get.TransportGetAction.shardOperation(TransportGetAction.java:95) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.index.get.ShardGetService.get(ShardGetService.java:82) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.index.get.ShardGetService.innerGet(ShardGetService.java:154) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.index.shard.IndexShard.get(IndexShard.java:615) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.index.shard.IndexShard.readAllowed(IndexShard.java:1104) |
| 2025/01/15 01:41:36 | stderr | Caused by: [photon/wtWO6UpwQ4SljcevCh_iBQ][[photon][0]] IllegalIndexShardStateException[CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED, RELOCATED]] |
| 2025/01/15 01:41:36 | stderr | Caused by: RemoteTransportException[[kIHTDjO][127.0.0.1:9300][indices:data/read/get[s]]]; nested: IllegalIndexShardStateException[CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED, RELOCATED]]; |
| 2025/01/15 01:41:36 | stderr | at java.base/java.lang.Thread.run(Unknown Source) |
| 2025/01/15 01:41:36 | stderr | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) |
| 2025/01/15 01:41:36 | stderr | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:39) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.onFailure(ThreadContext.java:660) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportService$7.onFailure(TransportService.java:673) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportService$DirectResponseChannel.sendResponse(TransportService.java:1167) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportService$DirectResponseChannel.processException(TransportService.java:1189) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.transport.TransportService$ContextRestoreResponseHandler.handleException(TransportService.java:1085) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction$2.handleException(TransportSingleShardAction.java:252) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.access$1300(TransportSingleShardAction.java:123) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.onFailure(TransportSingleShardAction.java:196) |
| 2025/01/15 01:41:36 | stderr | at org.elasticsearch.action.support.single.shard.TransportSingleShardAction$AsyncSingleAction.perform(TransportSingleShardAction.java:209) |
| 2025/01/15 01:41:31 | stderr | Exception in thread “main” NoShardAvailableActionException[No shard available for [get [photon][place][DATABASE_PROPERTIES]: routing [null]]]; nested: RemoteTransportException[[kIHTDjO][127.0.0.1:9300][indices:data/read/get[s]]]; nested: IllegalIndexShardStateException[CurrentState[RECOVERING] operations only allowed when shard state is one of [POST_RECOVERY, STARTED, RELOCATED]]; |
| 2025/01/15 01:41:30 | stdout | 2025-01-15 00:41:30,208 [main] INFO de.komoot.photon.App - ES cluster is now ready. |
| 2025/01/15 01:41:00 | stdout | 2025-01-15 00:41:00,095 [main] INFO de.komoot.photon.App - Make sure that the ES cluster is ready, this might take some time. |
| 2025/01/15 01:41:00 | stdout | 2025-01-15 00:41:00,094 [main] INFO de.komoot.photon.Server - Started elastic search node |
| 2025/01/15 01:40:30 | stdout | 2025-01-15 00:40:30,315 [main] WARN org.elasticsearch.node.Node - version [5.6.16-SNAPSHOT] is a pre-release version of Elasticsearch and is not suitable for production |
| 2025/01/15 01:39:34 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:31 - Sleeping for 86400 seconds until next update |
| 2025/01/15 01:39:34 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:31 - Update interval: 24h (86400 seconds) |
| 2025/01/15 01:39:34 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:31 - Update strategy: PARALLEL |
| 2025/01/15 01:39:34 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:31 - Starting Photon service |
| 2025/01/15 01:39:34 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:25 - Cleaning up extract directory at /photon/photon_data/temp/extract |
| 2025/01/15 01:39:24 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:24 - Moving elasticsearch from /photon/photon_data/temp/extract/photon_data/elasticsearch to /photon/photon_data/elasticsearch |
| 2025/01/15 01:39:24 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:24 - Removing old elasticsearch directory at /photon/photon_data/elasticsearch |
| 2025/01/15 01:39:24 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:24 - Found elasticsearch directory at /photon/photon_data/temp/extract/photon_data/elasticsearch |
| 2025/01/15 01:39:22 | stdout | [0;32m[INFO][0m 2025-01-15 00:39:22 - Moving extracted files to final location |
| 2025/01/14 18:49:27 | stdout | [0;32m[INFO][0m 2025-01-14 17:49:27 - Extracting index to temporary location |
| 2025/01/14 18:49:26 | stdout | photon-db.tar.bz2: OK |
| 2025/01/14 18:24:10 | stderr | |
| 2025/01/14 18:24:10 | stderr | 2025-01-14 17:24:09 (27.1 MB/s) - ‘/photon/photon_data/temp/photon-db.md5’ saved [59/59] |
| 2025/01/14 18:24:10 | stderr | |
| 2025/01/14 18:24:10 | stderr | 0K 100% 27.1M=0s |
| 2025/01/14 18:24:10 | stderr | |
| 2025/01/14 18:24:10 | stderr | Saving to: ‘/photon/photon_data/temp/photon-db.md5’ |
| 2025/01/14 18:24:10 | stderr | Length: 59 [application/octet-stream] |
| 2025/01/14 18:24:10 | stderr | HTTP request sent, awaiting response… 200 OK |
| 2025/01/14 18:24:10 | stderr | Connecting to download1.graphhopper.com (download1.graphhopper.com)|135.181.163.222|:443… connected. |
| 2025/01/14 18:24:10 | stderr | Resolving download1.graphhopper.com (download1.graphhopper.com)… 135.181.163.222 |
| 2025/01/14 18:24:10 | stderr | –2025-01-14 17:24:08-- https://download1.graphhopper.com/public/photon-db-latest.tar.bz2.md5 |
| 2025/01/14 18:24:10 | stdout | [0;32m[INFO][0m 2025-01-14 17:24:10 - Verifying MD5 checksum |
| 2025/01/14 18:24:10 | stderr | |
| 2025/01/14 18:24:04 | stderr | 2025-01-14 17:24:04 (18.0 MB/s) - ‘/photon/photon_data/temp/photon-db.tar.bz2’ saved [82987207173/82987207173] |
| 2025/01/14 18:24:04 | stderr | |
| 2025/01/14 18:24:04 | stderr | 81035264K … 100% 9.46M=73m28s |
| 2025/01/14 18:24:04 | stderr | 81002496K … … … … 99% 17.6M 0s |
| 2025/01/14 18:24:04 | stderr | 80969728K … … … … 99% 19.0M 2s |
| ` |
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 51 (13 by maintainers)
I appreciate the debugging effort from you guys. I would ask anyone posting logs to please make sure to set the logging to debug to allow proper tracing of the issue. While im trying to figure out these issues, I have released a “lite” image at rtuszik/photon-docker:lite for those that just want a basic photon image right now. It does not have any update functionality, but it should work with synology without any issues.
You can find the compose file here: docker-compose
That being said, I hope to figure this out soon, but the debugging process is kind of annoying, given that I have no control over photon, no synology to test on and the download takes ages…