-
Notifications
You must be signed in to change notification settings - Fork 971
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upload Problem: "Permission denied to receive a file" #9132
Comments
check if the user can upload videos https://github.com/WWBN/AVideo/wiki/About-Video-Upload#who-can-upload |
yes, the user and admin have the permissions to Upload. |
please provide more from your log when you try to upload. |
from browser developer console:
==================== from avideo-streamer:
|
First lets focus on resolve the "Fatal error" from your logs I can see you have an outdated version. first update your AVideo https://github.com/WWBN/AVideo/wiki/How-to-Update-your-AVideo-Platform |
Why is File permissions changing? THis is not the first case |
i updated the version.
|
check if the user har rights to upload files https://github.com/WWBN/AVideo/wiki/About-Video-Upload#who-can-upload |
Did this get resolved because I get exactly the same error. Direct upload works, embed works but encoder and api upload video mobile manager doesnt work. Error i get is Permission denied to receive a file: |
@millzee01 check your logs, encoder and streamer logs |
i get MOBILE SUCCESS UPLOAD: {"error":false,"videos_id":292,"msg":"We sent your video to the encoder","posterSent":false} and the file comes into the video folder fine. then i get: getPasswordFromUserHashIfTheItIsValid: string not decrypted _user_hash_NndScnFFbEhUZUp1Yll5blNTakNxL09Ocn SCRIPT_NAME: /objects/aVideoEncoderLog.json.php strange, seems to suggest it cant log me in yet I am logged in fine. |
looks like those credential are no fine "carl.miller@site.com","pass":"_user_hash_NndScnFFbEhUZUp1Yll5blNTakNxL09Ocn" Something is missing here _user_hash_NndScnFFbEhUZUp1Yll5blNTakNxL09Ocn where did you get it from? |
not sure, this account was setup when the server was at version 12 i think |
I use this: so I dont understand where _user_hash_NndScnFFbEhUZUp1Yll5blNTakNxL09Ocn comes from |
user account uploading file has canUpload set to 1 on the users table in the DB. |
The 56_tmpFile.mp4 appears on the encoder/video folder as well i have just done a test encoder upload with a 4mb webm file. It gets copied over but goes no further with Very strange |
@DanielnetoDotCom [16-Aug-2024 00:56:13 America/Toronto] AVideoLog::DEBUG: [CARL]USER.PHP function canNotUploadReason reason=Array whats more concerning is that I manually logged in as the admin and tried to upload with the encoder and got this: and the same reason: so even admin cannot upload using the encoder yet direct upload works a charm and embed video works a charm. Another thing in the log is that it says the password hash isnt right: This was a manual login as admin. I found that if change getUserPass() in USER.PHP to return $_SESSION['user']['password']; instead of passhash then everything works fine. I suspect there is an issue with either encoding or decoding the password. |
Describe the bug
Uploading a video over the encoder results on queue with error:
"Status: Error", hovering the info button shows no more content.
Error Logs
Tested with admin user who have upload permissions also with the settings:
"authenticated users can upload videos = yes"
The text was updated successfully, but these errors were encountered: