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@77.126.84.31] has joined #linode
00:06-!-iSRAELi is "..." on #linode
00:52-!-|GIG-1 [~MYOB@158.115.253.31] has quit [Remote host closed the connection]
00:53-!-|GIG-1 [~MYOB@158.115.253.31] has joined #linode
00:53-!-|GIG-1 is "J" on #moocows #linode
02:12-!-AugustusCaesar24 [~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has joined #linode
02:12-!-AugustusCaesar24 is "Augustus Caesar" on #linode
03:08-!-AugustusCaesar24 [~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
03:44-!-anthoni [~oftc-webi@125.165.46.71] has joined #linode
03:44-!-anthoni is "OFTC WebIRC Client" on #linode
03:45<anthoni>hello
04:07<Cromulent>hi
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 [~chonk@yeah.thats.gonna.be.a.nofromme.dog] has quit [Quit: brb]
05:22-!-Strykar [~wakka@strykar.user.oftc.net] has quit [Quit: /quit]
05:23-!-chonk [~chonk@yeah.thats.gonna.be.a.nofromme.dog] has joined #linode
05:23-!-chonk is "b" on #linode
05:24-!-Strykar [~wakka@strykar.user.oftc.net] 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@27.125.129.221] has joined #linode
06:02-!-kate is "OFTC WebIRC Client" on #linode
06:02-!-kate [~oftc-webi@27.125.129.221] has quit []
07:06-!-anthoni [~oftc-webi@125.165.46.71] 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 <https://www.linode.com/community/questions/19310>
07:47-!-waltman [nunya720@c-68-81-107-5.hsd1.pa.comcast.net] has quit [Quit: leaving]
08:03-!-rakesh [~oftc-webi@27.34.27.247] has joined #linode
08:03-!-rakesh is "OFTC WebIRC Client" on #linode
08:13-!-rakesh [~oftc-webi@27.34.27.247] has quit [Quit: Page closed]
09:10-!-anomie [~anomie@00018802.user.oftc.net] has joined #linode
09:10-!-anomie is "Anomie" on #linode
09:27-!-eyepulp [~eyepulp@107.152.3.83] has joined #linode
09:27-!-eyepulp is "eyepulp" on #linode
09:32-!-iSRAELi [iSRAELi@77.126.84.31] 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 https://launchpad.net/~tj" on #linode #virt
09:42<linbot>New news from blog: Seven New One-Click Apps on Linode <https://www.linode.com/2020/01/10/seven-new-one-click-apps-on-linode/>
10:02-!-dark [~dark@183.87.238.116] has joined #linode
10:02-!-dark is "dark" on #linode
10:05-!-dark [~dark@183.87.238.116] has left #linode []
10:09-!-dark_ [~dark@183.87.238.116] has joined #linode
10:09-!-dark_ is "dark" on #linode
10:10-!-Guest13468 [~darkstar@157.33.88.63] has joined #linode
10:10-!-Guest13468 is "White Knight" on #linode
10:10<Guest13468>hello
10:10<dark_>hi
10:10<dark_>hey
10:10<Guest13468>what's up buddy???
10:10<Guest13468>so great to chat with you
10:11<dark_>supp
10:12<Guest13468>hello
10:13<dark_>exit
10:13-!-Guest13468 [~darkstar@157.33.88.63] has quit []
10:13-!-dark_ [~dark@183.87.238.116] has quit []
10:30<rsdehart>that was weird
10:37-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] 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>https://bpaste.net/2QTA
10:47<primitiv>looks fine to me?
10:49-!-Winckle4 [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] has joined #linode
10:49-!-Winckle4 is "The Lounge User" on #linode
10:52-!-Winckle [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] has quit [Ping timeout: 480 seconds]
10:52-!-Winckle4 is now known as Winckle
10:55<primitiv>https://bpaste.net/AEDQ
10:55<primitiv>]its identical to my other sftp user who doesnt have this issue
11:14-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] has quit [Quit: Page closed]
11:19-!-fstd [~fstd@xdsl-78-35-64-42.nc.de] has joined #linode
11:19-!-fstd is "fstd" on #oftc #linode #debian #kernelnewbies
11:27-!-fstd_ [~fstd@xdsl-81-173-136-40.nc.de] has quit [Ping timeout: 480 seconds]
11:39-!-dsapikas [~dsapikas@ip-89-103-120-110.net.upcbroadband.cz] has joined #linode
11:39-!-dsapikas is "purple" on #linode
12:20<linbot>New news from community: DKIM key length <https://www.linode.com/community/questions/19311>
12:43-!-dsapikas [~dsapikas@ip-89-103-120-110.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
12:55-!-dsapikas [~dsapikas@ip-89-103-120-110.net.upcbroadband.cz] has joined #linode
12:55-!-dsapikas is "purple" on #linode
13:44-!-dsapikas [~dsapikas@ip-89-103-120-110.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
13:57-!-Juma [~amir@185.3.145.103] has joined #linode
13:57-!-Juma is "Amir Uri" on #linode
13:58-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
14:01<linbot>New news from community: Where do I find Linode's logos? <https://www.linode.com/community/questions/19312>
15:27<linbot>New news from community: Does Linode offer a Data Archiving Service? <https://www.linode.com/community/questions/19313>
15:27-!-Juma [~amir@185.3.145.103] has joined #linode
15:27-!-Juma is "Amir Uri" on #linode
15:28-!-Juma [~amir@185.3.145.103] has quit [Remote host closed the connection]
16:12-!-Juma [~amir@185.3.145.103] has joined #linode
16:12-!-Juma is "Amir Uri" on #linode
16:13-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
16:17-!-Juma [~amir@185.3.145.103] has joined #linode
16:17-!-Juma is "Amir Uri" on #linode
16:18-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
16:22-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] has joined #linode
16:22-!-primitiv is "OFTC WebIRC Client" on #linode
16:22-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] has quit []
16:27<linbot>New news from community: How do I hide my site from Google searches? <https://www.linode.com/community/questions/19314>
16:31-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] 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>https://bpaste.net/SLAA
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:37<primitiv>browser**
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:41<nuevu>nate++
16:42-!-Juma [~amir@185.3.145.103] has joined #linode
16:42-!-Juma is "Amir Uri" on #linode
16:43-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
16:43<primitiv>millisa i tried a simple setup and doesnt echo anything
16:43<primitiv>blank
16:43<primitiv>yes it does
16:44<millisa>this was my simple example I used a moment ago - https://vomitb.in/9GcwxZ4Sxw
16:45<primitiv>mmm returns file does not exist...
16:47-!-Juma [~amir@185.3.145.103] has joined #linode
16:47-!-Juma is "Amir Uri" on #linode
16:47<primitiv>nvm
16:47<primitiv>it says file exisst
16:47<primitiv>but not writable
16:48-!-Juma [~amir@185.3.145.103] 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@185.3.145.103] 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@185.3.145.103] 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@185.3.145.103] has joined #linode
17:07-!-Juma is "Amir Uri" on #linode
17:08-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
17:10-!-anomie [~anomie@00018802.user.oftc.net] has quit [Quit: Leaving]
17:17-!-Juma [~amir@185.3.145.103] has joined #linode
17:17-!-Juma is "Amir Uri" on #linode
17:18-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
17:22-!-Juma [~amir@185.3.145.103] has joined #linode
17:22-!-Juma is "Amir Uri" on #linode
17:23-!-Juma [~amir@185.3.145.103] has quit [Read error: Connection reset by peer]
17:32-!-Juma [~amir@185.3.145.103] has joined #linode
17:32-!-Juma is "Amir Uri" on #linode
17:33-!-Juma [~amir@185.3.145.103] has quit [Remote host closed the connection]
18:27-!-eyepulp [~eyepulp@107.152.3.83] has quit [Read error: Connection reset by peer]
18:28-!-eyepulp [~eyepulp@107.152.3.83] has joined #linode
18:28-!-eyepulp is "eyepulp" on #linode
18:44-!-eyepulp [~eyepulp@107.152.3.83] has quit [Remote host closed the connection]
19:00-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] has quit [Remote host closed the connection]
19:00-!-waltman [nunya805@c-68-81-107-5.hsd1.pa.comcast.net] has joined #linode
19:00-!-waltman is "Walt Mankowski" on #linode
19:10-!-Ikaros [ikaros@IPv6.Miku.bdikaros-network.net] has quit [Quit: Tornado Warning - for my area - taking shelter now.]
19:12-!-Winckle6 [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] has joined #linode
19:12-!-Winckle6 is "The Lounge User" on #linode
19:12-!-Winckle [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] has quit [Remote host closed the connection]
19:12-!-Winckle6 is now known as Winckle
19:19-!-Winckle5 [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] has joined #linode
19:19-!-Winckle5 is "The Lounge User" on #linode
19:21-!-Winckle [~winckle@cpc110907-live30-2-0-cust103.17-2.cable.virginm.net] 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 [ikaros@IPv6.Miku.bdikaros-network.net] has joined #linode
20:52-!-Ikaros is "Ikaros" on #linode
20:53-!-andyzwieg103 [~Thunderbi@66-168-56-10.static.mdsn.wi.charter.com] has joined #linode
20:53-!-andyzwieg103 is "azwieg103" on #linode
21:02-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] 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:09<primitiv>https://bpaste.net/JTAA
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 [~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has joined #linode
21:26-!-AugustusCaesar24 is "Augustus Caesar" on #linode
21:43-!-andyzwieg103 [~Thunderbi@66-168-56-10.static.mdsn.wi.charter.com] has quit [Quit: andyzwieg103]
22:16-!-Ikaros [ikaros@IPv6.Miku.bdikaros-network.net] has quit [Quit: Rebooting router due to inconsistent connectivity]
22:22-!-Ikaros [ikaros@IPv6.Miku.bdikaros-network.net] has joined #linode
22:22-!-Ikaros is "Ikaros" on #linode
22:47-!-primitiv [~oftc-webi@107-179-235-132.cpe.teksavvy.com] has quit [Remote host closed the connection]
23:40-!-AugustusCaesar24 [~AugustusC@99-190-112-116.lightspeed.irvnca.sbcglobal.net] has quit [Quit: Going offline, see ya! (www.adiirc.com)]
---Logclosed Sat Jan 11 00:00:04 2020