SHARE
TWEET
Installing Next
a guest
Feb 13th, 2016
9
Never
- 16:08:15 OdiliTime so how do I save my board settings?
- 16:08:23 milez go to admin side
- 16:08:35 milez settings or some shit in there
- 16:08:47 milez just click save once and its good
- 16:09:32 OdiliTime I think some routes are missing
- 16:09:34 OdiliTime everything is 404
- 16:09:39 OdiliTime probably need a rewrite in place
- 16:09:45 milez hmm sec
- 16:09:50 OdiliTime also I have no clue where admin side is
- 16:09:57 milez wait you added thoe changes I gave you?
- 16:09:58 atc OdiliTime: /PC
- 16:10:02 atc **cp
- 16:10:32 milez Odil: you want these location bits in your nginx config: http://pastebin.com/Gu6a8cdZ
- 16:10:35 atc If you use our nginx rules (my conf had those routes) and fixed the urls in .env it should work
- 16:11:30 atc OdiliTime: your try_files is wrong
- 16:11:45 atc It should pass it on to the app, not =404
- 16:12:12 OdiliTime milez: my webroot is public, should it be .. from there?
- 16:12:24 milez sec
- 16:12:41 atc No root is not public
- 16:12:55 atc Root should be the project root...
- [...]
- 16:13:16 OdiliTime ok changed to project root
- 16:13:47 atc Wtf
- 16:13:50 atc 2:54:07 <atc> https://www.irccloud.com/pastebin/zoelkPoR/
- 16:13:57 atc This is my server block that works...
- 16:14:08 atc Post your try_files.
- 16:14:38 OdiliTime https://spit.mixtape.moe/view/740cddeb
- 16:15:49 milez mine: http://pastebin.com/mi2bi2S7
- 16:16:02 atc Shouldn't your root be /usr/local/infinitynext?
- 16:16:18 OdiliTime it's a symlink to that
- 16:16:52 atc Hmm That should be working...
- 16:17:47 OdiliTime tried direct
- 16:17:49 OdiliTime no difference
- [...]
- 16:19:26 atc Turn on error log debugging and see where it is looking for files
- 16:19:35 atc In nginx
- 16:19:58 milez I'm willing to bet money you still have the default nginx config in there enabled
- 16:20:08 milez /etc/nginx/sites-enabled/
- 16:20:23 OdiliTime freebsd is single file
- 16:20:27 OdiliTime there's only one server block
- 16:20:29 milez oh ya right
- 16:20:36 milez hrrrmmm
- 16:20:56 milez hmm sure there isn't a default nginx config floating around?
- 16:21:01 milez and it's enabled
- 16:21:28 atc Remove trailing slash from root? Dunno that just caught my eye
- 16:22:03 OdiliTime atc: tried that
- 16:22:40 OdiliTime ok we're back
- 16:22:47 atc What was it
- 16:22:49 milez what was it?
- 16:22:51 milez lulz
- 16:22:55 OdiliTime infinitynext vs infninity-next
- 16:23:00 atc Lel
- 16:23:02 OdiliTime plus a couple other things
- 16:23:03 atc Nice
- 16:23:04 milez kek
- 16:23:14 milez ok go to CP
- 16:23:33 milez make a change or two and save settings
- 16:23:34 atc Change debug to false in .env
- 16:23:45 milez might be useful to keep it on
- 16:23:53 atc Might want to use database or redis caching in .env
- 16:24:03 milez actually ya off for testing
- 16:24:13 atc Also install ffmpeg
- 16:24:24 OdiliTime bad pass
- 16:24:35 OdiliTime "admin" ?
- 16:24:36 milez you write it dowen at db:seed ?
- 16:24:42 atc OdiliTime: your pass was generated when you did ^
- 16:24:45 OdiliTime yes, tried with spaces and witout
- 16:24:50 milez artisan db:seed
- 16:24:52 atc It's with spaces
- 16:25:09 OdiliTime Seeding admin user.
- 16:25:09 OdiliTime Skipped. Users exist.
- 16:25:14 atc You have to purge DB and seed again
- 16:25:14 milez oh
- 16:25:20 OdiliTime hrm
- 16:25:25 atc And add schema
- 16:25:26 milez yeap
- 16:25:26 OdiliTime actually gave me something different
- 16:25:34 OdiliTime TokenMismatchException
- 16:25:45 OdiliTime probably because of the db:seed
- 16:25:59 OdiliTime yea still no dice
- 16:26:01 milez delete db, create db, re migrate, re seed
- 16:26:02 atc Just purge DB and do it again
- 16:26:07 atc Easy
- 16:26:21 milez going to play some gamez...bbiab
- 16:26:43 OdiliTime ERROR: relation "users" does not exist
- 16:26:50 OdiliTime on db:seed
- 16:26:52 @n-tech php artisan migrate
- 16:27:09 OdiliTime oh yea that makes sense
- 16:27:14 OdiliTime I need to eat, making stupid mistakes
- 16:27:26 milez smoke moar bowls
- 16:27:39 OdiliTime still doesn't work
- 16:28:01 OdiliTime fucking-a
- 16:28:02 OdiliTime "Admin"
- 16:28:05 OdiliTime works now
- 16:28:09 milez hah!
- 16:28:27 milez save settings now
- 16:28:33 milez nice
- 16:28:36 milez now it werks
- 16:28:54 atc Weird issue for me, boards created as admin don't show up in the Board list
- 16:28:56 OdiliTime ok so lemme package this image up
- 16:29:02 OdiliTime and then we all can have a crack at it
- 16:29:27 OdiliTime well I guess we should confirm the bug first
- 16:29:47 milez yeah make 1 post
- 16:30:09 milez josh how many tables are effected by making 1 post?
- 16:30:28 milez posts, post_checksums, file_attachments
- 16:30:30 milez maybe more
- 16:30:35 @n-tech about 30 queries are ran after a post.
- 16:30:37 @n-tech posts
- 16:30:38 @n-tech posts_checksum
- 16:30:40 @n-tech file_attachments
- 16:30:43 @n-tech files if it's HTTP
- 16:30:44 @n-tech boards
- 16:30:58 milez ahh boards ok
- 16:31:20 OdiliTime won't let me make a post
- 16:31:24 OdiliTime maybe JS error?
- 16:31:26 atc Why
- 16:31:43 OdiliTime try it http://104.238.229.157/test
- 16:31:46 OdiliTime I'm in FFdev
- 16:32:52 atc Error occurs when file is finished uploading
- 16:33:02 OdiliTime I had no file
- 16:33:04 atc Also site is super slow TBH
- 16:33:20 atc nvm loads fine now
- 16:33:42 atc 500 internal server error
- 16:33:58 Drybones https://my.mixtape.moe/jnlngm.png
- 16:33:59 atc check nginx error log for cause
- 16:34:29 atc I get that Drybones upon uploading a file, when posting there is a 500 error on PUT /test/thread.json
- 16:34:41 OdiliTime Call to undefined function App\Support\IP\bcmod
- 16:35:05 OdiliTime yea bc.php:58
- 16:35:08 atc >Call to undefined function App\Support\IP\bcmod(_
- 16:35:12 atc oh beat me to it
- 16:35:33 << Monoelain (~qwebirc@Rizon-2C93BAD4.hsd1.wa.comcast.net) has quit (Ping timeout: 240 seconds)
- 16:35:44 OdiliTime n-tech: what's that about?
- 16:36:06 atc I never had that problem on my instance
- 16:36:22 @n-tech I don't know. I've never seen that.
- 16:36:34 OdiliTime I cloned HEAD
- 16:36:39 @n-tech $m = bcmod($dec, 2);
- 16:36:45 @n-tech you are missing a module
- 16:36:46 @n-tech a mathematics one probably
- 16:36:48 atc you need to install php-bcmath
- 16:37:01 atc or just bcmath
- 16:37:09 OdiliTime yea no bcmath
- 16:37:09 @n-tech sorry, I guess my installation instructions are out of date
- 16:38:55 atc OdiliTime: new 500 error, no info given this time
- 16:39:03 OdiliTime also need the correct perms to set and where
- 16:39:23 atc I assume storage is writable by www-data
- 16:39:28 atc or whatever user you use
- 16:39:28 OdiliTime does all of storage need to be writeable?
- 16:39:44 atc It looks like attachments go to...
- 16:40:12 atc storage/app/attachments
- 16:40:20 atc try making that writable
- 16:40:54 OdiliTime http://104.238.229.157/test/thread/1#1
- 16:41:13 atc Looks good
- 16:41:16 atc http://104.238.229.157/test/thread/2#2
- 16:41:17 OdiliTime what's next folks?
- 16:41:37 atc Sent the traffic our way
- 16:41:42 atc *Send
RAW Paste Data
