< 272019-06-28⋎29 >

farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Feature requests and bug reports: github.com/farmOS/farmOS/issuesSet by ChanServ on 2018-08-16 at 14:32
06:52*yenzand[m] has quit (Remote host closed the connection)
06:52*mstenta[m] has quit (Remote host closed the connection)
06:52*amber65[m] has quit (Read error: Connection reset by peer)
06:52*spitz234[m] has quit (Write error: Connection reset by peer)
06:52*xp42[m] has quit (Write error: Connection reset by peer)
06:52*MatrixTravelerb4 has quit (Write error: Connection reset by peer)
06:52*donblair[m] has quit (Write error: Connection reset by peer)
06:52*leogaggl[m] has quit (Remote host closed the connection)
06:52*jgaehring[m] has quit (Remote host closed the connection)
06:52*karna[m] has quit (Remote host closed the connection)
06:52*yova[m] has quit (Read error: Connection reset by peer)
06:52*chriswilliams[m] has quit (Remote host closed the connection)
06:52*johanness_charle has quit (Remote host closed the connection)
06:52*wimpertier[m] has quit (Remote host closed the connection)
06:52*gsavio[m] has quit (Remote host closed the connection)
06:52*luigig[m] has quit (Remote host closed the connection)
06:52*paul121[m] has quit (Remote host closed the connection)
06:52*lablab[m] has quit (Remote host closed the connection)
06:52*hawkridgehomeste has quit (Remote host closed the connection)
06:52*skipper_is[m] has quit (Remote host closed the connection)
06:52*scoid[m] has quit (Write error: Connection reset by peer)
06:52*dazinism has quit (Write error: Connection reset by peer)
06:52*bumann[m] has quit (Remote host closed the connection)
06:52*munjoma[m] has quit (Write error: Connection reset by peer)
06:52*msandstrom[m] has quit (Remote host closed the connection)
06:52*dornawcox[m] has quit (Remote host closed the connection)
06:52*sudokita[m] has quit (Remote host closed the connection)
06:52*MockingbirdConsu has quit (Remote host closed the connection)
06:52*hamishcunningham has quit (Read error: Connection reset by peer)
07:03*MatrixTravelerb4 has joined
07:04*dazinism has joined
07:43*donblair[m] has joined
07:43*yova[m] has joined
07:43*munjoma[m] has joined
07:43*spitz234[m] has joined
07:43*xp42[m] has joined
07:43*mstenta[m] has joined
07:43*dornawcox[m] has joined
07:43*jgaehring[m] has joined
07:43*paul121[m] has joined
07:43*hawkridgehomeste has joined
07:43*leogaggl[m] has joined
07:43*karna[m] has joined
07:43*yenzand[m] has joined
07:43*skipper_is[m] has joined
07:43*scoid[m] has joined
07:43*sudokita[m] has joined
07:43*johanness_charle has joined
07:43*lablab[m] has joined
07:43*gsavio[m] has joined
07:43*luigig[m] has joined
07:43*wimpertier[m] has joined
07:43*msandstrom[m] has joined
07:43*hamishcunningham has joined
07:43*amber65[m] has joined
07:43*MockingbirdConsu has joined
07:43*chriswilliams[m] has joined
07:43*bumann[m] has joined
19:28*cycix[m] has joined
19:33cycix[m]Hi all. I see the farmos app was put on playstore. I'm interested to try it out. Is there anything that needs enabled or setup on the server side to allow the app to login to the server? I have api for authorized users turned on. But it generates a 404 error. I'm on a 7.x install.
19:34mstenta[m]Hi cycix[m]
19:35mstenta[m]You shouldn't need anything on the server side for it to work, assuming you are using an up to date version of farmOS
19:36mstenta[m]404 is strange though. When do you see that?
19:42cycix[m]I go to menu->Login-> Enter website (I'm self hosting) + credentials for a user I've also tried the admin account Message ->submit credentials The error in purple at the top of the app is "Unable to reach the server. Please check that you have the correct URL and that your device has a network connection. Status: 404. It is possible for me to browse to the website on the device.
19:48cycix[m]I currently have a self generated certificate for https maybe that is the issue/
20:23mstenta[m]Oh that could be part of it
20:23mstenta[m]But the 404 is also strange
20:24mstenta[m]Is your farmOS installed in a subdirectory?
20:27cycix[m]nope its in the main and the only thing installed
20:28mstenta[m]And if you go to /user/login you see the login form?
20:29mstenta[m]The app works by sending a POST request to that path
20:29mstenta[m]If it is saying 404, then something is going wrong
20:29mstenta[m]@jgaehring:matrix.org: is there anything else that could be happening here that you could think of?
20:29mstenta[m]Or maybe it's the self signed certificate that's breaking everything...
20:30mstenta[m]You almost definitely need to fix that either way
20:30mstenta[m]So I would suggest starting there
20:30mstenta[m]Either get a real cert (via letsencrypt perhaps) or don't use SSL at all
20:31mstenta[m]If you want to open a feature request to allow the app to support self signed certificates, please feel free... But I don't think that it will work with them right now
20:31cycix[m]to be clear though the app requires ssl though right? I didnt see the option for the prefix to not be https
20:32mstenta[m]It actually does support non ssl
20:32mstenta[m]It will try ssl be default but revert to http if that doesn't work
20:32mstenta[m]I definitely recommend ssl of course, and with let's encrypt it's free
20:34cycix[m]ok. humm.. i didnt orgionally ahve https enabled. I was getting the 404 and assumed that was the issue so I made a cert and installed it, hoping to fix the issue. I'm happy to get a real cert. was just trying to test it, so if it reverts to non-https then I dont think thats probaly the issue
20:35mstenta[m]Oh ok
20:35mstenta[m]Well then I would suggest turning off ssl and figuring out the 404 error first
20:35mstenta[m]<mstenta[m] "And if you go to /user/login you"> Did you confirm this works?
20:36mstenta[m]If that doesn't work, you may not have clean urls enabled
20:37cycix[m]I bet thats it. /user/login gives a 404.
20:38mstenta[m]If clean urls are not enabled, the login form will be at /?q=user/login instead of /user/login
20:38mstenta[m]Ok yea check clean urls
20:38mstenta[m]Google "Drupal clean urls"
21:28cycix[m]That fixed it. Just for info it seems to not care about the self generated cert.
21:28cycix[m]thanks!
21:43mstenta[m]Great!
21:43mstenta[m]<cycix[m] "That fixed it. Just for info it "> Oh interesting! Good to know!

< 272019-06-28⋏29 >