# |
Mar 11th 2018, 04:37 |
ricksaccous |
i'm going to look into your solution but first going to fix up some stuff, like the permissions mess and such, haha, kind of want to soft launch this site soon, as in a couple days |
# |
Mar 11th 2018, 04:31 |
ricksaccous |
ok |
# |
Mar 11th 2018, 04:31 |
savant |
yes |
# |
Mar 11th 2018, 04:31 |
ricksaccous |
should i just make all files owned by the group user? |
# |
Mar 11th 2018, 04:30 |
ricksaccous |
yeah |
# |
Mar 11th 2018, 04:30 |
savant |
maybe some file is owned by root or something. |
# |
Mar 11th 2018, 04:30 |
savant |
in any case, that sounds like a specific file is not writeable by the current user |
# |
Mar 11th 2018, 04:30 |
savant |
it handles the application deployment bits and will get you away from needing to worry about these permissions issues :slightly_smiling_face: |
# |
Mar 11th 2018, 04:29 |
savant |
because if you can, this is what the CakePHP organization uses: http://dokku.viewdocs.io/dokku/ |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
I'm using aws hosting |
# |
Mar 11th 2018, 04:29 |
savant |
are you allowed to setup a new one? |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
amazon |
# |
Mar 11th 2018, 04:29 |
savant |
is this your own server? |
# |
Mar 11th 2018, 04:29 |
savant |
thats going to bite you in the ass |
# |
Mar 11th 2018, 04:29 |
savant |
woof |
# |
Mar 11th 2018, 04:29 |
ricksaccous |
i'm git pulling in "production" heh |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
error: unable to unlink old |
# |
Mar 11th 2018, 04:28 |
savant |
wait how are you deploying this code? |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
to over-write the file |
# |
Mar 11th 2018, 04:28 |
savant |
what permission is denied |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
but i try to do a pull and get permission denied |
# |
Mar 11th 2018, 04:28 |
ricksaccous |
it's technically not production yet but it will be |
# |
Mar 11th 2018, 04:27 |
ricksaccous |
let's say i have a git repo in "production" |
# |
Mar 11th 2018, 04:27 |
savant |
you should only have the webroot directory accessible via your virtual host |
# |
Mar 11th 2018, 04:27 |
ricksaccous |
in cakephp web apps |
# |
Mar 11th 2018, 04:26 |
ricksaccous |
what are recommended permissions for files and folders |
# |
Mar 10th 2018, 20:52 |
nomos |
hello |
# |
Mar 10th 2018, 18:43 |
obinoob |
need to add validation rule that can constraint the following: $rules->add($rules->isUnique(['active' => true, 'team_id'], 'User already has one team active')); obviously that true is not allowed here... |
# |
Mar 10th 2018, 18:11 |
ricksaccous |
ok just curious |
# |
Mar 10th 2018, 18:11 |
bravo-kernel |
@ricksaccous nope |
# |
Mar 10th 2018, 18:10 |
ricksaccous |
@bravo-kernel are you going to cakefest? |
# |
Mar 10th 2018, 17:26 |
bravo-kernel |
good night, thanks for the hard work, is starting to look really good :100: |
# |
Mar 10th 2018, 17:24 |
rchavik |
ok, i'll check again tomorrow.. going to bed now :slightly_smiling_face: |
# |
Mar 10th 2018, 16:50 |
bravo-kernel |
If I am missing something please let me know. Updating the ticket from here on, sorry for the noise |
# |
Mar 10th 2018, 16:49 |
bravo-kernel |
Unsure how this should be done technically but I can imagine the the query parameters must somehow be retained |
# |
Mar 10th 2018, 16:48 |
bravo-kernel |
The links inside meta would currently (probably) not point to the correct next page |
# |
Mar 10th 2018, 16:48 |
bravo-kernel |
I can imagine getting two pages of results using your "sort" |
# |
Mar 10th 2018, 16:47 |
bravo-kernel |
2. the JSON:API pagination results |
# |
Mar 10th 2018, 16:46 |
bravo-kernel |
1. the `direction` query param (which is most likely already functioning) |
# |
Mar 10th 2018, 16:45 |
bravo-kernel |
Mr. @rchavik I can come up with two things reading the ticket carefully |
# |
Mar 10th 2018, 16:06 |
bravo-kernel |
I am unsure myself too to be honest, I will check as well |