Companion - An Android App for UNRAID


IanB

77 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

 

Link to post
  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular 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 th

Just pushed another update to the store, so will hopefully be available soon:   ### 1.7 ### - [New] Dark Mode support. - [New] Dedicated settings screen. - [New] Display CPU t

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  - [N

Posted Images

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

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

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.

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
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
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.

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?

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
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.

 

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.

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 ;)

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" 😁

Link to post

@IanB Thanks for developing the app, I have been looking for something like this for awhile! I am trying to add my server on the add connection screen, but there either is not an accept button or I am unable to scroll down to where the button would be. For reference I am trying this on a Samsung Galaxy S8. I look forward to using the app!

 

Thanks!

Link to post

@akeener - Wow, great catch, i'm not sure how I didn't notice that. I've made a fix and currently waiting for Google Play to make it available (seems that updates are taking a while). If you want to try out an APK to side load, please send me an email at "liquidsoftwareuk at gmail.com" and i'll send you the build.

Link to post
19 hours ago, akeener said:

@IanB Thanks for developing the app, I have been looking for something like this for awhile! I am trying to add my server on the add connection screen, but there either is not an accept button or I am unable to scroll down to where the button would be. For reference I am trying this on a Samsung Galaxy S8. I look forward to using the app!

Same problem with Samsung Galaxy S7. Working great on my Samsung Galaxy Tab A (8", 2019)

Link to post

It's not the prettiest fix, but I was able to get v1.5 out via Google Play (should be available soon) which resolves the issue. I'll look to improve in the future, but just wanted to get it fully functional for people as soon as possible.

 

Thanks again for raising, and please let me know if you have any further issues/feedback.

Link to post

I get the button now on my Samsung Galaxy S7, but it won't actually connect to my server for some reason. I have tried server name and IP. This phone has no problems connecting to my server for share access.

 

As noted, working on my tablet.

Link to post

@trurl - If you want to send me a bug report (via the "..." on the server list), and then email it to liquidsoftwareuk at gmail, I'd love to take a look and see what's going wrong.

 

Thanks in advance, and sorry about it not working on the S7!

Ian

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.