-
lvlinuxbtracht1210: sounds like there are more issues on the web server---is it apache or nginx or what? If you can look at the logs for it you may find a clue.
-
btracht1210lvlinux: i do have access to logs on the original destination web server
-
btracht1210the web server logs show the PUT attempt, no error. But kazoo server log shows 405 error The requested method PUT is not allowed for the URL
-
btracht1210*** apache 2.4.6
-
btracht1210The other web server which does not return any errors to kazoo, yet does not write the file, I do not have access to log files
-
lvlinuxbtracht1210: Are you able to manually PUT a file on the remote server using curl with the same credentials/path/settings and such that you provided to Kazoo?
-
btracht1210returns the same 405 method not allowed
-
BadRequestbtracht1210: just in case, lvlinux meant for you to try to upload a file to the storage server directly, not through Kazoo. If you are doing it and still getting the 405, it means the storage server is either not properly handling the request or it actually does not expect files to be uploaded using PUT method.
-
btracht1210BadRequest: I am using postman to upload to web servers for testing
-
btracht1210i was using https with URL and getting the 405. using http i get no error (in postman) but no success either and no file written on server
-
lvlinuxbtracht1210: OK, so Kazoo is not the problem here then.
-
btracht1210apparently not. sorry about that
-
lvlinuxI suspect you have two issues going on: 1. the dest web server has a different HTTPS config than for HTTP, and 2. it isn't receiving the file.
-
lvlinuxSo the first thing I'd do is work on number 2, to get it to actually write the file.
-
lvlinuxDo you have mod_dav installed?
-
lvlinuxI don't use Apache (primarily I use Nginx) so I'm not expert on it, but this guide tells you how to setup a WebDAV server with Apache (which is what's needed to allow PUT of files with straight apache): filestash.app/2022/03/04/apache-webdav
-
lvlinuxAfter you have it accepting the files over HTTP (with Postman) then work on your SSL vhost and get it working for it. Then Kazoo uploading files to it should work fine. :)
-
btracht1210mod_dav is loaded
-
btracht1210i'll check the article. thanks