Comments (20)
Raspberry Pi3, Raspbian GNU/Linux 9.11 (stretch),
just want to confirm that I had the same issue as the topic starter ( error about certificate signed by unknown authority) and "apk add ca-certificates" with "update-ca-certificates" in container shell helped in this case. Thank you.
from docker-gphotos-uploader.
Well, the original issue is not yet fixed in master
, you guys only used a workaround to temporarily solve the problem on your end. I'll close this once I fix the authentication issue in master
and release a new version with it :)
from docker-gphotos-uploader.
Please run this:
docker exec -it gphoto update-ca-certificates
And once it's finished try again with:
docker exec -it gphoto run
from docker-gphotos-uploader.
I've got an error on the first command :
root@nas:~# docker exec -it gphoto update-ca-certificates OCI runtime exec failed: exec failed: container_linux.go:346: starting container process caused "exec: \"update-ca-certificates\": executable file not found in $PATH": unknown
from docker-gphotos-uploader.
That's weird...
Please login to your container shell:
docker exec -it gphoto /bin/sh
And call update-ca-certificates
directly inside the shell. If that doesn't work, while still in the shell do this:
apk add ca-certificates
And then call update-ca-certificates
again and then try again:
docker exec -it gphoto run
Also, which device are you installing docker-gphotos-uploader
?
from docker-gphotos-uploader.
There is a warning, but it seems something has been done.
/
# apk add ca-certificates
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/main/armv7/APKINDEX.tar.g
z
fetch http://dl-cdn.alpinelinux.org/alpine/v3.10/community/armv7/APKINDEX.
tar.gz
(1/1) Installing ca-certificates (20190108-r0)
Executing busybox-1.30.1-r2.trigger
Executing ca-certificates-20190108-r0.trigger
OK: 4 MiB in 15 packages
/ # update-ca-certificates
WARNING: ca-certificates.crt does not contain exactly one certificate or C
RL: skipping
/ # exit
But there is permission error then
[info] Found item to upload: /photos/Voici Gohan/2015-03-17.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104822.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104829.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104831.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104840.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104841.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104844.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104849.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_104909.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_105556.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_105613.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_110417.jpg
[info] Found item to upload: /photos/Voici Gohan/IMG_20150315_110445.jpg
[info] Found item to upload: /photos/Voici Gohan/VID_20150315_110420.mp4
[info] 15 files pending to be uploaded in folder '/photos'.
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/2015-03-17.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/2015-03-17.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104822.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104822.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104829.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104829.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/.picasa.ini, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/.picasa.ini
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104849.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104849.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104831.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104831.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104840.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104840.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104841.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104841.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_105613.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_105613.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/VID_20150315_110420.mp4, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/VID_20150315_110420.mp4
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104909.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104909.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_105556.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_105556.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_110417.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_110417.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_110445.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_110445.jpg
[error] error while trying to create this media item, err=unexpected error response: file=/photos/Voici Gohan/IMG_20150315_104844.jpg, err=googleapi: Error 400: No permission to add media items to this album., badRequest
[fail] X Error processing /photos/Voici Gohan/IMG_20150315_104844.jpg
[info] 15 processed files: 0 successfully, 15 with errors
from docker-gphotos-uploader.
But how did you got those errors? Were you able to authenticate?
from docker-gphotos-uploader.
I just tried your command lines ( apk add certificate etc... ) then docker exec -it gphoto run
and do the same thing than explained above (Opening Browser .... etc ) and got on my browser the same message on authentication.
I've just try to re-run and got this : https://pastebin.com/4K6qTasg
from docker-gphotos-uploader.
So, you were able to authenticate, correct? I really need you to answer me this with a yes or no, I need to understand what's happening and what fixed your authentication problem.
from docker-gphotos-uploader.
I think it's a yes. Through the browser I was able to authenticate.
from docker-gphotos-uploader.
If the authentication problem is fixed, that's great, I might need to fix something on my Docker image, can you please just let me know which device are you using for this? A Raspberry Pi or something?
As for your uploading issue, that looks like an upstream issue and I recommend you open a new issue in the gphotos-uploader-cli
repository, they should be able to help you better. But based on the error, there seems to be some problem with the album you're uploading to. Try to rename the folder name and try to upload again and see if that works.
from docker-gphotos-uploader.
Hi rfgamaral, I met the same problem. My device is Synology DS918+ with docker. I used you method and it success to run. Thanks! But it finally got some error just like this:
[info] 179169 files pending to be uploaded in folder '/photos'.
[error] error while trying to create this media item, err=Failed: There was an error while trying to create this media item.
[fail] X Error processing /photos/@eaDir/SYNOPHOTO_MUSIC_CONFIG
[error] error while trying to create this media item, err=unexpected error response: file=/photos/@eaDir/IMG_20200222_172150.JPG@SynoEAStream, err=googleapi: Error 400: Request must contain a valid upload token., badRequest
from docker-gphotos-uploader.
Hi rfgamaral, I met the same problem. My device is Synology DS918+ with docker. I used you method and it success to run.
Just clarify something for me... You had the same authentication problem and you fixed with my suggestion above? Yes?
from docker-gphotos-uploader.
Yes , it is fixed with you suggestion and it runs well. Thanks!
from docker-gphotos-uploader.
Yes , it is fixed with you suggestion and it runs well. Thanks!
Thank you, I'll need to provide a fix for that.
As for the other issue, I believe that's an upstream issue (maybe, not sure yet) and that's being tracked here: gphotosuploader/gphotos-uploader-cli#49
from docker-gphotos-uploader.
Maybe this issue can be closed as the error 400 problem is not really related to it ?
from docker-gphotos-uploader.
I've made one test with some pictures and deleted them on Google Photo. Now these photo are not detected again as uploadable. How do I reset to re-upload them ?
from docker-gphotos-uploader.
I've made one test with some pictures and deleted them on Google Photo. Now these photo are not detected again as uploadable. How do I reset to re-upload them ?
I have no idea. You need to ask that in the gphotos-uploader-cli
repository.
from docker-gphotos-uploader.
Thank you for that @suprimex.
I'm going to publish a fixed version in a couple of minutes and close this once it's published.
from docker-gphotos-uploader.
I just published a fixed version to the preview
tag (and bumped the tool to the latest version), could any of you guys please test it out before I publish this to latest
?
from docker-gphotos-uploader.
Related Issues (20)
- FIles Not Uploading HOT 11
- Stops after done each time? HOT 9
- container does not run cron command HOT 3
- Album does not get created in Google Photos library HOT 3
- Upload as compressed video / photo to reduce used space on gdrive/gphotos HOT 1
- Update binary? HOT 5
- multiple folders
- Doesn't Create Albums
- Error uploading Media HOT 1
- Duplicated Albuns
- Some photos are not included in the album
- open completed uploads tracker failed - uploads.dbtemporarily unavailable
- Configuration file (config.hsjon) settings do not persist HOT 9
- Grinds to a halt on 3g2 files; can't tell it to "keep going" HOT 1
- Unable to read configuration file (config.hjson) HOT 21
- Update nmrshll/gphotos-uploader-cli HOT 19
- Uploading suddenly failing with wrong status message found HOT 7
- auth token appears to expire after ~60 minutes HOT 36
- Use offline access type HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-gphotos-uploader.