Mir

@Mir@programming.dev

This profile is from a federated server and may be incomplete. For a complete list of posts, browse on the original instance.

Mir OP ,

I was thinking about that but I think Nextcloud is a bit too much for my needs

Mir OP ,

I think that may be what you’re asking for

Yes, would be great if I have my day view. Problem is Nextcloud is way too much for my needs

Mir OP ,

Why do you think Nextcloud would be too much for you?

I had the idea that I had to install the whole solution

Mir OP ,

What clients do you use with it?

Mir OP ,

What clients would you recommend with it?

Mir OP , (edited )

Fossify Calendar

How to use it with Baikal, I enabled CalDav but I can only see local and gmail calendars. Do I have to use DAVx5 ?

Mir OP ,

I don't want to manually upload pictures, I want new photos to be uploaded to Immich automatically and deleted from my phone after 30 days.

Also the Immich backup on android is very limited, I can't find all folders in the list it's giving me

Mir OP ,

I want to use immich mostly for viewing

Mir OP ,

More or less yes. Except that the auto upload is limited I can't figure out why most of albums aren't showing

Mir OP ,

I will make sure that this doesn't exist first before requesting a feature, thanks for the tip

Mir OP ,

can you recommend me something else?

Mir OP ,

(except I manually sort through my photos on a semi-weekly basis before I upload it to Immich).

I think that would be a better approach if I weren't very lazy, I think even after the initial run I could do that since I don't take lots of pictures but I was thinking about a fire and forget sort of thing.

If you want, I can cook up a little Python script you could stick into Cron to do all the tasks you described.

Thank you so much, I asked ChatGPT and it generated the bat file below (since I'm using Windows) do you think this would work?

@echo off
REM Change directory to your photos folder
cd /d "C:\path\to\your\photos\folder"

REM Sync files to backup folder
robocopy . "C:\path\to\your\Camera_Backup" /mir /xo

REM Delete files older than 15 days
forfiles /p "C:\path\to\your\photos\folder" /s /m *.* /d -15 /c "cmd /c if @isdir==FALSE del @file"

REM Upload assets using immich cli
immich upload "C:\path\to\your\Camera_Backup" -r -a --delete
Mir OP ,

Thank you. First person to not advise me to use something other than immich for this. And thanks for the heads up about the CLI, can you share the upload script?

Mir OP ,

Although, it will try to upload all photos every time

I will use the argument which makes it delete after upload, this way if it wasn't deleted then it wasn't uploaded and needs to be uploaded, hopefully the CLI is smart to do so.

I want it to use the folder name as album name, I was hoping that it would do the same for nested folders

Mir OP ,

Thank you for the suggestion, they seem to be readonly, I was hoping I could delete/rename photos using them.

Mir OP ,

My problem is that external libraries are readonly

Mir OP ,

Can you tell me about the syncthing set up, how do you have the folders set up to sync?

for instance I have DCIM with folders inside it, do you sync the whole folder or for each folder inside it like "Camera, Screenshot" etc?

Mir OP ,

I just noticed something else that is mildly annoying, after I move them to album I have to run the template migration job to move to the correct folder.

Mir OP ,

Thank you so much, perfect explanation.

Do you keep the stuff on your phone then? how does syncthing handles deleting if you're deleting? did you set up the folder as send only?

I'm working on setting it up for me to do so:

  1. Manually move some pics on my phone to "Inbox" folder (To be sorted in albums later)
  2. Syncthing will automatically sync "Inbox" and "Camera" folders to "Syncthing Consume"
  3. A job to copy from "Syncthing Consume" to "Immich Consume"
  4. Immich Go will move everything to Immich
  5. Anything in the Inbox Album will get sorted to different albums at some point
  6. Eventually anything that isn't synced will be removed from my phone
Mir OP , (edited )

I’m not sure how you’d automate deleting stuff while making sure you’re not deleting items that haven’t been sent yet

Yeah this will be very tricky, I'm thinking if I got over the initial push to Immich, I just delete manually from my phone when I see things have already moved to Immich and I don't need it anymore.

Another good practice (at least I’d like to think so), my syncthing-int which sends everything to /photo_libraries also sends everything to two other backup folders that are pinned to separate discs. So if I have a drive failure or multiple drive failures I’d still have a copy of all the photos/albums.

I will do that to ensure I've backed everything up somewhere in case an Immich Failure.

Mir OP ,

Ah yes that just downed on me today, I need to figure out how to only copy new items

Mir OP ,

I'm using the Web GUI Nginx Proxy Manager https://nginxproxymanager.com/

I tried to add what's in the docs.syncthing using the GUI but it failed, I wasn't sure if I should modify something inside the ngnix docker container or not.

Mir OP ,

The log doesn't mention anything regarding a login attempt

Mir OP ,

In Syncthing logs the difference between success and fail

Success

2024-04-29 00:46:58 http: POST "/rest/noauth/auth/password": status 204, 0 bytes in 62.48 ms
2024-04-29 00:46:58 http: GET "/rest/events?since=174": status 200, 240 bytes in 54538.81 ms
2024-04-29 00:46:58 http: GET "/": status 304, 0 bytes in 0.00 ms
2024-04-29 00:46:58 http: GET "/vendor/bootstrap/css/bootstrap.css": status 304, 0 bytes in 1.24 ms
2024-04-29 00:46:58 http: GET "/vendor/daterangepicker/daterangepicker.css": status 304, 0 bytes in 0.00 ms
2024-04-29 00:46:58 http: GET "/vendor/fork-awesome/css/fork-awesome.css": status 304, 0 bytes in 0.00 ms
2024-04-29 00:46:58 http: GET "/assets/font/raleway.css": status 304, 0 bytes in 0.00 ms

Fail

2024-04-29 00:44:09 http: POST "/rest/noauth/auth/password": status 403, 10 bytes in 237.16 ms
2024-04-29 00:44:09 http: GET "/modal.html": status 304, 0 bytes in 0.00 ms
2024-04-29 00:44:09 http: GET "/syncthing/core/editShareTemplate.html": status 304, 0 bytes in 0.07 ms
2024-04-29 00:44:10 http: POST "/rest/noauth/auth/password": status 204, 0 bytes in 85.43 ms
2024-04-29 00:44:11 http: GET "/": status 304, 0 bytes in 0.00 ms
2024-04-29 00:44:11 http: GET "/rest/svc/lang": status 200, 22 bytes in 0.00 ms

Does syncthing have a domain name specified
I can't find an option to do so

Mir OP ,

Sorry it's just 9101, I updated it.

In GUI you can change the port of the GUI and that's what I did, so I can right now actually access it using 192.168.1.2:9101 and it works. Do you have NPM configured in anyway other than pointing? have you made any changes in Syncthing itself to give it a domain name or an address?

Mir OP ,

The forwarding is actually taking place, the problem is that when I write credintials and try to login it doesn't

Mir OP ,

I have it set to 0.0.0.0, and I can access it from another pc using the ip:port address. But when I try to access using the domain name it shows the login page but I can't login, it just refresh the page and I can see the error above in the logs.

Mir OP ,

I managed to get it to work finally, I disabled these Cache Assets, Block Common Exploits, Websockets Support.

Mir OP ,
Mir OP , (edited )

Thank you for the* so much wanted advice, it's one of the reasons I actually posted this, to get advices on how to do things better.

I've been trying to do that for a specific service running (firefly) but I can't figure out what to do exactly, about the domain name, Is there a way to do that without one?

Mir OP , (edited )

Just follow my steps to achieve this, and the ssl comes after. For SSL follow this https://www.youtube.com/watch?v=qlcVx-k-02E

Mir OP ,
Mir OP ,

Now I can turn on Tailscale when I’m out of the house and open Audiobookshelf app and it connects to my.home server.

I did all this because I wanted to use the same address for home and tailscale

Heimdall

I think that's what I'm currently doing with Homarr

Mir OP ,

ok I just did that and my problem is that I wanted to access my services with a custom domain like .homes

Now I need to access them for x.y.duckdns.org

Mir OP ,

ok I just did that and my problem is that I wanted to access my services with a custom domain like .homes

Now I need to access them for x.y.duckdns.org

Mir OP ,

I used chatgpt to create the exact steps, commands and configurations I needed for my setup and achieved this the seemingly cheatful way. I used nginx and certbot. Worked like a charm. Congrats!

It's impressive that you was able to get it to help you correctly. It usually just spew things i need to fix that's why I didn't ask him, thank you for the tip.

Btw did you use a custom local domain name or did you use an actual domain ?

Mir OP ,

I just finished the SSL today, but have you gotten Syncthing GUI to work though? I can't seem to get it to work with the domain for some reason.

Mir OP ,

I just finished the SSL today, but have you gotten Syncthing GUI to work though? I can't seem to get it to work with the domain for some reason.

Mir OP ,

Yea I'm using Homarr, I've just finished setting everything up. The only problem I have right now is that I can't access Syncthing GUI through the domain.

Mir OP ,

Thank you, looking forward to hearing from you

Mir OP ,

Mine isn't a proper server, it's just an old desktop

Mir OP ,

Might try them because duck dns domain is flagged by the browser for some reason and it's worth than no https warning

Mir OP ,

That looks great, I may switch to it from nginx, thank you

Mir OP ,

I can access using the local ip but I can't access using the ssl domain, I can access it but I can't login for some reason. I can't figure out how to fix it

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • test
  • worldmews
  • mews
  • All magazines