Sergeant Harrelson
Sergeant Harrelson
IImmich
Created by yoyoooooooo on 10/30/2023 in #help-desk-support
Data size on iPhone
In my experience Immich backs up shared albums the same as regular albums. You just need to make sure you specify that album (since photos uploaded by other people aren’t saved in your recents album) and they’re saved locally (i.e. Optimise photos on device is off)
9 replies
IImmich
Created by Sergeant Harrelson on 10/29/2023 in #help-desk-support
immich-cli upload failing
thank you alex
8 replies
IImmich
Created by Sergeant Harrelson on 10/29/2023 in #help-desk-support
immich-cli upload failing
i see, nice eye for detail 🙂
8 replies
IImmich
Created by Sergeant Harrelson on 10/29/2023 in #help-desk-support
immich-cli upload failing
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current f]
root@immich:/home/admin/data/backups/photos_archive/bob_icloud# docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key api_key --server http://192.168.3.20:2283/api
Unable to find image 'ghcr.io/immich-app/immich-cli:latest' locally
latest: Pulling from immich-app/immich-cli
8663204ce13b: Pull complete
d19b13245430: Pull complete
e4a0f03ce8f3: Pull complete
e319ab3d00f8: Pull complete
c097a9c08664: Pull complete
596df2728f7e: Pull complete
7d504dd10ea2: Pull complete
b1008cfb12ca: Pull complete
9d3ca1902f6d: Pull complete
882bbd427e4d: Pull complete
Digest: sha256:023a97dee605ba41dc61ce132e7814ebcd64843aeb01e844528467ed84802faa
Status: Downloaded newer image for ghcr.io/immich-app/immich-cli:latest
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 4225 local assets
Comparing local assets with those on the Immich instance...
A total of 3602 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current file [/import/
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current f]
root@immich:/home/admin/data/backups/photos_archive/bob_icloud# docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key api_key --server http://192.168.3.20:2283/api
Unable to find image 'ghcr.io/immich-app/immich-cli:latest' locally
latest: Pulling from immich-app/immich-cli
8663204ce13b: Pull complete
d19b13245430: Pull complete
e4a0f03ce8f3: Pull complete
e319ab3d00f8: Pull complete
c097a9c08664: Pull complete
596df2728f7e: Pull complete
7d504dd10ea2: Pull complete
b1008cfb12ca: Pull complete
9d3ca1902f6d: Pull complete
882bbd427e4d: Pull complete
Digest: sha256:023a97dee605ba41dc61ce132e7814ebcd64843aeb01e844528467ed84802faa
Status: Downloaded newer image for ghcr.io/immich-app/immich-cli:latest
Checking connectivity with Immich instance...
Server status: OK
Checking credentials...
Login status: OK
Successful authentication for user [email protected]
Indexing local assets...
Indexing complete, found 4225 local assets
Comparing local assets with those on the Immich instance...
A total of 3602 assets will be uploaded to the server
Do you want to start upload now? (y/n) y
Start uploading...
Upload Progress | ██████████████████████████████████░░░░░░ | 85% || 3602/4225 || Current file [/import/
8 replies
IImmich
Created by Dídac on 10/1/2023 in #help-desk-support
Live photos are not working
i've written a sample of the share extension code. pls dont roast my code im on like 4 hrs sleep 😆
import UIKit
import Social

class ShareViewController: SLComposeServiceViewController {

override func viewDidLoad() {
super.viewDidLoad()
}

override func didSelectPost() {
if let extensionItem = extensionContext?.inputItems.first as? NSExtensionItem,
let attachments = extensionItem.attachments as? [NSItemProvider] {
for attachment in attachments {
if attachment.hasItemConformingToTypeIdentifier("public.image") {
attachment.loadItem(forTypeIdentifier: "public.image", options: nil) { (item, error) in
if error == nil, let image = item as? UIImage {
// Process or save the shared image here
}
}
}
}
}

// Inform the system that the extension is done
self.extensionContext?.completeRequest(returningItems: [], completionHandler: nil)
}

override func configurationItems() -> [Any]! {
return []
}
}
import UIKit
import Social

class ShareViewController: SLComposeServiceViewController {

override func viewDidLoad() {
super.viewDidLoad()
}

override func didSelectPost() {
if let extensionItem = extensionContext?.inputItems.first as? NSExtensionItem,
let attachments = extensionItem.attachments as? [NSItemProvider] {
for attachment in attachments {
if attachment.hasItemConformingToTypeIdentifier("public.image") {
attachment.loadItem(forTypeIdentifier: "public.image", options: nil) { (item, error) in
if error == nil, let image = item as? UIImage {
// Process or save the shared image here
}
}
}
}
}

// Inform the system that the extension is done
self.extensionContext?.completeRequest(returningItems: [], completionHandler: nil)
}

override func configurationItems() -> [Any]! {
return []
}
}
101 replies
IImmich
Created by Dídac on 10/1/2023 in #help-desk-support
Live photos are not working
Just had a thought... what if we used the share extension within iOS photos? I may be wrong, but I think the expected behaviour is iOS will download 'offloaded' photos back from iCloud before sharing them to another app. This way we can force the uploading of offloaded photos correctly for users looking to bulk upload to Immich
101 replies
IImmich
Created by Loideoi43 on 10/12/2023 in #help-desk-support
Stuck uploading images on iOS
only asking because i had a similar issue, but resolved it by just letting the app be for about an hour
29 replies
IImmich
Created by Loideoi43 on 10/12/2023 in #help-desk-support
Stuck uploading images on iOS
how long are you waiting for before considering the file stuck?
29 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
No probs
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
@Alex It seemed to have worked with the above command. However, I think the culprit is a custom docker network I created when I initially tried it. Using all the default settings and default network, it worked fine 🙂
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
I'll report back if anything changes
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
docker run --network immich_default -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key HFEJ38DNSDUEG --server http://immich-server:3001
docker run --network immich_default -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key HFEJ38DNSDUEG --server http://immich-server:3001
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
In the meantime, I've done a clean install and I'm trying this command instead
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
My apologies!
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
Would it be better to use libraries instead of the bulk importing into Immich? I'm just learning about this feature now
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
adapting the directory, key and IP
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
cd /DIRECTORY/WITH/IMAGES
docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key HFEJ38DNSDUEG --server http://192.168.1.216:2283/api
cd /DIRECTORY/WITH/IMAGES
docker run -it --rm -v "$(pwd):/import" ghcr.io/immich-app/immich-cli:latest upload --recursive --key HFEJ38DNSDUEG --server http://192.168.1.216:2283/api
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
Hey Alex, I used:
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
code: 'ERR_REQUEST_ABORTED',
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: true,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: false,
_headerSent: true,
_closed: true,
socket: [Socket],
_header: 'POST /api/asset/upload HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: multipart/form-data; boundary=--------------------------769369786436795581757790\r\n' +
'x-api-key: MYAPIKEY\r\n' +
'User-Agent: axios/0.26.0\r\n' +
'Host: 192.168.6.18:2283\r\n' +
'Connection: close\r\n' +
'Transfer-Encoding: chunked\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/api/asset/upload',
_ended: false,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '192.168.6.18',
protocol: 'http:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
},
response: undefined
}
code: 'ERR_REQUEST_ABORTED',
request: ClientRequest {
_events: [Object: null prototype],
_eventsCount: 3,
_maxListeners: undefined,
outputData: [],
outputSize: 0,
writable: true,
destroyed: true,
_last: true,
chunkedEncoding: true,
shouldKeepAlive: false,
maxRequestsOnConnectionReached: false,
_defaultKeepAlive: true,
useChunkedEncodingByDefault: true,
sendDate: false,
_removedConnection: false,
_removedContLen: false,
_removedTE: false,
_contentLength: null,
_hasBody: true,
_trailer: '',
finished: false,
_headerSent: true,
_closed: true,
socket: [Socket],
_header: 'POST /api/asset/upload HTTP/1.1\r\n' +
'Accept: application/json, text/plain, */*\r\n' +
'Content-Type: multipart/form-data; boundary=--------------------------769369786436795581757790\r\n' +
'x-api-key: MYAPIKEY\r\n' +
'User-Agent: axios/0.26.0\r\n' +
'Host: 192.168.6.18:2283\r\n' +
'Connection: close\r\n' +
'Transfer-Encoding: chunked\r\n' +
'\r\n',
_keepAliveTimeout: 0,
_onPendingData: [Function: nop],
agent: [Agent],
socketPath: undefined,
method: 'POST',
maxHeaderSize: undefined,
insecureHTTPParser: undefined,
path: '/api/asset/upload',
_ended: false,
res: [IncomingMessage],
aborted: false,
timeoutCb: null,
upgradeOrConnect: false,
parser: null,
maxHeadersCount: null,
reusedSocket: false,
host: '192.168.6.18',
protocol: 'http:',
[Symbol(kCapture)]: false,
[Symbol(kNeedDrain)]: false,
[Symbol(corked)]: 0,
[Symbol(kOutHeaders)]: [Object: null prototype]
},
response: undefined,
isAxiosError: true,
toJSON: [Function: toJSON]
},
response: undefined
}
19 replies
IImmich
Created by Sergeant Harrelson on 10/3/2023 in #help-desk-support
CLI Import error
Error asset: {
file: '/import/iCloud Photos Part 12 of 24/Photos/IMG_1973.MOV',
reason: Error: error request aborted
at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
at IncomingMessage.handlerStreamAborted (/usr/src/app/node_modules/axios/lib/adapters/http.js:301:18)
at IncomingMessage.emit (node:events:527:28)
at IncomingMessage._destroy (node:_http_incoming:179:10)
at _destroy (node:internal/streams/destroy:102:25)
at IncomingMessage.destroy (node:internal/streams/destroy:64:5)
at Socket.socketCloseListener (node:_http_client:414:11)
at Socket.emit (node:events:539:35)
at TCP.<anonymous> (node:net:709:12) {
config: {
transitional: [Object],
adapter: [Function: httpAdapter],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: Infinity,
maxBodyLength: Infinity,
validateStatus: [Function: validateStatus],
headers: [Object],
method: 'post',
maxRedirects: 0,
url: 'http://192.168.6.18:2283/api/asset/upload',
data: [FormData]
},

Error asset: {
file: '/import/iCloud Photos Part 12 of 24/Photos/IMG_1973.MOV',
reason: Error: error request aborted
at createError (/usr/src/app/node_modules/axios/lib/core/createError.js:16:15)
at IncomingMessage.handlerStreamAborted (/usr/src/app/node_modules/axios/lib/adapters/http.js:301:18)
at IncomingMessage.emit (node:events:527:28)
at IncomingMessage._destroy (node:_http_incoming:179:10)
at _destroy (node:internal/streams/destroy:102:25)
at IncomingMessage.destroy (node:internal/streams/destroy:64:5)
at Socket.socketCloseListener (node:_http_client:414:11)
at Socket.emit (node:events:539:35)
at TCP.<anonymous> (node:net:709:12) {
config: {
transitional: [Object],
adapter: [Function: httpAdapter],
transformRequest: [Array],
transformResponse: [Array],
timeout: 0,
xsrfCookieName: 'XSRF-TOKEN',
xsrfHeaderName: 'X-XSRF-TOKEN',
maxContentLength: Infinity,
maxBodyLength: Infinity,
validateStatus: [Function: validateStatus],
headers: [Object],
method: 'post',
maxRedirects: 0,
url: 'http://192.168.6.18:2283/api/asset/upload',
data: [FormData]
},

19 replies