alex
alex
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
unset DOCKER_HOST solved this issue. but my question is, where should I put this so that it is permanent? .bashrc did not seem to do the trick. any suggestions?
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
After a lot of trial and error, I found the command that I put in to fix this
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
when I do wasp start db I get this error
docker: Cannot connect to the Docker daemon at tcp://0.0.0.0:2375. Is the docker daemon running?.
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
and also this is related to an error that is not a wasp issue but just a WSL thing that I will put in this thread in case anyone searches for it
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
I have 1 question
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
I am not sure how that happened but that was hours of frustration. I guess there is no issue, it was maybe some weird error with my WSL I guess
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
gotcha. yeah I restarted my WSL instance and made a new app and was not su for sure this time and there are no permission issues
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
oh okay, wasn't aware of that. thank you
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
Hmm, I am not very familiar with linux so I do not know if sudo stays active after I use it for the 1 command. I will restart my WSL instance to clear it for sure and make another and test
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
I just made a new project with saas template and I was going to chmod the file again but I didn't have to. it worked succcessfully with no permission issues this time. that is so weird. I did it 3 times before and all of them did not work
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
sudo chmod 777 wasp.main fixed hte problem
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
and
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
I was able to sudo into it
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
No description
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
something about the way the saas template is created does not properly assign permission, for some weird reason. but the simple template does this properly. or at least that's what it seems like could be the problem
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
When I am within the app folder of the saas configuration, I can nano package.json and read this successfull,y but when I do this for main.wasp, I do not have permission to open the file
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
I am able to nano main.wasp in my simple configuration and read the file successfully
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
Okay, I have better info
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
well everything works okay when I do the simple setup (I am able to use postgres and sql successfully) so I am not sure if it's a wasp install issue. I did not do sudo when installing wasp. it's weird because if there was a permissions issue, you would think it would show up in the simple install as well. my wasp is definitely in my WSL file system, i don't even think windows would let me install it at all. but I did check, and it's in the proper place (simple wasp setup works so I know this is true). And the way I did the saas template was with wasp new -t saas from the github repo instructions. if there is another way to do the template, I didn't see it anywhere. I can try another way if you'd like me to.
44 replies
WWasp-lang
Created by alex on 9/1/2024 in #đŸ™‹questions
Unable to start db in saas template because of permission error in WSL
that is the weird tihng. so it does not seem like it is a problem with my configuration, because this only happens within the saas template. I did a lot to ensure my docker was configured properly and had proper communication with WSL, and everything looks good. and I upgraded from WSL1 to WSL2, but the problem remains
44 replies