Skip to content

immich's ping API #888

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tantumve opened this issue Apr 14, 2025 · 6 comments
Open

immich's ping API #888

tantumve opened this issue Apr 14, 2025 · 6 comments

Comments

@tantumve
Copy link

2025-04-14 11:35:36 INF Connection to the server erver=http://192.168.2.129:8080
2025-04-14 11:35:36 ERR unexpected response to the immich's ping API at this address: erver=http://192.168.2.129:8080/api/server/ping:

Some problems here. "erver"?
Thanks

@simulot
Copy link
Owner

simulot commented Apr 14, 2025

What is the command line?

@tantumve
Copy link
Author

/mnt/user/system/tools/immich-go
--log-level DEBUG
--api-trace
-server="http://192.168.2.129:8080"
-key=""
upload
--dry-run
from-google-photos
--sync-albums
"
**"

@simulot
Copy link
Owner

simulot commented Apr 14, 2025

Try with double hyphens --server and --api-trace

@tantumve
Copy link
Author

Command:
/mnt/user/system/tools/immich-go
--log-level DEBUG
--api-trace
--server="http://192.168.2.129:8080"
-key=""
upload
--dry-run
from-google-photos
--sync-albums
"
*"

Result: unknown command "http://192.168.2.129:8080" for "immich-go"

@simulot
Copy link
Owner

simulot commented Apr 14, 2025

Try

/mnt/user/system/tools/immich-go
upload
from-google-photos
--log-level DEBUG
--api-trace
--server="http://192.168.2.129:8080/"
-key=""
--dry-run
--sync-albums
"*"

@tantumve
Copy link
Author

tried
/mnt/user/system/tools/immich-go
upload
from-google-photos
--log-level DEBUG
--api-trace
--server="http://192.168.2.129:8080"
--api-key ""
--dry-run
--sync-albums
"
"
Return invalid key. I suppose immich has a problem with api/admin.
Tried with a non-admin user and works!
thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants