By default, nopcommerce works on Linux. But there is a problem with my developed Plugin which does not work on clients install Its a fresh install of v4.4.40 Looks like override functions do not work ? Restarted / Stoped start webserver nothing fixes the problem
Is there a special build required for plugins to run on Linux ?
If I look at the download page then there is a seperate install file for Linux
nopCommerce_4.50.2_NoSource_win_x64.zip (for Windows x64) - Download this package if you want to quickly deploy your site to a web server. No developer skills are required.
nopCommerce_4.50.2_NoSource_linux_x64.zip (for Linux) - Download this package if you want to quickly deploy your site to a web server. No developer skills are required.
Does anyone know what to do which is different for this build ? Is anyone building from source to run on Linux ?
Hi. For plugins, there is no difference on what operating system they work on, if you have specified anycpu for PlatformTarget project setting. If, for some reason, you chose a different type, then compatibility problems are possible on not suitable hardware. But in that case, most likely the site would not start at all.
Theoretically the only reason this can happen is if your plugin overrides some of the functionality overridden by another plugin. In version 4.40 you can check this in /Admin/Common/Warnings page
Yidna wrote:
By default, nopcommerce works on Linux. But there is a problem with my developed Plugin which does not work on clients install Its a fresh install of v4.4.40 Looks like override functions do not work ? Restarted / Stoped start webserver nothing fixes the problem
Is there a special build required for plugins to run on Linux ?
Although the nopCommerce code, like the .Net code itself, is cross-platform, it cannot run regardless of the operating system. Therefore, when preparing assemblies for deployment, we prepare two separate archives aimed at working on a particular system (details can be found in this article)
These differences concern only the Nop.Web project and the .Net runtime libraries. all other projects including plugins remain platform independent
Yidna wrote:
If I look at the download page then there is a seperate install file for Linux
nopCommerce_4.50.2_NoSource_win_x64.zip (for Windows x64) - Download this package if you want to quickly deploy your site to a web server. No developer skills are required.
nopCommerce_4.50.2_NoSource_linux_x64.zip (for Linux) - Download this package if you want to quickly deploy your site to a web server. No developer skills are required.
Does anyone know what to do which is different for this build ? Is anyone building from source to run on Linux ?
I have had a second client confirm the behaviour Two different operating systems - same version of .Net
Overrides can be troublesome generally getting them to load. It usually takes a restart of IIS and/or restart of the AppPool to load a plugin that has override functions. I guess with Unix they just do not load at all ?
Is there some setting for the Plugin Project that could be used to target Unix ?
Could you send me your plugin by PM, I'll try check it too
Yidna wrote:
I have had a second client confirm the behaviour Two different operating systems - same version of .Net
Overrides can be troublesome generally getting them to load. It usually takes a restart of IIS and/or restart of the AppPool to load a plugin that has override functions. I guess with Unix they just do not load at all ?
Is there some setting for the Plugin Project that could be used to target Unix ?
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.