-
Notifications
You must be signed in to change notification settings - Fork 75
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
Unable to upload files #616
Comments
I had the same thing happen. For me, permissions on /data/disk/o1/.tmp changed. I believe they should be 775 o1:www-data, but not on a computer to verify. |
I had the same issue with the same fix. |
Awesome thanks that works, but what caused this change and will it happen again? |
From what I can see, it should only be a one time issue once See the differences between https://github.com/omega8cc/boa/blob/BOA-2.3.8/aegir/tools/system/manage_ltd_users.sh#L934 (2.3.8) and https://github.com/omega8cc/boa/blob/master/aegir/tools/system/manage_ltd_users.sh#L1388 (master) |
Ops.. sorry about that. |
Hi, I had the same problem and the suggested correction fixed it. Unfortunately I have been trying to debug for 3-4 hours, googling endlessly with no luck. I should have looked in this issue queue earlier. |
This is reoccurring for me. I'm guessing that the ctrl file gets removed as part of the daily temp purge, which forces a rebuild of the folder permissions. These are my edits to /var/xdrago/manage_ltd_users.sh lines 1390 and 1391:
|
You should probably set |
Same here. Upgrade 2.3.8 -> 2.4.0 do break [image] uploads on BOA servers. And as Drupal file_save_upload() does not explain in all cases why upload failed, this is slightly tricky to figure out ;) |
Just to confirm, for pre-2.4.0 installs with this issue:
|
Had this same issue |
Hi. This issue occured to me again tonight by itself. I see that a new file /data/disk/o1/.tmp/.ctrl.242stableU.txt appeared a few minutes ago and the permissions of the directory changed |
The |
Again, the upgrade from 2.3.8 to 2.4.x doesn't break the upload. Unless you will upgrade only barracuda and forget about octopus upgrade. |
Today around noon central time we started receiving the below error when trying to upload files (images, text, etc.) on any one of our 3 BOA servers (2 production and 1 dev) running BOA 2.3.8. We have ruled out any updates, modules or platforms, nothing was done to all 3 servers at the same time today. This error is also shown in popup windows when the upload fails.
"PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0"
The text was updated successfully, but these errors were encountered: