You have no items in your shopping cart.

Saturday, November 23, 2024 12:51:17 PM

Installation Issues

Posted: 4 years ago

#11217 Quote

mschoenholzer

Posted: 4 years ago

#11217 Quote
I have 2 servers with identical Nopcommerce setup.
Loadbalancing uses one and the other only in case the first one is down.
They share the same Database. I dropped the FeedManager Plugin on both Servers Plugin directory and installed an server1. Success.
On Server2 however every configuration page of FeedManager fails with the following erros in log:

The controller for path '/Admin/Feeds/List' was not found or does not implement IController.  
Resource string (admin.foxnetsoft.plugin.feed.manager.feed.list.enablescheduler) is not found. Language ID = 2

I tried uninstalling on server1 and installing on server2. Whatever i do it always only successfully works on server 1.
they share the same code and the same database and both have status installed on the plugin. any idea how to troubleshoot this?

Best regards
Martin

Posted: 4 years ago

#11218 Quote

Support

Posted: 4 years ago

#11218 Quote
What nopcommerce version do you use?

Posted: 4 years ago

#11219 Quote

mschoenholzer

Posted: 4 years ago

#11219 Quote
NopCommerce 3.9 and this Plugin version:

Group: Promotion feeds
FriendlyName: Feed Manager
SystemName: FoxNetSoft.Plugin.Feed.Manager
Version: 1.70
SupportedVersions: 3.90
Author: FoxNetSoft
DisplayOrder: 1
FileName: FoxNetSoft.Plugin.Feed.Manager.dll

Posted: 4 years ago

#11220 Quote

Support

Posted: 4 years ago

#11220 Quote
>I tried uninstalling on server1 and installing on server2.
Install plugin on one instance and change the file plugins.json in the second instance.

But I think you will not be able to configure two instances of nopcommerce withot issues.
I tried to do it for one my customer several years ago.
Each instance has own nopcommerce task manager and this task manager works on own instance.

Posted: 4 years ago

#11221 Quote

mschoenholzer

Posted: 4 years ago

#11221 Quote
Hi, thanks for your reply.

3.9 still uses InstalledPlugins.txt. I did copy that already to 2nd server after install on first. Otherwise plugin would not activate on that 2nd server.
It does and it throws said errors.

Multiple instances:
Why would it be a problem? Nop 3.7 added WebFarms.MultipleInstancesEnabled configuration to make sure scheduled tasks are ran only at one node at a time.
https://www.nopcommerce.com/en/nopcommerce-370-is-released

Best regards Martin

Posted: 4 years ago

#11222 Quote

Support

Posted: 4 years ago

#11222 Quote
>Otherwise plugin would not activate on that 2nd server.

Check if the second instance uses own cache.
The first and second instance have to use the same cache (ex. Redis).

Posted: 4 years ago

#11223 Quote

mschoenholzer

Posted: 4 years ago

#11223 Quote
I understand that is the case when both instances run in parallel.

However i can stop instance1 completly, restart instance2 and it still throws the mentioned errors.

Posted: 4 years ago

#11224 Quote

Support

Posted: 4 years ago

#11224 Quote
Nop 3.90 uses old ASP.NET Core


Open the file global.asax at second instance and add space to the end of the file. Save it.
IIS will recreate the >NET cache.

Posted: 4 years ago

#11225 Quote

mschoenholzer

Posted: 4 years ago

#11225 Quote
Thanks!

Posted: 4 years ago

#11226 Quote

Support

Posted: 4 years ago

#11226 Quote
Did you solve your issue?

Powered by nopCommerce

Copyright © 2023 FoxNetSoft. All rights reserved