Uploads/downloads failing after upgrade

I upgraded from 703ba3ef6e to 210c18d244 a couple of days ago; I struggled a bit with the pgsql upgrade from 12 to 15, but I got that figured out, I think. Things seem to be working but when I try to upload files from Android I run into this error:
[FileUploader] [SEVERE] [2025-09-02 17:23:50.395641] File upload failed for File(generatedID: 6741, localID: 1000000508, title: IMG_20250830_164101_805.jpg,
type: FileType.image, uploadedFileId: null, modificationTime: 1756586460000000,
ownerID: null, collectionID: 1580559962386478, updationTime: -1)
⤷ type: DioException
⤷ error: DioException [connection error]: The connection errored: Connection refused This indicates an error which most likely cannot be solved by the library.
Error: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 55724
⤷ trace: #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 FileUploader._putFile (package:photos/utils/file_uploader.dart:1354)
<asynchronous suspension>
#2 FileUploader._tryToUpload (package:photos/utils/file_uploader.dart:669)
<asynchronous suspension>
#3 Future.timeout.<anonymous closure> (dart:async/future_impl.dart:963)
<asynchronous suspension>
#4 FileUploader._encryptAndUploadFileToCollection (package:photos/utils/file_uploader.dart:317)
<asynchronous suspension>
[FileUploader] [SEVERE] [2025-09-02 17:23:50.395641] File upload failed for File(generatedID: 6741, localID: 1000000508, title: IMG_20250830_164101_805.jpg,
type: FileType.image, uploadedFileId: null, modificationTime: 1756586460000000,
ownerID: null, collectionID: 1580559962386478, updationTime: -1)
⤷ type: DioException
⤷ error: DioException [connection error]: The connection errored: Connection refused This indicates an error which most likely cannot be solved by the library.
Error: SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = localhost, port = 55724
⤷ trace: #0 DioMixin.fetch (package:dio/src/dio_mixin.dart:523)
<asynchronous suspension>
#1 FileUploader._putFile (package:photos/utils/file_uploader.dart:1354)
<asynchronous suspension>
#2 FileUploader._tryToUpload (package:photos/utils/file_uploader.dart:669)
<asynchronous suspension>
#3 Future.timeout.<anonymous closure> (dart:async/future_impl.dart:963)
<asynchronous suspension>
#4 FileUploader._encryptAndUploadFileToCollection (package:photos/utils/file_uploader.dart:317)
<asynchronous suspension>
I see requests going into museum but nothing in minio, which I think is maybe sort of weird? I also can't fetch back the photos.
3 Replies
Ducky
Ducky3mo ago
Sorry, I couldn't find an answer. -# If your issue is resolved, feel free to use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
mrzombie
mrzombieOP3mo ago
Turns out the reason my local deployment worked in the first place is because I did somewhat stupid things in the first place. Fetching now works again, uploading not yet, but I'll work it through. Long story short I fiddled with the minio config at some point. [Edit] fully figured out my thing. I just had to pull the correct config down into the compose file. Once properly replicated it just worked.
Ducky
Ducky3mo ago
Thread marked as solved. It will be closed in <t:1756857403:R>. This thread is now closed.

Did you find this page helpful?