Photostructure does not seem to be pulling in new files dropped into my source directory. I’m certain that they will come in if I run “restart sync”, but I wanted to provide a troubleshooting opportunity.
There are several photos that were added to the directory a week or more ago. I do not have automatic organization enabled.
I also experience this on all v1 betas, have reconciled that I just need to manually click Restart Sync whenever I want it to find new photos, then they start showing up about 5min later
I ran docker exec -it PHOTOSTRUCTURE_CONTAINER_NAME sh ./photostructure info --sync-paths and got:
./photostructure: line 3: /bin: Permission denied
./photostructure: line 4: CHANGELOG.md: not found
./photostructure: line 5: can't open https://photostructure.com/eula: no such file
./photostructure: line 9: syntax error: unexpected "("
But when I run docker exec -it photostructure sh I am brought into the container’s shell, and then I can run /ps/app # ./photostructure info --sync-paths and I get actual results:
$ docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
05b77a63a017 photostructure/server:alpha "/sbin/tini -- /ps/a…" 49 minutes ago Up 49 minutes (healthy) 1787/tcp photostructure
$ docker exec -it photostructure sh ./photostructure info --sync-paths
./photostructure: line 3: /bin: Permission denied
./photostructure: line 4: CHANGELOG.md: not found
./photostructure: line 5: can't open https://photostructure.com/eula: no such file
./photostructure: line 9: syntax error: unexpected "("
So, it’s great that you are going to clean up the “info --sync-paths” output, but do you have any inkling as to why Photostructure is not syncing new photos?
Another voice saying I have this problem. I have updated the sync time from 24hours to 6 hours. No luck. However, I am on Ubuntu 20.04 btfs using docker. Thinking it would work itself out, but at the same time, realized I need to raise a ticket. Was beaten to it. Let me know if you need any logs.
Thanks for the report and welcome to PhotoStructure, @odd7of8 !
As I was waiting for CI to go green tonight, I thought of a different way to schedule sync jobs and coded it into beta.10, which should resolve this issue.
I’m hoping to release beta.10 late tomorrow or Sunday.
I’ve been wrestling with batch-cluster for the past couple days to ensure sync-file health checks run properly and that stderr/stdout streams are flushed completely before resolving or rejecting tasks. When examining (tons) of people’s logs they send in, if their sync got “stuck” it seemed to be due to this issue.