# New User registration error (Error 405)

**URL:** <https://gramps.discourse.group/t/new-user-registration-error-error-405/3719>\
**Category:** Gramps Web\
**Tags:** grampshub\
**Created:** [June 22, 2023, 1:08am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719 "2023-06-22T01:08:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmgursky](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@dmgursky](https://gramps.discourse.group/u/dmgursky)\
**Post date:** [June 22, 2023, 1:08am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/1 "2023-06-22T01:08:37Z")

</div>

When a user tries to register, they get an Error 405.

?

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [June 22, 2023, 6:09am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/2 "2023-06-22T06:09:09Z")

</div>

This happens when no tree owner account exists yet. This is because newly [registered users](https://www.grampsweb.org/Users/) must be approved by a tree owner, which does not work if none exists.

Please provide more information on your setup.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [June 25, 2023, 3:34pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/3 "2023-06-25T15:34:45Z")

</div>

_This happens when no tree owner account exists yet. This is because newly registered users must be approved by a tree owner, which does not work if none exists._

How can that be fixed?

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [June 25, 2023, 5:38pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/4 "2023-06-25T17:38:01Z")

</div>

If you want support, please provide more details.

When do they get a 405? Screenshot? Logs? How should we know what’s wrong in your setup?

---

<div class="post-metadata">

**Author:** ![dmgursky](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@dmgursky](https://gramps.discourse.group/u/dmgursky)\
**Post date:** [June 25, 2023, 5:42pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/5 "2023-06-25T17:42:10Z")

</div>

The site administrator needs to go into their preferences (the circular icon at the top) and then then Administration tab. Edit one user (presumably the administration him / her / their self) and set their role to “Owner”

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [June 25, 2023, 5:51pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/6 "2023-06-25T17:51:14Z")

</div>

> [@dmgursky](#):
>
> preferences (the circular icon at the top) and then then Administration tab

Is that a DigitalOcean preferences feature or a Gramps Web menu?

Either way, sounds like an important edition to the docs … hopefully with a link to more information about the Preferences Administration tab.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [June 27, 2023, 3:24pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/7 "2023-06-27T15:24:29Z")

</div>

I created a Gramps Web Droplet in DigtalOcean and set up authentication to the droplet.  
The IP assigned to the droplet I used to create a domain in [https://account.dyn.com/](https://account.dyn.com/)  
According to documantation I ran ‘ssh root@164.xx.xx.xx’ and as far I can see it went OK (check image).  
So far so good … but when I try to create a new user in Gramps WEB screen an error 405 was shown (check image).

> [@DavidMStraub](#):
>
> This happens when no tree owner account exists yet. This is because newly [registered users](https://www.grampsweb.org/Users/) must be approved by a tree owner, which does not work if none exists.

I don’t know what a tree owner account is and how to fix it.  
Help appreciated …

 ![GrampsWEB](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/f/f45463a2a0bb36b365f4d515d972bf552dcbac0e.png)  
 ![error_405](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/f/fcaa21ded3828e91369d4cc6a5f40ebfc860b200.png)

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [June 27, 2023, 3:36pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/8 "2023-06-27T15:36:13Z")

</div>

Looks like this is a regression, reported by @dmgursky here [grampsweb does not initialize correctly on install… · Issue #387 · gramps-project/gramps-webapi · GitHub](https://github.com/gramps-project/gramps-webapi/issues/387)

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [June 27, 2023, 4:53pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/9 "2023-06-27T16:53:10Z")

</div>

Should be fixed in the latest release.

@dmgursky @rajan to update your DO droplet:

```python
cd /opt/grampsweb
docker-compose pull grampsweb && docker-compose up -d

```

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [June 30, 2023, 3:43pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/10 "2023-06-30T15:43:50Z")

</div>

Thanks … now I get a different form (first run) with two sections:

Create an admin account  
E-mail settings  
One simple question:

Upload family tree /Select a file … is GrampsXML Package (tree+media) OK?

---

<div class="post-metadata">

**Author:** ![dmgursky](https://avatars.discourse-cdn.com/v4/letter/d/b782af/32.png) [@dmgursky](https://gramps.discourse.group/u/dmgursky)\
**Post date:** [June 30, 2023, 7:33pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/11 "2023-06-30T19:33:50Z")

</div>

I don’t think XML with Media is supported, just the Tree.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [July 1, 2023, 9:19am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/12 "2023-07-01T09:19:26Z")

</div>

I exported to Web Family Tree … but that was also unsupported  
 ![Screenshot from 2023-07-01 11-14-50](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/6/60ca19f2b02e6c338b7156c89e054ddbdb347d34.png)  
 ![Screenshot from 2023-07-01 11-20-47](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/7/72dee6f0a3d23efa33d440ad95e54c8722538e25.png)

---

<div class="post-metadata">

**Author:** ![Nick-Hall](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/nick-hall/32/95_2.png) [@Nick-Hall](https://gramps.discourse.group/u/Nick-Hall)\
**Post date:** [July 1, 2023, 1:37pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/13 "2023-07-01T13:37:32Z")

</div>

You will need to select the “Gramps XML (family tree)” option.

---

<div class="post-metadata">

**Author:** ![Mattkmmr](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/mattkmmr/32/410_2.png) [@Mattkmmr](https://gramps.discourse.group/u/Mattkmmr)\
**Post date:** [July 1, 2023, 2:31pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/14 "2023-07-01T14:31:49Z")

</div>

@Nick-Hall Maybe there should be a better destinction in this section for new users that Gramps XML is the recommended/default option? Web family tree sounds connected to gramps-web. Maybe something like this:

```python
Recommended:
- Gramps XML (family tree data)
- Gramps XML Package (family tree and media)
- GEDCOM

Other:
- List of other formats

```

---

<div class="post-metadata">

**Author:** ![emyoulation](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/emyoulation/32/67_2.png) [@emyoulation](https://gramps.discourse.group/u/emyoulation)\
**Post date:** [July 1, 2023, 3:10pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/15 "2023-07-01T15:10:07Z")

</div>

One of the things that causes a bit of confusion is that Gramps remembers the last options selected. And only a very few features offer a ‘Reset to defaults’ feature. (Such as what is offered in the menus of the Gramplet splitbars.)

Since new users tend to play with options when they have NO idea what each feature does, they become disoriented in the overwhelming number of options.

I periodically go into the gramps.ini with a text editor to strip the clutter. And delete all the view ini files. But this might be beyond the comfort zone of some users.

At some point, we will probably need a tool that allows chunks of preferences to be cleaned to defaults without touching the multitude of fine tunings … like your preferred Date format and filepath customizations. (Chunks such as “reset all splitbars” or " all views" or “reset all reports/tools”)

As Gramps Web is a multi-user environment, I cannot image how it deals with customizations.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [July 2, 2023, 10:14am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/16 "2023-07-02T10:14:39Z")

</div>

OK … I chose Gramps XML (family tree) but how do I get the images into the Web Gramps.

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [July 3, 2023, 6:42am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/17 "2023-07-03T06:42:10Z")

</div>

@rajan

> [@rajan](#):
>
> Upload family tree /Select a file … is GrampsXML Package (tree+media) OK?

No, unfortunately not. This is because the way the Gramps XML + media package is set up and handled by Gramps internally is not safe enough for use on a web server with potentially untrusted content. But, to answer your question,

> [@rajan](#):
>
> OK … I chose Gramps XML (family tree) but how do I get the images into the Web Gramps.

I implemented a new feature for that last week which will land in the next version.

 ![grafik](https://global.discourse-cdn.com/free1/uploads/gramps/original/2X/a/a0e2e460e1fdb92f54493e51eecc5a6a3b714efe.png)

But even easier and working already now is just setting up the sync plugin. It will upload all media files that are missing on the server.

[https://www.grampsweb.org/user-guide/sync/](https://www.grampsweb.org/user-guide/sync/)

The documentation around import/export/sync needs to be improved though.

@Mattkmmr

> [@Mattkmmr](#):
>
> Maybe there should be a better destinction in this section for new users that Gramps XML is the recommended/default option?

For every format _other than_ Gramps XML, Gramps Web will display the following warning: “If you intend to synchronize an existing Gramps database with Gramps Web, use the Gramps XML (.gramps) format instead.”

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [July 3, 2023, 10:54am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/18 "2023-07-03T10:54:19Z")

</div>

Thanks for your input …

> [@DavidMStraub](#):
>
> But even easier and working already now is just setting up the sync plugin. It will upload all media files that are missing on the server.
> 
> [https://www.grampsweb.org/user-guide/sync/](https://www.grampsweb.org/user-guide/sync/)

_Gramps Web Sync is still under development_ … is it safe to use it?

---

<div class="post-metadata">

**Author:** ![DavidMStraub](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/davidmstraub/32/7_2.png) [@DavidMStraub](https://gramps.discourse.group/u/DavidMStraub)\
**Post date:** [July 3, 2023, 11:42am UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/19 "2023-07-03T11:42:38Z")

</div>

> [@rajan](#):
>
> _Gramps Web Sync is still under development_ … is it safe to use it?

Depends on your definition of safe. I use it on a daily basis for my real tree. But I would advise you to regularly (say, once a week or before/after major changes) export your database to XML as backup. This is actually independent of using the sync plugin or not, but simply because you are running a system that allows collaborative editing, but does not (yet) record the edit history.

---

<div class="post-metadata">

**Author:** ![rajan](https://yyz2.discourse-cdn.com/free1/user_avatar/gramps.discourse.group/rajan/32/5420_2.png) [@rajan](https://gramps.discourse.group/u/rajan)\
**Post date:** [July 3, 2023, 5:22pm UTC](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719/21 "2023-07-03T17:22:23Z")

</div>

I guess you mean exporting Gramps XML (family tree) … not Gramps XML Package (family tree and media)

[Next page](https://gramps.discourse.group/t/new-user-registration-error-error-405/3719.md?page=2)
