23
submitted 11 months ago by shiftymccool@lemm.ee to c/selfhosted@lemmy.world

Hey all! I'm still in the somewhat early stages of setting up my home server. I have Nextcloud installed for file storage/management. However, realizing that it would be nice to have access to the entire storage drive for the server, I installed File Browser.

Now I'm having a hard time justifying having both. I have a handful of services that could be run as individual services (calDav, notes, news, etc... although, phonetrack seems to be hard to replace).

I've noticed lists that people have posted of the "must-have" services on their home servers have included both. My question is "why?" It seems like, at a basic level, they serve similar roles. If you remove the app-platform role from Nextcloud by separately hosting the individual apps, what benefit do you get from having both Nextcloud and File Browser?

I really like NextCloud, but i'm having a hard time justifying the resource usage if its functionality can be replaced by a handful of containers. Or, is that the reason to have it, so you don't have to do that?

Any opinions on the subject would be appreciated.

you are viewing a single comment's thread
view the rest of the comments
[-] shiftymccool@lemm.ee 2 points 11 months ago

I looked at Traccar for a little bit but found that (based on the availability of documentation / user posts) OwnTracks seems to be more popular. After setting up OwnTracks and comparing it to PhoneTrack, it was OBVIOUS that PhoneTrack is superior... at least for me. I'll take another look at Traccar tonight and see if it compares. Thanks!

[-] mbirth@lemmy.mbirth.uk 1 points 11 months ago

@shiftymccool@lemm.ee It's now 24 hours later - what do you think? I'm also running a NextCloud to run PhoneTrack. I had a customised version of php-tracks-recorder before that, but wanted something for multiple devices/users and with a bit more features.

[-] shiftymccool@lemm.ee 1 points 11 months ago

I got a minimum traccar instance running last night (no db, config, etc...) and it seemed to be working great. Later, I noticed battery usage on my android device was a bit higher than normal. Not thinking much about it, I went about my business. This morning I was still seeing higher than average battery usage. I checked the client logs and saw a ton of "failed to send" messages. I checked the server and the registration page came up. Apparently, my minimal setup failed to persist the data and, at some point, I redeployed my stack and lost everything.

My suspicion is that the repeated failures were causing the battery drain so I'm trying again with a full db setup but not having much luck so far. I'll check back in after I either succeed or give up.

The UI for traccar is way cleaner than phonetrack but if the battery usage doesn't compare, it's a no-go. Phonetrack has just been invisible and functional so it's got some big shoes to fill

[-] shiftymccool@lemm.ee 1 points 11 months ago* (last edited 11 months ago)

Well, I've had a fully functioning Traccar instance running all night and most of the day and I'm sad to say that I'm less than impressed.

The tracking isn't quite as bad as OwnTracks but not nearly as good as PhoneTrack. Instead of showing me that I randomly went to a city several miles away, I just spent some time in a field by my house instead of walking down the road next to it.

I've kept PhoneTrack running in tandem and the comparison, in terms of accuracy and battery usage, leaves no question. I tried everything I could think of to post a screenshot of my battery usage but "image is too large" was all I got even for an 18k image. So, after a day-ish of running both, my battery stats in Android show:

  • Traccar Client: 36% (top of the list, 15 hours background, 1 min screen time)
  • ...several other apps, including those with a lot more screen time
  • PhoneTrack: 1% (background 8 hours)

I think it's PhoneTrack's "significant motion" setting that makes the difference here. If Traccar gets this feature (or already has it and I'm missing it...) that will solve a few problems.

If I'm missing something with Traccar here, somebody please set me to rights. It seems strange that the only setting in the Traccar client to save battery is to set the interval longer, thereby killing accuracy. PhoneTrack seems to have solved this problem, and it's "just a Nextcloud app", Traccar is dedicated to this functionality, I feel like it should have more options. 🤷‍♂️

Looks like I'm sticking with PhoneTrack for now which means my Nextcloud instance has been relegated to app platform instead of all-in-one file manager.

EDIT: Didn't notice the wake lock setting, trying it for a bit with that off to see if that helps

[-] mbirth@lemmy.mbirth.uk 1 points 11 months ago

I have yet to try this, but you should be able to use the OwnTracks app with Traccar.

I‘m using OwnTracks for years now to log into PhoneTrack (and previously php-owntracks-recorder). No issues.

[-] shiftymccool@lemm.ee 1 points 11 months ago

Interesting, I'll have to give that a try. Thanks for the tip!

A small update: Traccar with the wake lock off and the interval set to 100 seconds uses a fraction of the battery but the accuracy still seems questionable. Since it's not draining the battery anymore, I'm going to keep running them in tandem for comparison. If I remember, I'll come back here with my results

this post was submitted on 11 Dec 2023
23 points (96.0% liked)

Selfhosted

40183 readers
527 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS