Postupdate scripts?
-
Good question, I did assume it would run those automatically. We have no special code for this in the package itself. On Cloudron peertube runs with
environment=HOME="/home/cloudron",USER="cloudron"so to run the specific npm commands use in the webterminal:gosu cloudron:cloudron npm run regenerate-thumbnails gosu cloudron:cloudron npm run prune-storage -
I did assume that on app startup peertube runs those scripts if needed. You can run them again and again afterwards to ensure they ran though to be safe:
gosu cloudron:cloudron node dist/scripts/migrations/peertube-8.1.jsThose probably should be added to the package next time such a script is added, so good you brought that up. I must be blind, but where did you see that initial "IMPORTANT NOTES" warning, clearly that is something we should have seen.
-
OK, we are back - good thumbnails! (except shared channels from other sites that have not updated yet)
gosu cloudron:cloudron node dist/scripts/migrations/peertube-8.1.jsgosu cloudron:cloudron npm run regenerate-thumbnailsgosu cloudron:cloudron npm run prune-storageThanks for the help!
Now to update all of our sites
-
OK, we are back - good thumbnails! (except shared channels from other sites that have not updated yet)
gosu cloudron:cloudron node dist/scripts/migrations/peertube-8.1.jsgosu cloudron:cloudron npm run regenerate-thumbnailsgosu cloudron:cloudron npm run prune-storageThanks for the help!
Now to update all of our sites
@stevespaw thanks for sharing!
-
Just to be clear: In the current version, video thumbnails are not created automatically after an upload, other than before.
gosu cloudron:cloudron npm run regenerate-thumbnailsneeds to be run manually. Is this still an error in the Cloudron package or the App itself?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
