Jump to content

Mich

Members
  • Posts

    40
  • Joined

  • Last visited

  • Days Won

    7

Everything posted by Mich

  1. Currently, I'm using Cloudflare R2 quite extensively. There was a mention on the forum that streaming shouldn't be done on R2 as it's better suited for Cloudflare Stream. However, other users on the Cloudflare forum seem to suggest that streaming is not an issue and that you'll simply be charged the standard egress fees. In my opinion, for long-term use, the best approach might be to set up your own S3-compatible storage using something like MinIO. This does require some technical know-how and would probably be more justified for significant needs that warrant the investment in time and resources.
  2. I need to check this; I know the demo uses NGINX (you see it in the header), but it must be that NGINX is only used as a reverse proxy while Apache2 is also in use.
  3. Hello, Since S3 is a standard, I've never used Contabo's Object Storage. However, I wouldn't recommend it for CDN use. There are too many limitations for it to be advisable for that purpose. It's more suitable for backup use. Why do I say this? Please see the documentation here: Contabo Object Storage Limits. Bandwidth is limited and regularly adjusted. The default limit is 10 MByte/s (=80 Mbit/s). Please be aware that the actual bandwidth depends on various circumstances, e.g. personal internet connection speed. Number of S3 API requests are by default limited to 250 requests / second.
  4. This reminds me of a similar issue I've noticed and added to my list, but have not yet reported or published a fix on the forum. Please visit the following URL: https://www.kvs-demo.com/video/207/iron-maiden-the-final-frontier/ If you remove the slash at the end, it automatically adds it back. Now, try this on a KVS site other than the demo. If we remove the slash, it either leads to a 404 not found page or show homepage. I haven't investigated why yet, but I have tried it on a clean version of 6.2.1, and it still happens. Upon further investigation of the NGINX conf, I found some issues related to another problem. I will contact you directly about this :) In the meantime, I'm curious about your thoughts on the slash issue mentioned in this post.
  5. Hi, I strongly recommend setting up customized settings for Kernel Video Sharing sites using Cloudflare. While the default settings might work, they are not optimized for the best performance and security. Recently, improvements in IPV6 handling mean it is no longer necessary to disable it to avoid logging issues in the KVS admin panel. I am considering creating a tutorial covering all the necessary configurations, particularly concerning security, which requires careful attention, and performance, which usually involves simply checking the right boxes. However, I advise against using Rocket Loader as it can cause serious issues with JavaScript. If you opt for a simplistic approach and don't configure any specific settings, make sure your web server is configured to return the real IP address of the user. Failure to do this can lead to significant problems. You might find these guides helpful for configuring your server and whitelisting necessary IP addresses: Restoring Original Visitor IPs on Cloudflare: https://developers.cloudflare.com/support/troubleshooting/restoring-visitor-ips/restoring-original-visitor-ips/ Cloudflare IP Addresses: https://developers.cloudflare.com/fundamentals/concepts/cloudflare-ip-addresses/ KVS could potentially develop a plugin to automatically and quickly configure settings via the Cloudflare API for your zone, but it does not seem to be a priority for them at this time.
  6. Hello, I've responded to your query privately, but here's a brief overview for clarity. Unfortunately, I haven't had the chance to test S3 with KVS, and generally, I find S3 more expensive than the solutions I've developed. You might want to look into MinIO if you have the time and expertise. It could potentially offer a scalable alternative. Please keep me updated if you achieve significant results with it. Regarding video conversion, handling 100 to 1000 videos daily depends heavily on various factors such as video quality and your ffmpeg settings. Personally, I optimize for smaller file sizes without significantly sacrificing quality, which uses more CPU and takes more time. An opinion based on my experience where bandwidth costs outweigh processing time costs. While KVS is an application-level CMS and not a server solution, it would benefit from application-level load balancing features, such as setting request or bandwidth limits per server. This would add diversity and simplify management without too much complexity. As for server specs, KVS can run on almost any CPU as it is quite efficient. The major demand for resources usually stems from your custom plugins or poorly optimized themes. Even a basic server can handle significant traffic if you employ strict security rules and minimize resource-intensive admin panel activities. For example, during a very brief transitional phase when I had the worst possible server setup (0.5GHz 1vcore OpenVZ HDD mass storage with 1GB RAM, no swap capability), image generation was slow, yet the site still supported 40,000 monthly users. This was feasible due to KVS’s effective caching capabilities. There’s considerable debate regarding the use of SSD/NVME storage. From my perspective, such storage is vital not just for essential tasks but for overall performance enhancement, especially when you consider that media files, such as screenshots, will be stored in the same location as the CMS and can consume significant space with many videos. For session management, a strategic approach involves creating a RAM disk for PHP sessions and configuring PHP-FPM so that this RAM disk writes to the disk partition, ensuring no data loss during reboots. Regarding MYSQL/MariaDB, I've not needed to scale this myself. KVS still defaults to using MYISAM, which is faster but has significant drawbacks. If MYSQL becomes a bottleneck, you could revert to using an older version of Sphinx (the version supported by KVS, not the newer paid version), which requires manual setup but is effective for large-scale sites. I'm also working on a Docker project to set up a conversion server quickly, using the processing power of a robust CPU VPS. This project isn't complete or public yet, but you can follow its progress here. This setup allows for rapid deployment and integration with KVS to maximize performance efficiently. I hope this helps, and feel free to check back for updates on the conversion server project.
  7. I have a question and am unsure about something. Maybe you can help. Do we need to edit only include_footer_general.tpl, or are there other files to be modified, such as in the blocks? I have yet to update and check the new code responsible for reCAPTCHA. You have typo in post reCAPCTHA ==> reCAPTCHA
  8. Thank you for your message, I'm glad you found the script useful! It will also be updated soon with new features :)
  9. 6) Google reCAPTCHA plugin was renamed to "Captcha" and now also supports Cloudflare Turnstile captcha. Please note that activating Turnstile will require theme changes, we will highlight the needed changes in a forum post. Great news, glad to see this feature implemented! Where can we find the modifications needed for theme support for Turnstile?
  10. This is just my plan: https://github.com/users/MaximeMichaud/projects/2. I will fix the 404 error. Thank you.
  11. You can use my script, however, I do not recommend deploying KVS without prior experience in Linux administration, at least a solid foundation to understand a bit of the workings behind it. Also, my script does not handle the DNS part which you have to configure yourself. A & AAAA zones (if present). https://github.com/MaximeMichaud/KVS-install
  12. You have probably found the solution. Generally, a 502 Bad Gateway error with nginx in the context of KVS would likely mean that nginx is unable to access php-fpm. This could be temporary if the server lacks PHP workers or permanent if php-fpm is misconfigured in the web server configuration.
  13. You can use mine with Debian 12 : https://github.com/MaximeMichaud/KVS-install
  14. Great work ! [LOW] User login logs will now keep the full version of IPv6 addresses, previously they only kept the last part of them. Finally :) 21) Player GUI in admin panel will now allow changing playback speed. Thanks ! - [MEDIUM] Some feedback (typically spam) could not be sent, they resulted into errors displayed to users. This was good from one side, but could result in missing something important (since 6.1.0). This solve this ? : [SQL-1064]: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ERROR: INSERT INTO ktvs_feedbacks SET user_id='0', subject='', status_id='1',...' at line 1
  15. So, why not support 1440p (2K)? It should be included in the next update if there aren't any issues with it :)
  16. I haven't looked at the source code and have no idea if there are things that need to be modified, probably...? Then again, I think the update was requested so that the plugin remains relevant and doesn't fall into obscurity. (On WordPress.org)
  17. Nice, a new theme, this is a question I've always had. Do you offer updates for your themes?
  18. Hello, The link you've copied and pasted is a local link from a Chrome extension. I believe this is an error, as there's no reason for it to be shared. I would recommend addressing this issue swiftly, hoping it's a false positive and not a breach of your website. If possible, can you seek additional information from Exoclick or find a way to better understand the issue with Avast? If it turns out to be a false positive, you can request its removal at the following URL: https://www.avast.com/false-positive-file-form.php
  19. Hi, I'll do my best to answer your question. To configure VAST, you need an annual subscription with KVS services. Available here: https://www.kernel-video-sharing.com/en/services/ "VAST Subscription" At $120 for 12 months, it might seem steep, but depending on your site's traffic, it could pay for itself in less than a month, and even more so thereafter. In my opinion, it's well worth the investment. There might be other ways to set up a VAST without this option, but in my view, this is the easiest method and should be considered. You simply create a zone on your provider that supports VAST, then copy and paste the URL into the settings of your player wherever you want it activated (depending on user type, before/after the video, etc.) Hoping this answers :)
  20. For a shortcut, you can use my script :p. Of course, there's no substitute for learning how to do things yourself. However, I've specialized in IT, both academically and personally. I've been involved in system administration since my early teens, and there's always more to learn. Naturally, it all depends on your starting level and how much time you're willing to invest. I have a well-rounded skill set for running a website, but sometimes I wish I was more proficient in other areas like marketing. In summary, if you're genuinely interested in setting everything up by yourself (which I recommend), you should check out my script and NGINX configurations to ensure a secure environment for KVS. Otherwise, consider hiring someone specialized in devops who can set it all up for you. However, do note, depending on the nature of your video site, if it contains adult content, I wouldn't recommend hosting providers that have restrictions on such content. Always factor that into your infrastructure planning and organize accordingly. For instance, Cloudflare is essential. It serves as a reverse-proxy CDN and will protect the exposed part of your site. However, you might need more than just that. :)
  21. I hope you took the time to whitelist your IP address with "allow", otherwise it's normal that you're getting this message. You should post your configuration, in case other people have the same issue.
  22. Your service seems really interesting. You should provide more information. Like how is your service set up on KVS? And do we have access to ffmpeg options? I find that very important :) Also, I've never really been fond of doing encoding with GPU. At least, for H.264 of course. 2k is absolutely way too much. I'm not familiar with your infrastructure, but you should consider splitting it into 1 gbps x4, if you meant it was 4gbps on a single host, for example. And I assume the storage is SSD.
  23. Hello, I recommend @adult-html.com, they know how to handle it! Good luck.
  24. Hmmm, I have: rewrite ^/sitemap/$ /sitemap.php last; rewrite ^/sitemap\.xml$ /sitemap.php last; Which are exactly the same, but I don't get any 404 for /sitemap/?type=videos&from_links_videos=1 Your problem might be elsewhere.
×
×
  • Create New...