[nodebb-plugin-link-preview] Rich Embeds and Link Previews
-
nhl.pl@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
What kind of hosting? Some container based and one click installs do not support updating plugins from dashboard. Please try to do the same thing from command line.
-
paweł@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
I have VPS, and other plugins works fine, I have only problem with this. Save button dosen't work in plugin settigns.
/admin/plugins/link-preview
When I click "Save changes"/"Zapisz zmiany" - nothing happen, and after refresh page changes on checkboxes are gone.
-
julian@community.nodebb.organtwortete an paweł@community.nodebb.org zuletzt editiert von
@Paweł hello again, when you run
./nodebb build
, do you see any errors? -
paweł@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
Hello! I have one error, and the build is successfully
2024-12-02T14:00:40.772Z [4567/43946] - info: [build] admin control panel styles build completed in 5.442sec 2024-12-02T14:00:40.773Z [4567/43946] - info: [build] templates build started 2024-12-02T14:00:42.294Z [4567/43946] - info: [build] templates build completed in 1.521sec 2024-12-02T14:00:42.296Z [4567/43946] - info: [build] languages build started 2024-12-02T14:00:47.214Z [4567/43946] - info: [build] languages build completed in 4.918sec 2024-12-02T14:00:47.216Z [4567/43946] - info: [build] Bundling with Webpack. 315 assets 788 modules ERROR in ./build/public/scripts-client.js 1960:5 Module parse failed: Unexpected token (1960:5) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders | }); | > ;CC0 1.0 Universal | | Statement of Purpose webpack 5.94.0 compiled with 1 error in 19554 ms 2024-12-02T14:01:07.713Z [4567/43946] - info: [build] Asset compilation successful. Completed in 41.304sec.
-
baris@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
@Paweł check your plugins, looks like one of them is included a non-js file in the scripts block of its plugin.json
-
paweł@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
@baris How should I find it in the admin panel or in the source code on the server?
Edit:
Ok I found the problem!grep -r ";cc0 1.0 universal"
- there was problem with depreacted pluginnodebb-plugin-html5videoplayer
- I removed this and know everythong works fine!Thanks a lot for your quick help! This is my first time using NodeBB.
-
baris@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
@Paweł no problem, yeah you can grep for stuff in the node_modules directory to find the culprit. Or you can disable plugins one by one.
./nodebb plugins
command shows active plugins. -
sketchucation@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
If I try to update I get this...
But my nodebb is running the latest.
Any tips?
-
sketchucation@community.nodebb.organtwortete an julian@community.nodebb.org zuletzt editiert von
Ok, so after a clean manual install we can't get this plugin to work...
Now it is telling us that the previous v1.... is the latest?
-
julian@community.nodebb.organtwortete an sketchucation@community.nodebb.org zuletzt editiert von
@sketchucation you should be able to install the latest version from the command line
-
@julian we did that
we are running latest NodeBB version and latest Preview plugin
It does not display previews for us unfortunately.
If we disabled the plugin it will not leave the active list and it then displays as latest
Is there paid support available?
-
julian@community.nodebb.organtwortete an sketchucation@community.nodebb.org zuletzt editiert von
@sketchucation support is available with our hosting plans. Community installs would be supported through this forum
Perhaps there is an issue with the package manager. I will have to look into it.
-
@sketchucation if you've installed v2.0.13, then that is the latest version. Make sure that you run
./nodebb build
after activating it.Are you able to access the settings page for that plugin?
-
@sketchucation okay, so nbbpm reports this:
The plugin author suggests that you install v1.3.3 for your copy of NodeBB v3.12.1
This is correct. For your version of NodeBB, you are supposed to install v1.3.3. The 2.x branch of link-preview is meant for NodeBB v4.
-
@julian said in [nodebb-plugin-link-preview] Rich Embeds and Link Previews:
Community installs would be supported through this forum
If paid self-hosted support does become an option I'd be happy to avail of it
@julian said in [nodebb-plugin-link-preview] Rich Embeds and Link Previews:
if you've installed v2.0.13, then that is the latest version. Make sure that you run ./nodebb build after activating it.
We had v1, updated to v2 and then this issue appeared when we deactivated
We then uninstalled and did a clean v2 install and we ended up with other issues
So we could have something fundamentally amiss in our nodeBB install. I don't know?
But with Preview completely off it works fine. But rich embeds would be a priority for us to get sorted.
-
julian@community.nodebb.organtwortete an sketchucation@community.nodebb.org zuletzt editiert von
@sketchucation you should install v1.3.3 of the plugin. We can debug further as to why the plugin is not working after that version is installed.