Closed stevespaw closed 1 month ago
Can you paste the output of ls /app/data/storage/plugins/company/myplug
?
assets client main.js package-lock.json package.json public
Can you enable debug logs and paste more logs? I don't know what happens :thinking:
Thanks for the update - On closer inspection, I found that the plug-in folder name first letter was capitalized. Sorry, I am still getting used to the Linux sensibility for these things on a daily basis. The issue is closed for me now.. It installed fine after changing the folder name.
Describe the current behavior
This has worked perfectly until trying on a new clean 6.3.1 install, but now our plug-in will not install.. This is a big deal for us.
Steps to reproduce
3.This error in the log: error[10/1/2024, 11:00:03 AM] Cannot install plugin /app/data/storage/plugins/company/myplug, removing it... { "err": { "stack": "Error: ENOENT: no such file or directory, open '/app/data/storage/plugins/node_modules/peertube-theme-myplug/package.json'", "message": "ENOENT: no such file or directory, open '/app/data/storage/plugins/node_modules/peertube-theme-myplug/package.json'", "errno": -2, "code": "ENOENT", "syscall": "open", "path": "/app/data/storage/plugins/node_modules/peertube-theme-myplug/package.json" } }
Describe the expected behavior
The plug-in should install. It might be connected to the path string that is added somewhere.
Additional information
PeerTube instance: New Install - docker based
Browser name, version and platforms on which you could reproduce the bug:
Link to browser console log if relevant:
Link to server log if relevant (
journalctl
or/var/www/peertube/storage/logs/
):