Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

I can only connect to server as Guest (Mac)

Featured Replies

Hello,

 

Ever since I have setup my unRAID I have only been able to connect as Guest. I have only 1 user setup in the web dashboard and I can login there perfectly fine, however when I enter my credentials in the Finder sidebar, it says "Connection Failed". This was fine so far, however, I am on a Mac machine and I am backing up Time Machine to the server. Backups are running fine, but now I need to do a system restore and it is asking me for a name a password for the server "Rumy-unRAID.local." so that Time Machine can access it. I have tried all possible combinations that I could think of. I have searched online for solutions, but with no luck. I do not even have the option to switch to Guest while in the system restore. It only has name pre-populated as "System Administrator" and I have tried my admin password and it did not work either.

 

Please advise. I am on version 6.1.9.

  • Community Expert

Are you trying to log in as root?  If so, root is explicitly  prohibited (for security reasons) from logging into any share. 

  • Author

Yes, I was. I just added another user and set the share to secure but now I am getting an unexpected error 13  :-\

I use Macs too. Macs connected via AFP create files with different permissions than Windows computers connected via SMB. What you really needed to do when you first set up your server was to add a user for each user on your computer. That would allow each person's files to be kept private from the other users. Files that you want everyone to be able to access you could put in a public share. Time Machine needs to run either as an existing user or as a separate user, such as a user called TM or TimeMachine. Adding users retrospectively isn't going to work without some adjusting of ownerships and permissions via the Linux command line.

 

Suppose you have added a user called TM whom you want to own your Time Machine backups. Suppose you have a user share called TimeMachine. In the unRAID webGUI you'll need to go to the Shares page and set TimeMachine to be Exported by AFP and Private. Then under AFP User access (it will say that Guests have no access) add user TM with read/write permissions. Then telnet or ssh into the server and change the ownership of the TimeMachine share and everything inside it with

 

chown -R TM /mnt/user/TimeMachine

 

which will take some time as it has to update a lot of band files within your Time Machine sparse image.

 

Now, over on your Mac you should be able to open Time Machine preferences and reselect the TimeMachine share on your server, logging in with the username TM and the password you set for that user when you added it to unRAID. Then you should be able to choose the sparse image containing your backups.

 

Disclaimer: I'm writing this from memory and not testing it as I go. Proceed at your own risk.

 

  • Community Expert

Yes, I was. I just added another user and set the share to secure but now I am getting an unexpected error 13  :-\

 

I am not the best person to be trying to help here as I do NOT use secured shares. 

 

Are you using Samba (SMB)?

 

Did you add your new user to the list of allowed users for that share (and protocol) in unRAID? 

 

Did you google the error message?

 

 

 

You also need to be explicit about exactly where you are doing things.  On the server or on the Mac. 

Time Machine needs an AFP connection to the networks share. SMB won't work.

 

  • Author

I use Macs too. Macs connected via AFP create files with different permissions than Windows computers connected via SMB. What you really needed to do when you first set up your server was to add a user for each user on your computer. That would allow each person's files to be kept private from the other users. Files that you want everyone to be able to access you could put in a public share. Time Machine needs to run either as an existing user or as a separate user, such as a user called TM or TimeMachine. Adding users retrospectively isn't going to work without some adjusting of ownerships and permissions via the Linux command line.

 

Suppose you have added a user called TM whom you want to own your Time Machine backups. Suppose you have a user share called TimeMachine. In the unRAID webGUI you'll need to go to the Shares page and set TimeMachine to be Exported by AFP and Private. Then under AFP User access (it will say that Guests have no access) add user TM with read/write permissions. Then telnet or ssh into the server and change the ownership of the TimeMachine share and everything inside it with

 

chown -R TM /mnt/user/TimeMachine

 

which will take some time as it has to update a lot of band files within your Time Machine sparse image.

 

Now, over on your Mac you should be able to open Time Machine preferences and reselect the TimeMachine share on your server, logging in with the username TM and the password you set for that user when you added it to unRAID. Then you should be able to choose the sparse image containing your backups.

 

Disclaimer: I'm writing this from memory and not testing it as I go. Proceed at your own risk.

 

 

Thank you, John_M, I will give this a try.

  • Author

After running the code in telnet to change ownership, would I see anything in the WebGUI logs? How will I know if it is done?

It's done when the prompt reappears.

 

ls -l /mnt/user/TimeMachine

 

should confirm the contents are now owned by user TM instead of user nobody.

 

  • Author

Got it to work! Thank you so much! :)

Excellent! You're welcome.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.