Guest User

Installing Next

a guest
Feb 13th, 2016
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.04 KB | None | 0 0
  1. 16:08:15 OdiliTime so how do I save my board settings?
  2. 16:08:23 milez go to admin side
  3. 16:08:35 milez settings or some shit in there
  4. 16:08:47 milez just click save once and its good
  5. 16:09:32 OdiliTime I think some routes are missing
  6. 16:09:34 OdiliTime everything is 404
  7. 16:09:39 OdiliTime probably need a rewrite in place
  8. 16:09:45 milez hmm sec
  9. 16:09:50 OdiliTime also I have no clue where admin side is
  10. 16:09:57 milez wait you added thoe changes I gave you?
  11. 16:09:58 atc OdiliTime: /PC
  12. 16:10:02 atc **cp
  13. 16:10:32 milez Odil: you want these location bits in your nginx config: http://pastebin.com/Gu6a8cdZ
  14. 16:10:35 atc If you use our nginx rules (my conf had those routes) and fixed the urls in .env it should work
  15. 16:11:30 atc OdiliTime: your try_files is wrong
  16. 16:11:45 atc It should pass it on to the app, not =404
  17. 16:12:12 OdiliTime milez: my webroot is public, should it be .. from there?
  18. 16:12:24 milez sec
  19. 16:12:41 atc No root is not public
  20. 16:12:55 atc Root should be the project root...
  21. [...]
  22. 16:13:16 OdiliTime ok changed to project root
  23. 16:13:47 atc Wtf
  24. 16:13:50 atc 2:54:07 <atc> https://www.irccloud.com/pastebin/zoelkPoR/
  25. 16:13:57 atc This is my server block that works...
  26. 16:14:08 atc Post your try_files.
  27. 16:14:38 OdiliTime https://spit.mixtape.moe/view/740cddeb
  28. 16:15:49 milez mine: http://pastebin.com/mi2bi2S7
  29. 16:16:02 atc Shouldn't your root be /usr/local/infinitynext?
  30. 16:16:18 OdiliTime it's a symlink to that
  31. 16:16:52 atc Hmm That should be working...
  32. 16:17:47 OdiliTime tried direct
  33. 16:17:49 OdiliTime no difference
  34. [...]
  35. 16:19:26 atc Turn on error log debugging and see where it is looking for files
  36. 16:19:35 atc In nginx
  37. 16:19:58 milez I'm willing to bet money you still have the default nginx config in there enabled
  38. 16:20:08 milez /etc/nginx/sites-enabled/
  39. 16:20:23 OdiliTime freebsd is single file
  40. 16:20:27 OdiliTime there's only one server block
  41. 16:20:29 milez oh ya right
  42. 16:20:36 milez hrrrmmm
  43. 16:20:56 milez hmm sure there isn't a default nginx config floating around?
  44. 16:21:01 milez and it's enabled
  45. 16:21:28 atc Remove trailing slash from root? Dunno that just caught my eye
  46. 16:22:03 OdiliTime atc: tried that
  47. 16:22:40 OdiliTime ok we're back
  48. 16:22:47 atc What was it
  49. 16:22:49 milez what was it?
  50. 16:22:51 milez lulz
  51. 16:22:55 OdiliTime infinitynext vs infninity-next
  52. 16:23:00 atc Lel
  53. 16:23:02 OdiliTime plus a couple other things
  54. 16:23:03 atc Nice
  55. 16:23:04 milez kek
  56. 16:23:14 milez ok go to CP
  57. 16:23:33 milez make a change or two and save settings
  58. 16:23:34 atc Change debug to false in .env
  59. 16:23:45 milez might be useful to keep it on
  60. 16:23:53 atc Might want to use database or redis caching in .env
  61. 16:24:03 milez actually ya off for testing
  62. 16:24:13 atc Also install ffmpeg
  63. 16:24:24 OdiliTime bad pass
  64. 16:24:35 OdiliTime "admin" ?
  65. 16:24:36 milez you write it dowen at db:seed ?
  66. 16:24:42 atc OdiliTime: your pass was generated when you did ^
  67. 16:24:45 OdiliTime yes, tried with spaces and witout
  68. 16:24:50 milez artisan db:seed
  69. 16:24:52 atc It's with spaces
  70. 16:25:09 OdiliTime Seeding admin user.
  71. 16:25:09 OdiliTime Skipped. Users exist.
  72. 16:25:14 atc You have to purge DB and seed again
  73. 16:25:14 milez oh
  74. 16:25:20 OdiliTime hrm
  75. 16:25:25 atc And add schema
  76. 16:25:26 milez yeap
  77. 16:25:26 OdiliTime actually gave me something different
  78. 16:25:34 OdiliTime TokenMismatchException
  79. 16:25:45 OdiliTime probably because of the db:seed
  80. 16:25:59 OdiliTime yea still no dice
  81. 16:26:01 milez delete db, create db, re migrate, re seed
  82. 16:26:02 atc Just purge DB and do it again
  83. 16:26:07 atc Easy
  84. 16:26:21 milez going to play some gamez...bbiab
  85. 16:26:43 OdiliTime ERROR: relation "users" does not exist
  86. 16:26:50 OdiliTime on db:seed
  87. 16:26:52 @n-tech php artisan migrate
  88. 16:27:09 OdiliTime oh yea that makes sense
  89. 16:27:14 OdiliTime I need to eat, making stupid mistakes
  90. 16:27:26 milez smoke moar bowls
  91. 16:27:39 OdiliTime still doesn't work
  92. 16:28:01 OdiliTime fucking-a
  93. 16:28:02 OdiliTime "Admin"
  94. 16:28:05 OdiliTime works now
  95. 16:28:09 milez hah!
  96. 16:28:27 milez save settings now
  97. 16:28:33 milez nice
  98. 16:28:36 milez now it werks
  99. 16:28:54 atc Weird issue for me, boards created as admin don't show up in the Board list
  100. 16:28:56 OdiliTime ok so lemme package this image up
  101. 16:29:02 OdiliTime and then we all can have a crack at it
  102. 16:29:27 OdiliTime well I guess we should confirm the bug first
  103. 16:29:47 milez yeah make 1 post
  104. 16:30:09 milez josh how many tables are effected by making 1 post?
  105. 16:30:28 milez posts, post_checksums, file_attachments
  106. 16:30:30 milez maybe more
  107. 16:30:35 @n-tech about 30 queries are ran after a post.
  108. 16:30:37 @n-tech posts
  109. 16:30:38 @n-tech posts_checksum
  110. 16:30:40 @n-tech file_attachments
  111. 16:30:43 @n-tech files if it's HTTP
  112. 16:30:44 @n-tech boards
  113. 16:30:58 milez ahh boards ok
  114. 16:31:20 OdiliTime won't let me make a post
  115. 16:31:24 OdiliTime maybe JS error?
  116. 16:31:26 atc Why
  117. 16:31:43 OdiliTime try it http://104.238.229.157/test
  118. 16:31:46 OdiliTime I'm in FFdev
  119. 16:32:52 atc Error occurs when file is finished uploading
  120. 16:33:02 OdiliTime I had no file
  121. 16:33:04 atc Also site is super slow TBH
  122. 16:33:20 atc nvm loads fine now
  123. 16:33:42 atc 500 internal server error
  124. 16:33:58 Drybones https://my.mixtape.moe/jnlngm.png
  125. 16:33:59 atc check nginx error log for cause
  126. 16:34:29 atc I get that Drybones upon uploading a file, when posting there is a 500 error on PUT /test/thread.json
  127. 16:34:41 OdiliTime Call to undefined function App\Support\IP\bcmod
  128. 16:35:05 OdiliTime yea bc.php:58
  129. 16:35:08 atc >Call to undefined function App\Support\IP\bcmod(_
  130. 16:35:12 atc oh beat me to it
  131. 16:35:33 << Monoelain ([email protected]) has quit (Ping timeout: 240 seconds)
  132. 16:35:44 OdiliTime n-tech: what's that about?
  133. 16:36:06 atc I never had that problem on my instance
  134. 16:36:22 @n-tech I don't know. I've never seen that.
  135. 16:36:34 OdiliTime I cloned HEAD
  136. 16:36:39 @n-tech $m = bcmod($dec, 2);
  137. 16:36:45 @n-tech you are missing a module
  138. 16:36:46 @n-tech a mathematics one probably
  139. 16:36:48 atc you need to install php-bcmath
  140. 16:37:01 atc or just bcmath
  141. 16:37:09 OdiliTime yea no bcmath
  142. 16:37:09 @n-tech sorry, I guess my installation instructions are out of date
  143. 16:38:55 atc OdiliTime: new 500 error, no info given this time
  144. 16:39:03 OdiliTime also need the correct perms to set and where
  145. 16:39:23 atc I assume storage is writable by www-data
  146. 16:39:28 atc or whatever user you use
  147. 16:39:28 OdiliTime does all of storage need to be writeable?
  148. 16:39:44 atc It looks like attachments go to...
  149. 16:40:12 atc storage/app/attachments
  150. 16:40:20 atc try making that writable
  151. 16:40:54 OdiliTime http://104.238.229.157/test/thread/1#1
  152. 16:41:13 atc Looks good
  153. 16:41:16 atc http://104.238.229.157/test/thread/2#2
  154. 16:41:17 OdiliTime what's next folks?
  155. 16:41:37 atc Sent the traffic our way
  156. 16:41:42 atc *Send
Advertisement
Add Comment
Please, Sign In to add comment