Deployment import issue

40 views
Skip to first unread message

Neuronimbus testing

unread,
Feb 17, 2023, 2:25:58 AM2/17/23
to structr
Hi all, 

I have deployed structr using docker but when I try to import an app using zip file it gives me the following error. 

"Deployment via URL is not possible because DeployServlet is not running."

Please see the attachment for reference.
structr issue.png

Kai Schwaiger

unread,
Feb 17, 2023, 2:34:12 AM2/17/23
to str...@googlegroups.com
Hi,

by default the DeploymentServlet is not running.

You can activate it either in the configuration file or in the Config Servlet.

2. Login with the superuser password (with the default docker-compose.yml this would be "superuser")
3. Go to the tab "Servlets"
4. Click the "DeploymentServlet" in the first row (should now have a checkmark)
5. Click "Save to structr.conf" button in the bottom right corner
6. Go to the "Services" tab and click the "Restart" button in the row "HttpService.default"

Now the option in the dashboard should be available.

Hope that helps!

Best,
Kai



https://structr.com
Kai Schwaiger
kai.sc...@structr.com
Mobil
+49 151 / 419 811 76

Structr GmbH
Hanauer Landstraße 291
60314 Frankfurt am Main
Deutschland / Germany
Geschäftsführer: Axel Morgner
Sitz der Ges.: Frankfurt a. M.
HR: AG Frankfurt a. M. HRB 92262
Umsatzsteuer-ID: DE 279486092 




--
You received this message because you are subscribed to the Google Groups "structr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to structr+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/db3f79c6-f2ae-441f-a799-50165785661an%40googlegroups.com.
<structr issue.png>

Message has been deleted
Message has been deleted

Robin Ildefonso Ildefonso

unread,
Sep 8, 2024, 10:41:42 PM9/8/24
to structr
Hello, I have the same issue, I followed the instructions above but still encountering the error. Is there an alternative solution for this?

Screenshot 2024-09-09 at 10.40.39 AM.png

Screenshot 2024-09-09 at 10.41.15 AM.png

Kai Schwaiger

unread,
Sep 9, 2024, 4:31:43 AM9/9/24
to str...@googlegroups.com
Hi,

After activating “DeplyomentServlet” in the list, did you click “Save to structr.conf” and the restart the “HttpService.default”?
Alternatively you can restart structr completely.

Afterwards, the backend UI does not auto-refresh. Reloading the tab with the backend UI and switching to Dashboard->Deployment should
solve this.

Does that work for you? If not, are you also using a Docker installation? Currently I would not know how this could be, but this would help me
diagnose the problem.

Best,
Kai

On 9. Sep 2024, at 04:41, Robin Ildefonso Ildefonso <ildefonso...@gmail.com> wrote:

Hello, I have the same issue, I followed the instructions above but still encountering the error. Is there an alternative solution for this?

<Screenshot 2024-09-09 at 10.40.39 AM.png>

To view this discussion on the web, visit https://groups.google.com/d/msgid/structr/b1bcf329-37ba-4002-96d1-7f06ba2f96a5n%40googlegroups.com.
<Screenshot 2024-09-09 at 10.41.15 AM.png><Screenshot 2024-09-09 at 10.40.39 AM.png>

Robin Ildefonso Ildefonso

unread,
Sep 9, 2024, 9:00:48 PM9/9/24
to structr
Yes, I followed the instruction  “Save to structr.conf” and the restart the “HttpService.default”. I'm using docker installation. Still encountering the issue.

Thank you

Kai Schwaiger

unread,
Sep 10, 2024, 2:55:34 AM9/10/24
to str...@googlegroups.com
Ok, now I have recreated your setup and think I know what’s happening: The DeploymentServlet is part of the licensed version of structr. Did you put your trial license in the “structr” folder in your docker setup?

In the default setup from https://github.com/structr/docker-setup
the license file is being added as a volume via the docker-compose.yml line "- ./structr/license.key:/var/lib/structr/license.key"


But either way - this should not be displayed as “is not active” and rather either be invisible or made clear that this feature is part of a license.

Thanks for bringing this to our attention - I’ll create a ticket for this and we’ll update this behaviour ASAP.



Reply all
Reply to author
Forward
0 new messages