question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Extensions/Features - Enabled features resetting on app recycle

See original GitHub issue

I’m submitting a … [x] bug report

…about [x] admin experience UI

Current behavior We have enabled Extensions/Features for Public Forms and Public File Uploads using the new licensing mechanism, but each time we recycle the app the enabled features become disabled. This is causing all customer forms to fail with an error similar to below in the logs and preventing the launch of a new customer site:

Message:can't save in ADAM - Features https://2sxc.org/r/f/79b9f5f8-d104-458b-8e8f-9f4a11c5935e not enabled - see also https://2sxc.org/help?tag=features

We originally thought this might be a result of using a dnndev.me domain for local development, but it also happens on our publicly accessible server.

Expected behavior The enabled Extensions/Features should persist beyond app recycles.

Instructions to Reproduce the Problem Register a new license, enable one or more Extensions/Feature (e.g. public forms/uploads), note they function as expected. Recycle the app pool and return to the Extensions/Features panel and note the enabled features are disabled again.

Additional information We noticed this behavior also in v13.06 but upgraded to see if it would resolve the issue. For whatever reason, these Core/Core+ features are reset after each app pool recycle.

  • 2sxc version(s): 13.12
  • Browser: All
  • DNN: 09.10.02
  • Language: All

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tvatavukcommented, May 26, 2022

@tvatavuk than you! The features.json file worked and the settings persisted after app restarts.

Should we change the fingerprint to match the server’s registration?

Thx. You are good. It is not required to update fingerprint in features.json. Btw in next v13 LTS, after change of configuration, fingerprint will be auto updated to correct one, so no need for You to do it manually at this moment.

1reaction
tvatavukcommented, May 26, 2022

I reproduced this issue in local 2sxc dev env. Until is fixed, there should be simple workaround. @tpperlman please can You test the following in your installation?

  1. download features.zip and unzip features.json.
  2. copy this features.json to your DesktopModules\ToSIC_SexyContent\.data-custom\configurations\ folder, so you will have 2 files there. image
  3. test
Read more comments on GitHub >

github_iconTop Results From Across the Web

Recycling Settings for an Application Pool <recycling>
Overview. The <recycling> element contains configuration settings that control the conditions that trigger IIS 7 to restart an application pool.
Read more >
Get extensions to customize Safari on iPhone
Swipe down on the Home Screen, then search for the extension you want to remove. · Touch and hold the extension icon, tap...
Read more >
Troubleshooting Common IIS Errors
To turn off the Known Extensions feature and allow IIS to serve files with any extension, add the *,application/octet-stream value to the list ......
Read more >
Get extensions to customize Safari on iPad
View and add Safari extensions. Go to Settings > Safari, then tap Extensions. Tap More Extensions to browse through extensions in the App...
Read more >
Enable auto-heal on your Azure App Services
Here's a quick tip on how to enable Azure App Service's built-in capabilities for healing your faulty app service instances.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found