Error when using "Create from template" option
Asked by brunoaalmeidabresimar:

When i click on "create from template", a dialog is shown with the loading animation, but nothing else happens. See screenshot:

![Sem T?tulo.png](/t5/image/serverpage/image-id/71969iE5A74180C9A7D4D7/image-size/large?v=v2&px=999 "Sem T?tulo.png")

When i check Chrome network, i see two GET requests with error code 500. The answer of both requests is: {"errorCode":500,"errorType":"UNKNOWN"}

The requests URL are:

* http://myserver:8090/rest/create-dialog/1.0/blueprints/web-items?spaceKey=P18312\&_=1573138299820
* http://myserver:8090/rest/create-dialog/1.0/blueprints/web-items?spaceKey=P18312\&_=1573138299822

I am using Confluence version 7.0.1.

I check the log file "atlassian-confluence.log" and i don't see any information related with my request. I was expecting to see my request timestamp and an exception, but could not find. I only see a warning from 5 to 5 minutes. After a search i saw that was not related with my problem, but related with this: <https://jira.atlassian.com/browse/CONFSERVER-55875>

Does anyone have an ideia?

Thanks in advance,

Bruno Almeida


Answers:
author: Shannon S
body: Hello Bruno,

Thank you for contacting us about this. I just have a few questions for you that can help us to solve the issue.

1. Can you tell me if you encounter this issue for any Create from Template macro, no matter which template it's using?
2. Do you encounter the same issue when attempting to create a page with that template, rather than using the macro?
3. Does this occur in certain spaces, or any space? Are other users able to replicate the same issue?

I would also recommend reviewing the steps at [Unable to Create Pages or Spaces (The Popup Loads Forever) After Confluence Upgrade to 5.x or 6.x](https://confluence.atlassian.com/confkb/unable-to-create-pages-or-spaces-the-popup-loads-forever-after-confluence-upgrade-to-5-x-or-6-x-330793034.html), as these can help you to troubleshoot your issue.

Regards,

Shannon

comments: author: brunoaalmeidabresimar
body: Hello Shannon,

Thank you for the answer.

This solve the problem:

### Cause 2: {#toc-hId-1112235469}

The **confluence.server.installation.date** Bandana entry is null.

My server is in windows. When I execute "Start Confluence", the console does not hide. In logfiles i see these errors: <https://pastebin.com/muyK8eCQ> (i could not paste here, because there are some errors when i try submit)

Recently we have migrated Confluence server. After that we had problem. Is there a change that something went wrong with the data importation?


author: Shannon S
body: Hello,

Thank you for confirming you were able to solve the issue.

Confluence reads the operating system's timezone as default, and the installation date is null because [WST Timezone is dropped in JRE](https://www.oracle.com/technetwork/java/javase/tzdata-versions-138805.html). Confluence needs the correct timezone in order to create pages.

We have the feature request below, which is to add additional logging and a health check for a null installation date.

* [CONFSERVER-54973](https://jira.atlassian.com/browse/CONFSERVER-54973) *Add a logging in the atlassian-confluence.log if there is an issue creating Pages/Spaces due to NULL installation date*

In order to set the JAVA timezone instead of using the OS timezone, see [How to set the timezone for the Java environment](https://confluence.atlassian.com/kb/how-to-set-the-timezone-for-the-java-environment-841187402.html).

I hope that helps but let me know if you have any questions!

Regards,

Shannon


Tags: confluence-server

server

template