# Linked households

Source: https://frameleaf.app/docs/using/linked-households/

A linked household is another family's Frameleaf server, joined to yours so you can share [shared spaces](https://frameleaf.app/docs/using/albums/#shared-spaces) with each other's people. Grandparents on their own server, for example, can be invited to the family space by name.

Everyone who accepts gets their own copies on their own server. If the other household later deletes a photo or ends the link, your copies stay with you.

Linking shares no photos by itself. It only lets space owners on both servers invite each other's people. Nobody gets an account on the other server.

## What you need

- **A Server licence on both servers.**
- **A link to Frameleaf Cloud on both servers.** It's how linked servers find each other. See [Link a server](https://frameleaf.app/docs/cloud/account/#link-a-server).
- **An administrator on each server** to set up the link.
- **A Frameleaf Cloud plan to connect away from home.** See [How the two servers connect](#how-the-two-servers-connect).

You can link up to 10 households.

## Link two servers

One administrator invites, and the other accepts.

**On the first server:**

1. Open **Settings**, then **People & sharing**, then **Linked households**.
2. Choose **Invite another household**.
3. Send the link, or read out the short code, to the other household's administrator.

The invitation works once and expires after 7 days. Until then it's listed as **Waiting for the other household to accept**, and you can show it again or cancel it.

**On the second server:**

1. Open **Settings**, then **People & sharing**, then **Linked households**.
2. Choose **Accept an invitation**.
3. Paste the link or type the code, then choose **Continue**.
4. Check that **This invitation is from** names the household you expect.
5. Under **Call this household**, choose a name for it.
6. Choose **Link with this household**.

As soon as they accept, the two servers are linked. The first administrator isn't asked again.

### Rename a household

Each server chooses its own name for the other household. To change it, choose **Rename** on the household's row. Only your server sees the name you choose, and nothing changes on theirs.

### Unlink

Either household can choose **Unlink** on the household's row at any time. Both households keep everything they already received, and nothing is deleted on either server.

- Spaces you received from them stay in your libraries, labelled **No longer updating**.
- Their copies of your spaces stay with them and stop following your changes.
- Their people leave your spaces' member lists. To share again, link again and invite them again.

## Share a space with another household

Only the owner of a space can invite people from another household.

1. Open the space and choose **Share**.
2. Under **Other households**, pick a person. People are listed by name and picture, with their household under the name.
3. Choose **Viewer** or **Contributor**, then send the invitation.

They show as **Invited, not accepted yet** until they answer. If their server can't be reached, they'll see the invitation when it's back.

Every active person on a linked server is listed by name to the other household's space owners. Email addresses are never shown.

### Viewer and Contributor

A **Viewer** can see the space and gets their own copies. A **Contributor** can also comment and like. Adding photos back to the space isn't available to people from another household, whichever role they have.

### Accept an invitation

An invitation from another household appears in **Notifications**, naming the person who invited you and their household.

- **Accept** adds the space to your library and starts copying its photos and videos to your server.
- **Decline** tells the person who invited you, and nothing is copied.

A received space is labelled with where it came from, such as **From the Rivera household**, and its status line shows how the copying is going, such as **Getting photos** or **Up to date**.

## What is shared and what never is

| Shared with people you invite to a space     | Never sent                                              |
| -------------------------------------------- | ------------------------------------------------------- |
| The space's photos and videos                | [Locked](https://frameleaf.app/docs/using/private-content/) and hidden items |
| Their details, including locations           | Anything outside the space                              |
| People in the space and their face positions | Your library                                            |
| Comments and likes                           | Email addresses                                         |

Partner sharing stays within one server, so a linked household can't receive your whole library.

Locking a photo that was already shared stops the other household's copy from following yours, but it doesn't take that copy back. Check what's in a space before you invite people.

## Your own copies

Each person who accepts gets their own copy of every photo and video, stored on their own server and counted towards their own storage.

- **Copies follow the original.** A change to a description, date, location, rating or people reaches each copy.
- **Your changes win.** Once you edit a detail on your copy, that detail is yours and stops following the original. The other details still follow.
- **Deleting is separate.** Deleting a photo, or removing it from the space, on one side never removes the other side's copy.
- **Leaving keeps what you have.** If someone leaves or is removed from a space, or the households unlink, they keep the copies they already received. Those copies stop updating, and no new photos arrive.
- **Comments are a conversation.** Comments and likes travel both ways, so the space reads as one thread. People can edit or delete their own comments, and that carries across.

Files over 20 GiB aren't accepted from another household. The app calls this the 20 GB limit.

## How the two servers connect

Your photos go straight between the two servers or, when that isn't possible, through the Frameleaf relay. Each household's row shows how it's connected:

| The row says                | What it means                                                                                                                                   |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| **On your home network**    | Both servers are on the same network.                                                                                                           |
| **Direct**                  | Straight to the other server's home over the internet, using its Frameleaf direct address.                                                      |
| **Through Frameleaf relay** | Through Frameleaf, when a direct connection can't be made. It counts toward that plan's [monthly allowance](https://frameleaf.app/docs/cloud/remote-access/#limits). |
| **Home network only**       | The server can only be reached on its own home network.                                                                                         |

A linked household reaches your server away from home only while your server has a [Frameleaf Cloud plan](https://frameleaf.app/docs/cloud/overview/#what-a-cloud-plan-includes); with a Server licence alone, it's home network only. This is the same rule as [Frameleaf apps away from home](https://frameleaf.app/docs/cloud/remote-access/#what-you-need), and it covers both direct and relay connections.

The plan belongs to the server being reached. For two households in different homes to share in both directions, each server needs its own plan.

## Troubleshooting

### The other household can't be reached

The row says **Can’t be reached right now**, and a received space says **Paused**. Their server may be off or their internet down. You don't need to do anything: sharing picks up by itself when it's back.

### A plan has ended

The row says **Home network only**. The server can still be reached on its home network, and everything already received stays. To share between different homes again, renew the [Frameleaf Cloud plan](https://frameleaf.app/docs/cloud/overview/#what-a-cloud-plan-includes) on the server that shows this. Sharing then picks up by itself.

### The link is paused

The row says **Paused** and gives the reason. Everything already received stays on both sides.

| The row says                                                     | What to do                                                                                                                                                                                               |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **This server needs a Server licence**                           | Add a Server licence to this server. Sharing picks up by itself.                                                                                                                                         |
| **Their server needs a Server licence**                          | Ask the other household to add one.                                                                                                                                                                      |
| **This server isn’t linked to Frameleaf Cloud**                  | [Link this server](https://frameleaf.app/docs/cloud/account/#link-a-server) to carry on.                                                                                                                                      |
| **Their server isn’t linked to Frameleaf Cloud**                 | Ask the other household to link it.                                                                                                                                                                      |
| **Frameleaf Cloud can’t be reached right now**                   | Wait. Sharing picks up by itself when it's back.                                                                                                                                                         |
| **Their server has changed. Unlink and link again to carry on.** | Check with the other household that the change is expected, for example a reinstalled server. Then unlink, link again and invite people to your spaces again. Everyone keeps what they already received. |

### Your storage is full

A received space says **Paused** and **Your storage is full**. Free up space or ask your administrator for more, and the rest arrive by themselves.

If it says **Paused** and **This picks up by itself**, uploads to your account are paused for now. Nothing needs doing in the space, and copying carries on when uploads resume.

### A file was skipped

A received space says **Up to date, file skipped**. Everything else arrived.

- If the file is over the 20 GB limit, ask the person who shared it to send it another way.
- If a file **couldn’t be copied**, ask them to send that file another way too.
