Hi, we are having trouble implementing the email studio on an Umbraco 9 site wich is hosted on a linux server. My guess is that your paths to templates are not set correctly in your code. Im appending a screen shot of the errors from the backoffice on our server.
On our windows machines where we develop our solutions, everything works as expected.
Have got some questions about this before, while the templates might be a simple fix other parts are not that easy. We have no explicit support for linux hosting at the moment and there is no roadmap towards if and when that will be supported.
Problem is only in paths, we managed to solve this temporarily with folowing command in docker. It is not pretty but it works :) I hope it helps you fix this properly.
Yes, we are trying to run whole website using Docker Linux container, we have almost everything working, there is only newsletter studio left with problems. I've managed to run it by doing some workarounds in code, but the issues that left at this moment are:
1. Themes are not loading
2. Contact import does not work
Both of them probably have problems caused by case sensitive paths on Linux.
Hi, my colleague Bartosz and I are unfortunately in a tricky situation with one of our clients due to this issue. We did not realize the lack of Linux support and are now facing the decision of moving to Windows servers (with a substantial increase in hosting costs) or moving away from Newsletter Studio for another alternative.
We are currently looking into workarounds for the issues we have encountered, but this is not a reliable and sustainable solution. We understand that Linux support might not be a priority at the moment, but an ETA of official Linux support would be much appreciated to help with this decision.
I understand the situation, it would be far from optimal to have to run on Windows just because of this package.
Are you trying the workaround that Marko Tukić posted in the thread? They might work differently depending on Umbraco-versions as many of the package-files has been moved into Razor Class Libraries in later versions with means that the "copy"-hack would not work.
What version of Umbraco are you running on?
Did you already buy a license for the package?
We do offer paid support and feature work, if you would like to discuss this please reach out to me at info [at sign here] newsletterstudio.org.
We already tried Marko Tukić workaround, but it was not working in our case. Instead of this we catched all requests and modified paths related to Newsletter Studio files to fit them to real paths on server.
We are using Umbraco 12.1.1.
We do not have license yest, the purchase process is suspended until we fix all blocking issues on linux server.
Template file paths not working on a linux server
Hi, we are having trouble implementing the email studio on an Umbraco 9 site wich is hosted on a linux server. My guess is that your paths to templates are not set correctly in your code. Im appending a screen shot of the errors from the backoffice on our server.
On our windows machines where we develop our solutions, everything works as expected.
Hi!
Have got some questions about this before, while the templates might be a simple fix other parts are not that easy. We have no explicit support for linux hosting at the moment and there is no roadmap towards if and when that will be supported.
All the best!
Problem is only in paths, we managed to solve this temporarily with folowing command in docker. It is not pretty but it works :) I hope it helps you fix this properly.
Hi!
Thanks for sharing a workaround!
I've created a backlog ticket for this but at the moment the linux support is not the highest priority.
Thanks for understanding.
Cheers!
Hi Markus! Is there any news about linux support?
All the best!
Hi!
We have performed some work and tests but the ticket is still not high in priority. It’s to few that asks for it at the moment to make it prio 1.
A vast majority of Umbraco projects still run on Windows-machines so it’s hard to justify the amount of work at this point.
Sorry about this. Is it a requirement for you to run on Linux? What are you looking to use the package for?
/ m
Yes, we are trying to run whole website using Docker Linux container, we have almost everything working, there is only newsletter studio left with problems. I've managed to run it by doing some workarounds in code, but the issues that left at this moment are: 1. Themes are not loading 2. Contact import does not work
Both of them probably have problems caused by case sensitive paths on Linux.
//Bartosz
Hi, my colleague Bartosz and I are unfortunately in a tricky situation with one of our clients due to this issue. We did not realize the lack of Linux support and are now facing the decision of moving to Windows servers (with a substantial increase in hosting costs) or moving away from Newsletter Studio for another alternative.
We are currently looking into workarounds for the issues we have encountered, but this is not a reliable and sustainable solution. We understand that Linux support might not be a priority at the moment, but an ETA of official Linux support would be much appreciated to help with this decision.
Best regards, Hannes
Hi!
I understand the situation, it would be far from optimal to have to run on Windows just because of this package.
Are you trying the workaround that Marko Tukić posted in the thread? They might work differently depending on Umbraco-versions as many of the package-files has been moved into Razor Class Libraries in later versions with means that the "copy"-hack would not work.
What version of Umbraco are you running on?
Did you already buy a license for the package?
We do offer paid support and feature work, if you would like to discuss this please reach out to me at info [at sign here] newsletterstudio.org.
// Markus
We already tried Marko Tukić workaround, but it was not working in our case. Instead of this we catched all requests and modified paths related to Newsletter Studio files to fit them to real paths on server.
We are using Umbraco 12.1.1.
We do not have license yest, the purchase process is suspended until we fix all blocking issues on linux server.
Bartosz
Hi!
Thanks for letting me know!
Since you are on v12 the package is shipped as a Razor Class Library which means that there are no files on disk that can be copied like this.
It also "makes sense" that features that work with paths on disk (themes, import, etc) might suffer from the same problems.
I got your PM about your individual case so let's talk more over email.
Hi!
Newsletter Studio 12.1.0 now have official support for linux, read more about this here:
https://www.newsletterstudio.org/blog/running-on-linux-and-mac/
https://www.newsletterstudio.org/documentation/package/12.1.0/other/linux-and-mac/
Thank you to everyone who has been contributing valuable information in the thread and please feel free to reach out if you have any questions.
// m
is working on a reply...