Jump to content
IanB

Companion - An Android App for UNRAID

17 posts in this topic Last Reply

Recommended Posts

Hey 👋

 

This started off as a bit of a hobby project that slowly become something that I thought could be useful to others. It was an exercise for me in writing a new app from scratch and the different choices I would make, compared to having to constantly iterate on an existing (large) code base. After sharing this with some of the community in the unofficial discord channel, I was encouraged to get it into a state where it makes sense for others to use.

 

430689760_2020-03-13at09_59.thumb.png.c816c992233a8fd4e950019cac3fcee8.png

 

https://play.google.com/store/apps/details?id=uk.liquidsoftware.companion

 

I've already received some great feedback as well as a number of issues and requests for new features, that I hope to add soon. I hope others will find this as useful as I do in managing your UNRAID servers.

 

Enjoy

 

Share this post


Link to post

Just pushed a new build to Google Play after some great feedback from testers. It should hopefully already be available.

 

### 1.1 ###
 - [NEW] Support for self-signed certificates
 - [NEW] Improved Add Server screen
 - [NEW] Allow offline servers to be added
 - Add message to server list when no servers added
 - Fix crash if trying to add server before providing any host information
 - Fix share information populating wrongly
 - Update persisted server information when connecting
 - Fix crash restoring app
 - Fix timeout when calculating sizes of large shares

Share this post


Link to post

And another quick update to resolve an important DNS rebinding issue, along with a small bucketful of fixes. I also gave larger tablets some love with some small optimisations for their screen size. The update should hopefully be available via Google Play soon:

 

### 1.2 ###
 - [NEW] Optimised tablet layout support
 - Display disk state correctly (spun up or down)
 - Fix issue with self-signed certificates failing DNS rebinding protection
 - Fix crash when backgrounding app after connecting to server
 - Fix pie chart when displaying more than 12 shares
 - Sort disks so that Parity drives are always first

Share this post


Link to post

Bought! Thank you! I'd love to be able to navigate shares and edit docker containers/browse plugins and CA. :)

Share this post


Link to post

Thanks @HynesJeff, I really appreciate the support! I don't suppose you could leave an (honest) review via Google Play. I'm hoping that with more feedback, the discoverability of the app will improve via Search.

 

As for your requests, i'd love to implement that (given time), the problem is that with the lack of a real (stable) Unraid API, the more features I add the risk I am at new updates completely breaking everything and needing to rewrite, while still trying to support older server versions - so a headache. It has been suggested that an API is on the way though, and once released I would hope to be able to quickly switch over to it unlocking the potential of additional features like the ones you suggested. My short term plan is to continue working on the core features and the application host itself to make the experience as good as possible, so it's ready for the API to quickly add lots of great new features.

Share this post


Link to post

Hi,

It looks great and I had a little google credit so I have bought it, I have done a feedback as the program will not run for me, once I enter the details for my server it just crashes. I should mention if I set the tower name in place of the IP it does not connect but also does not then crash when I click on add server it says it cannot connect, if I then add the server ip in place of the name it creates and I can access the server. With just the server ip in a new connection it still just crashes.

 

Any ideas?

 

A write up and review later on.

 

Thanks

Edited by MMW

Share this post


Link to post

>With just the server ip in a new connection it still just crashes.

 

@MMW Sorry about this. Are you able to send me a bug report from the app? If you're at the Server List page, in the top right the "..." option includes an option "Send Bug Report". This will let you send yourself an email with app logs, which you could upload here for me to take a peak.

 

EDIT: I just checked the crash reporting and see a repeated attempt to add an IP address that includes a trailing space. Looks like i'm not trimming what is entered (sorry). I'll get that fixed ASAP but if that is you, hopefully you can just delete the space character at the end to let you proceed.

Edited by IanB

Share this post


Link to post

I've pushed a fix (v1.3) to Google Play to fix the crash when the IP address includes a space either at the beginning or the end. I'll probably need to do some additional validation of the input (rather than crashing) but wanted to get this fix out ASAP for you. I'm not sure how long Google is taking now, but hopefully you'll receive the update soon.

Share this post


Link to post

Sent, but yes that was it, I did not notice the trailing space seems the built in keyboard on my phone was auto filling the field. So one other quick question, the dashboard is not loading for me I just get the loading circle. Any ideas?

Share this post


Link to post

@MMW - Thanks for the logs, it looks to be failing to either retrieve the Array information or the Cache info. Do you have an array configured and not using any cache drives?

Edited by IanB

Share this post


Link to post

Hi, yep, the unit is used for storage so the cache drives are not needed. Array is there and it returns the discs, shares and dockers without issue.

Also still trying to find a good SATA card to increase the drive number.

 

Share this post


Link to post

Great, thanks!

 

I pushed a few updates to the store over the weekend to fix the reported connection issues...

 

### 1.4 ###

 - Fix issue preventing dashboard loading when no cache was being used.

 - Support servers where no password is set.

 

### 1.3 ###

 - Fix minor clipping of cards

 - Fix crash when IP/host included additional whitespace.

Share this post


Link to post

And I can confirm it works like a dream now, including the no cache and leaving the space after an ip address.

 

Share this post


Link to post
5 hours ago, IanB said:

- Support servers where no password is set.

Better don't support them and give the user a big red warning to set a password!!!

Share this post


Link to post

>Better don't support them and give the user a big red warning to set a password!!!

 

While I think it's a terrible idea to run your server without a root password, I didn't think it was for me to try and force the user into setting one. The bug report came in and I wanted to allow the user to still access their server. That said, a red warning message to remind the user how dangerous it is might be nice. Pester them into better practices ;)

Share this post


Link to post

@IanB Keep in mind in the past we had a lots of users having their servers accessible via the internet WITHOUT a root password. Opening some ports on the router to have access to a docker, some routing misconfiguration et voila, worst case scenario. As a programer you always have to count in a user error or a misconfiguration. A big red warning dialog everytime they use the app to access the server without a password is what I would implement. And NO checkbox "never show again" 😁

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.