Mo

At the moment it seems to become invalid (refuse to allow a form to be submitted) after about 10 mins

Mo

is it possible to extend how long a SecurityToken is valid for?

Mo

Hmm, I have to ensure the 0 is a string, otherwise something converts it to null...

Mo

Is a DB Field of type Varchar supposed to be set to null if you set it's value to "0"?

Mo

Oh god, SELinux 😕

🤣 (1)
Hels

is it only me that has it then?? because it was just there by default when I got the digital ocean so I assumed that everyone else must have it too!! But I found no help at all on how to get silverstripe to work with it - only 1 really old blog saying to just turn off selinux but didn't say how. I managed to figure it out by reading lots of different websites & a lot of trial & error

Hels

now that I have it figured out maybe I should ask @wmk to put a mini guide about it on the http://silverstripe.es website - anyone think that would be useful?

Hels

well, if it is only me that has selinux & silverstripe then its of no use to other people!

I don't know if the lack of guides online are because noone has selinux or because the people that do don't use silverstripe - like the chicken & the egg!!

Mo

(replace nginx/www-data with the relevent web server user)

Mo

although you could do a chown -R nginx/www-data /path/to/project

Mo

that might install a load of stuff with the wrong permissions

Mo

hmm, the only reason I could think of that would result in sonmething like that happening is if you upgraded using a user account that isn't in the nginx/www-data/apache group