-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support: Installation Issues with MapKnitter #307
Comments
@SidharthBansal After tackling to much issues and setting up ubuntu on vmware, today i was able to manage things. |
Same behaviour here. Trying to debug.
…On Sat, Feb 2, 2019, 8:23 PM Dhiraj Sharma ***@***.*** wrote:
@SidharthBansal <https://github.com/SidharthBansal> After tackling to
much issues and setting up ubuntu on vmware, today i was able to manage
things.
But a small error is coming as when i use curl -L https://get.rvm.io |
bash -s stable it asks for a key and there i am getting timeout error which
is annoying me.
Need Help !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AUACQ0DvKRWDEHxVbtqOYbv0oWmt7VFwks5vJaZbgaJpZM4aUmi0>
.
|
Alright, these errors are really annoying. |
@SidharthBansal Have you found the solution @jywarren can you provide us help with this? |
I think checking rvm.io will show how to install rvm the most standard way. Working on getting it running in ruby 2.4.4 here, too! #320 |
Yes https://rvm.io shows how to get the keys! |
Does the docker container work properly?
|
oh, hmm, maybe this is a question for @icarito - but the docker container
should be used in Travis, and that is building currently. Can you add more
information from the error you saw, maybe a fuller log shared in
gist.github.com? Thanks!
…On Wed, Feb 6, 2019 at 9:43 AM Kaustubh Nair ***@***.***> wrote:
Does the docker container work properly?
I'm getting an error while building it.
ERROR: Service 'web' failed to build: The command '/bin/sh -c apt-get
update -qqe-dev ruby-dev gdal-bin python-gdal curl libcurl4-openssl-dev
libssl-dev zip nod
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ6cMS6lyDncSHxzzXHqXvLQPWCK7ks5vKun-gaJpZM4aUmi0>
.
|
Thanks it worked @jywarren but now when i ran |
Here is a larger error log |
Hi @Dhiraj240, you can reset the password using - https://dev.mysql.com/doc/refman/8.0/en/resetting-permissions.html And, if you still get error - I also faced some of these issues but finally able to resolve them.Thanks! |
@kaunair please check that you have a recent version of Docker. I found a related issue to your log at Shippable/support#4398 and it was an old Docker version! Try it and let us know, also tell us what command did you run exactly, thanks! |
@Dhiraj240 about the MySQL root password if you mean from the container it can be seen in the mysql logs: |
after bundle install
(I already have set root password for mysql while installing sudo apt-get mysql-server. I also tried the stack overflow solution given by @gauravano but it didn't work for me) |
Hi, have you configured the passwords and usernames in
/config/database.yml?
…On Wed, Feb 13, 2019 at 11:33 AM Nirav Asher ***@***.***> wrote:
On entering "bundle exec rake db:setup"
Getting the error "Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
rake aborted!
Mysql2::Error: Can't connect to local MySQL server through socket
'/var/run/mysqld/mysqld.sock' (2)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJ_m5zF-3x8_qCu622YJUzbKeIfI2ks5vND5GgaJpZM4aUmi0>
.
|
Yes, I confirmed they are same. I atried to uninstall and reinstall mysql-server, everything went fine just the last step bundle exec passenger start gave me this |
Hm, it may be that you are already running the server in another terminal
window... but that doesn't address the mysql issue. Are you able to log in
manually to mysql using `mysql -u root -p PASSWORD` without trouble? And
can you share your database.yml (but please strip out the PASSWORD field
itself!)?
…On Wed, Feb 13, 2019 at 2:52 PM Nirav Asher ***@***.***> wrote:
Yes, I confirmed they are same. I atried to uninstall and reinstall
mysql-server, everything went fine just the last step bundle exec passenger
start gave me this
"Message from application: Address already in use - listen(2)
(Errno::EADDRINUSE)"
I tried looking over stack overflow, but I didn't find anything in my
local running on port 3000
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#307 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABfJz9WefOay2ok2YArE-v5YsqjDFk7ks5vNGz3gaJpZM4aUmi0>
.
|
I faced somewhat similar errors initially, I tried resetting password too but at last I changed the mysql plugin to You can do this on non-root user but changing plugin for root user is really upto you. |
Now running "bundle exec passenger start" gives this error |
you can run the rails server on a different port with Thanks! |
Hi, all, thanks to @gauravano and @sashadev-sky we are now on Ruby 2.4.4: #320 |
@jywarren @gauravano Now, i am getting the following error
I tried the database configuration given in the above screenshots. |
Aha... Please make sure you have copied |
@nstjean Hey it seems that I'm having the same error you are but I'm having trouble implementing the steps you've done to arrive at fixing the issue. Did you make sure that the config files were properly copied the same as they were from the repo? |
Hi all, i had some trouble booting this and traced it to the require 'bootsnap/setup' # Speed up boot time by caching expensive operations. |
am having trouble setting up my database though am able to acces mysql with |
Hello @chepyego. Most times, that error is thrown if you haven't configured your database correctly in the |
Hello @PeculiarE i managed to fix it by changing the test_database password and username to be the same as the development database. But am having another problem I can attach a screenshot below |
Nicey. Well done 😄 😄 @chepyego. Please check out this stackoverflow thread to fix the incompatible module issue: https://stackoverflow.com/questions/56617209/the-engine-node-is-incompatible-with-this-module. |
am getting twosolution one is to run |
Hi @chepyego , you could give this solution a try
|
hey @cesswairimu i think I have managed to solve the issue I installed node v16 and set nvm to use this version then I |
Thank you @PeculiarE and @cesswairimu for your help |
just a quick question @cesswairimu how do we login in using data in seed.rb I haven't understood from the installation guide |
@chepyego if you have already ran |
You're welcome @chepyego 😄 ...I'm glad it's working now for you |
@cesswairimu .....please, I have a question. If we want to run the app on gitpod, do we need either mysql2 or sqlite3 already installed on our PCs? Update: i found out the answer to this. Everything on GitPod is using the remote server in the GitPod service, so it doesn't matter if your local has mysql or sqlite installed. The remote will have mysql automatically set up 😄 |
just ran rake db:seed and I get this huge error which I can't seem to get solution since yesterday (Mysql2::Error: Duplicate entry '82' for key 'warpables.PRIMARY) |
Hi @chepyego...I replied your inquiry on this same issue in the gitter chatroom, but I dunno if you saw it. So I'm just going to repost it here incase you didn't and also to help anyone else who might have this issue in the future. Here's my best guess: You probably already ran As you can see, you've already seeded your db when you ran the Hope this makes sense/helps! |
hey, I guess i didn't see your comment, your point makes sense and is very helpful . i can now make my first PR |
but still i can't login in the browser with those credentials in in seed.rb |
What's the error you get? |
it is not an error but am trying to login in URL using this |
hey I just ran this I copied from the documentation |
You're welcome 😃 ❤️ ....glad you're up and running now 🚀 |
yes am happy too I hope am that late to start making my contributions |
No, it's not too late. Have you requested for a FTO issue at https://github.com/publiclab/plots2/10153? |
Not yet , What is FTO? |
It basically stands for first-timer-only and is a label given to issues. An FTO issue is specially curated for first-timers, that is, newbies to the project/codebase. In an FTO issue, the problem and solution are given to you. All you have to do is implement it by following the instructions given. Solving an FTO issue gets you familiar with the project's version control, starts helping you get familiar with the codebase, and of course, gives you a sense of confidence. Once you're done with solving an FTO, you can progress into looking for a bit more complex issues (e.g. issues with labels such as help-wanted, bug etc.). These issues don't yet have solutions; you have to provide it. You can even start creating FTOs for others. |
okay got it, am an outreachy applicant and plot2 is not part of the outreachy project and I would like to work on this mapknitter project ,I guess I can find some FTO tickets in mapknitter too, or is it a must to work on FTO in publiclab/plot2 project? |
hi all, you are right @chepyego, you do not work on plots2 project , you could just work on mapknitter only. I really love the great collaboration here. Many thanks everyone for helping each other and helping out ❤️ ❤️ |
Facing trouble installing Mapknitter? We are here to help you.
The text was updated successfully, but these errors were encountered: