Back to Home / #linode / 2020 / 01 / Prev Day | Next Day
#linode IRC Logs for 2020-01-10

---Logopened Fri Jan 10 00:00:02 2020
00:06-!-iSRAELi [iSRAELi@] has joined #linode
00:06-!-iSRAELi is "..." on #linode
00:52-!-|GIG-1 [~MYOB@] has quit [Remote host closed the connection]
00:53-!-|GIG-1 [~MYOB@] has joined #linode
00:53-!-|GIG-1 is "J" on #moocows #linode
02:12-!-AugustusCaesar24 [] has joined #linode
02:12-!-AugustusCaesar24 is "Augustus Caesar" on #linode
03:08-!-AugustusCaesar24 [] has quit [Quit: Going offline, see ya! (]
03:44-!-anthoni [~oftc-webi@] has joined #linode
03:44-!-anthoni is "OFTC WebIRC Client" on #linode
04:20<anthoni>I want to ask something,can I change the package for decicated cpu plans cpu 2core / monthly , to a higher plan cpu 16 core in one day and return to normal cpu 2 core again?
04:21<anthoni>for every month
04:23<anthoni>because it takes more higher, just one day, for other days there is little traffic
05:02<Peng_>Yes, but upgrading and downgrading would cause some minutes of downtime...
05:18-!-chonk [] has quit [Quit: brb]
05:22-!-Strykar [] has quit [Quit: /quit]
05:23-!-chonk [] has joined #linode
05:23-!-chonk is "b" on #linode
05:24-!-Strykar [] has joined #linode
05:24-!-Strykar is "vector" on #virt #rust-beginners #linode #launches #galileo #dotanoobs #bitlbee #arctictelecom #Qubes_OS #guardianproject
06:02-!-kate [~oftc-webi@] has joined #linode
06:02-!-kate is "OFTC WebIRC Client" on #linode
06:02-!-kate [~oftc-webi@] has quit []
07:06-!-anthoni [~oftc-webi@] has quit [Remote host closed the connection]
07:26-!-voker57 [~quassel@2a06:1700:0:b::44cb:60] has quit [Quit: voker57]
07:41<linbot>New news from community: unable to reach my openvpn web ui <>
07:47-!-waltman [] has quit [Quit: leaving]
08:03-!-rakesh [~oftc-webi@] has joined #linode
08:03-!-rakesh is "OFTC WebIRC Client" on #linode
08:13-!-rakesh [~oftc-webi@] has quit [Quit: Page closed]
09:10-!-anomie [] has joined #linode
09:10-!-anomie is "Anomie" on #linode
09:27-!-eyepulp [~eyepulp@] has joined #linode
09:27-!-eyepulp is "eyepulp" on #linode
09:32-!-iSRAELi [iSRAELi@] has quit [Ping timeout: 480 seconds]
09:34-!-TJ- [~root@2a02:8011:2007:0:5d3d:3d07:1b8f:3eaf] has joined #linode
09:34-!-TJ- is "TJ" on #linode #virt
09:42<linbot>New news from blog: Seven New One-Click Apps on Linode <>
10:02-!-dark [~dark@] has joined #linode
10:02-!-dark is "dark" on #linode
10:05-!-dark [~dark@] has left #linode []
10:09-!-dark_ [~dark@] has joined #linode
10:09-!-dark_ is "dark" on #linode
10:10-!-Guest13468 [~darkstar@] has joined #linode
10:10-!-Guest13468 is "White Knight" on #linode
10:10<Guest13468>what's up buddy???
10:10<Guest13468>so great to chat with you
10:13-!-Guest13468 [~darkstar@] has quit []
10:13-!-dark_ [~dark@] has quit []
10:30<rsdehart>that was weird
10:37-!-primitiv [] has joined #linode
10:37-!-primitiv is "OFTC WebIRC Client" on #linode
10:38<primitiv>hola gang
10:38<primitiv>Couldn't find readable volume - /var/www/websites/Sidewinder1337/public_html/assets/uploads/1/
10:38<primitiv>not able to fix this issue even with 777 perms
10:40<primitiv>what do i type to see the perms starting from var/www/etc
10:42<@jcardillo>you could try namei -l /var/www/etc/
10:47<primitiv>looks fine to me?
10:49-!-Winckle4 [] has joined #linode
10:49-!-Winckle4 is "The Lounge User" on #linode
10:52-!-Winckle [] has quit [Ping timeout: 480 seconds]
10:52-!-Winckle4 is now known as Winckle
10:55<primitiv>]its identical to my other sftp user who doesnt have this issue
11:14-!-primitiv [] has quit [Quit: Page closed]
11:19-!-fstd [] has joined #linode
11:19-!-fstd is "fstd" on #oftc #linode #debian #kernelnewbies
11:27-!-fstd_ [] has quit [Ping timeout: 480 seconds]
11:39-!-dsapikas [] has joined #linode
11:39-!-dsapikas is "purple" on #linode
12:20<linbot>New news from community: DKIM key length <>
12:43-!-dsapikas [] has quit [Ping timeout: 480 seconds]
12:55-!-dsapikas [] has joined #linode
12:55-!-dsapikas is "purple" on #linode
13:44-!-dsapikas [] has quit [Ping timeout: 480 seconds]
13:57-!-Juma [~amir@] has joined #linode
13:57-!-Juma is "Amir Uri" on #linode
13:58-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
14:01<linbot>New news from community: Where do I find Linode's logos? <>
15:27<linbot>New news from community: Does Linode offer a Data Archiving Service? <>
15:27-!-Juma [~amir@] has joined #linode
15:27-!-Juma is "Amir Uri" on #linode
15:28-!-Juma [~amir@] has quit [Remote host closed the connection]
16:12-!-Juma [~amir@] has joined #linode
16:12-!-Juma is "Amir Uri" on #linode
16:13-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
16:17-!-Juma [~amir@] has joined #linode
16:17-!-Juma is "Amir Uri" on #linode
16:18-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
16:22-!-primitiv [] has joined #linode
16:22-!-primitiv is "OFTC WebIRC Client" on #linode
16:22-!-primitiv [] has quit []
16:27<linbot>New news from community: How do I hide my site from Google searches? <>
16:31-!-primitiv [] has joined #linode
16:31-!-primitiv is "OFTC WebIRC Client" on #linode
16:31<primitiv>I'm unable to use is_writable for the life of me
16:31<primitiv>is somebody here familiar with this php function
16:32<primitiv>i tried everything i can think of to debug
16:32<millisa>what isn't working?
16:32<primitiv>well it returns false for one
16:32<primitiv>the path is correct
16:32<primitiv>i gave 777
16:32<millisa>have you setup a simple example?
16:32<primitiv>define simple example
16:33<millisa>something like <?PHP $thisfile='/blah/foo.txt'; echo is_writable($thisfile);?>
16:33<primitiv>i have a function that is doing something on that sort yes
16:34<millisa>people don't want to troubleshoot a custom function. does the simple example behave as expected
16:34<nate>paste your code
16:34<primitiv>it's code part of the file manager
16:34<millisa>for all we know there's nothing wrong with the function and it's something with php or selinux or similar.
16:34<primitiv>but the whole platform doesnt seem ableto access upload folders etc or display images within the file manager
16:35<nate>Well the function itself is almost certainly not a problem, so it's either your actual permissions or you have something in the middle that is (security apps, etc)
16:35<primitiv>I inserted $test to output the full path it's having issues with
16:36<primitiv>i dont think so
16:36<primitiv>i have two versions of this app
16:36<nate>And it is properly showing the full path? And the user that PHP is running as has -full- capable access to that path?
16:36<primitiv>the regular one files work fine
16:36<primitiv>i created another sftp and copied the files over
16:36<primitiv>only thing not working is the files
16:36<primitiv>i tried matching exactly what i have for the working app
16:36<primitiv>besides the sftp user respectively
16:36<primitiv>still no dice
16:37<primitiv>this is as far as ive gone now idk what to check for but its not server
16:37<primitiv>that i can gurantee
16:37<primitiv>i can access the images within the directory fine yes
16:37<primitiv>within brwose nate
16:40<nate>That has nothing to do with PHP, your httpd would be serving those
16:41<nuevu>primitiv: Does the directory/file you're checking actually exist?
16:41<nate>Unless your php is running as mod_php, which is pretty odd and rare in this day and age, PHP will be running with it's own permissions likely under php-fpm
16:42-!-Juma [~amir@] has joined #linode
16:42-!-Juma is "Amir Uri" on #linode
16:43-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
16:43<primitiv>millisa i tried a simple setup and doesnt echo anything
16:43<primitiv>yes it does
16:44<millisa>this was my simple example I used a moment ago -
16:45<primitiv>mmm returns file does not exist...
16:47-!-Juma [~amir@] has joined #linode
16:47-!-Juma is "Amir Uri" on #linode
16:47<primitiv>it says file exisst
16:47<primitiv>but not writable
16:48-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
16:48<millisa>ls -l thatfile
16:58<primitiv> -rwxrwxrwx. 1 Sidewinder1337 nginx 28332120 Jan 9 20:34 /var/www/websites/Sidewinder1337/public_html/assets/uploads/1/welihane-5d7d9a331c2c8.mp4
16:59<nuevu>SELinux audit logs, or really any of your webserver/PHP logs, would be a place I'd start looking.
17:00<millisa>what does 'sestatus' say?
17:02-!-Juma [~amir@] has joined #linode
17:02-!-Juma is "Amir Uri" on #linode
17:02<primitiv> SELinux status: enabled SELinuxfs mount: /sys/fs/selinux SELinux root directory: /etc/selinux Loaded policy name: targeted Current mode: enforcing Mode from config file: enforcing Policy MLS status: enabled Policy deny_unknown status: allowed Max kernel policy version: 31
17:03-!-Juma [~amir@] has quit [Remote host closed the connection]
17:03<primitiv>it works on my other app tho
17:03<millisa>tail your /var/log/audit/audit.log (or whatever the path is your audit log)
17:03<primitiv>so i dont think this would be a server thing
17:07-!-Juma [~amir@] has joined #linode
17:07-!-Juma is "Amir Uri" on #linode
17:08-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
17:10-!-anomie [] has quit [Quit: Leaving]
17:17-!-Juma [~amir@] has joined #linode
17:17-!-Juma is "Amir Uri" on #linode
17:18-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
17:22-!-Juma [~amir@] has joined #linode
17:22-!-Juma is "Amir Uri" on #linode
17:23-!-Juma [~amir@] has quit [Read error: Connection reset by peer]
17:32-!-Juma [~amir@] has joined #linode
17:32-!-Juma is "Amir Uri" on #linode
17:33-!-Juma [~amir@] has quit [Remote host closed the connection]
18:27-!-eyepulp [~eyepulp@] has quit [Read error: Connection reset by peer]
18:28-!-eyepulp [~eyepulp@] has joined #linode
18:28-!-eyepulp is "eyepulp" on #linode
18:44-!-eyepulp [~eyepulp@] has quit [Remote host closed the connection]
19:00-!-primitiv [] has quit [Remote host closed the connection]
19:00-!-waltman [] has joined #linode
19:00-!-waltman is "Walt Mankowski" on #linode
19:10-!-Ikaros [] has quit [Quit: Tornado Warning - for my area - taking shelter now.]
19:12-!-Winckle6 [] has joined #linode
19:12-!-Winckle6 is "The Lounge User" on #linode
19:12-!-Winckle [] has quit [Remote host closed the connection]
19:12-!-Winckle6 is now known as Winckle
19:19-!-Winckle5 [] has joined #linode
19:19-!-Winckle5 is "The Lounge User" on #linode
19:21-!-Winckle [] has quit [Ping timeout: 480 seconds]
19:21-!-Winckle5 is now known as Winckle
20:31-!-Ikaros [~ikaros@2001:470:b8ed:2:e9c8:f9ef:fef0:3d0] has joined #linode
20:31-!-Ikaros is "Ikaros" on #linode
20:38-!-Ikaros [~ikaros@2001:470:b8ed:2:e9c8:f9ef:fef0:3d0] has quit [Quit: Resetting IPv6 config, be right back]
20:52-!-Ikaros [] has joined #linode
20:52-!-Ikaros is "Ikaros" on #linode
20:53-!-andyzwieg103 [] has joined #linode
20:53-!-andyzwieg103 is "azwieg103" on #linode
21:02-!-primitiv [] has joined #linode
21:02-!-primitiv is "OFTC WebIRC Client" on #linode
21:03<primitiv>sorry i had to step out
21:03<primitiv>i still cant figure out the issue
21:04<millisa>did you tail your audit log while doing the test?
21:08<primitiv>i just did now
21:10<primitiv>denied write
21:10<primitiv>is that saying php-fpm is the user
21:10<primitiv>trying to access?
21:11<millisa>selinux is saying know to that php-fpm process trying to write to the file
21:11<millisa>er 'no' . ..not 'know'... long day.
21:11<primitiv>why tho
21:14<millisa>presumably it doesnt have the read/write context
21:15<millisa>search terms you'll want to use are 'chcon' and 'httpd_sys_rw_content_t' probably.
21:16<primitiv>but why is this happening for this sftp user
21:26-!-AugustusCaesar24 [] has joined #linode
21:26-!-AugustusCaesar24 is "Augustus Caesar" on #linode
21:43-!-andyzwieg103 [] has quit [Quit: andyzwieg103]
22:16-!-Ikaros [] has quit [Quit: Rebooting router due to inconsistent connectivity]
22:22-!-Ikaros [] has joined #linode
22:22-!-Ikaros is "Ikaros" on #linode
22:47-!-primitiv [] has quit [Remote host closed the connection]
23:40-!-AugustusCaesar24 [] has quit [Quit: Going offline, see ya! (]
---Logclosed Sat Jan 11 00:00:04 2020