Looking to collaborate? Post here if you need help or willing to offer help.
@murgero Yup, I'm thinking along the lines of templating services for retainers with al-la-carte menu pricing, so anyone can do it, as a team, collective or independently. Cloudron covers the stack admin, we bring more clients.
Basically, the VAR/MSP business-model but with a rate-card so everyone can achieve respectable rates and retainers that are relatively standardised across providers and clients.
I have some good email flows for email marketing to pick up clients too, so will move onto that once I have the whole rates and presentations side of things sketched out.
@malvim Right. So in that case, you have to do this one by one. Make cloudron-setup work. Does that work already? If it's only failing at the end, like where it looks for the box code to come up, you can ignore it. After that hotfix will work.
@nebulon said in Remote SQL into Cloudron's App DB for debugging purposes:
What do you mean with Cloudron's App DB? Like the main platform database?
That would be simply available on your host system only on localhost. You can access it with mysql -uroot -ppassword box (password is literally password) Of course you are on your own if you tinker with that database, changing things there might break the system.
I honestly never would have figured out the password (not joking), thanks, that worked! ️
Is there only one cloudron database which is "box"?
Got the tool fully working on macOS. Worked like a charm after I figured out everything the tool wanted.
I had to make a small commit to dashboard since macOS doesn't support the timedatectl CLI tool so I converted that command into a universal one that returns the same values on either Ubuntu and Macs. But that was literally the only thing that didn't work in the entire tool and I've already committed a change for that (locally, of course).
So, thanks for your help @girish, this will allow me to build a cloudron-master Cloudron install that's, ofc, unstable - but it will be just to test my apps in before you turn your new commits into a release to make sure my apps are always compatible with your newest changes! ️
@mehdi That’s what I’m thinking it must be - it’s happening with my VPN Client since that’s what I’ve been working. But the box code treats the OpenVPN Client like normal and only treats the apps connected to it special.....wait, what if the cache of the domain exists because an app was connected to my OpenVPN Client app so it’s still “somewhere” in memory even though technically that container is no longer referencing an active container.
That’s a great idea and I think that may be the cause. Because it would persist reboots even, the app connected to the VPN Client attempting to connect. I’m just hoping I can get some advice on how to access Cloudron’s internal app DB via Remote SQL (like you can with individual apps) so I can debug this issue entirely.
I want to release the OpenVPN Client on the store in 2021. So I gotta make sure it’s perfect - and your comment just sparked a thought process that very likely could be the problem and I was dismissing it in my head for silly reasons. Thanks. I’ll reproduce it now that I know it’s just me, and see if I can fix it.
I really just needed one other person on the latest Cloudron perform those steps and have it go perfectly for me to know it was my app (and box changes).
Oh, that’s easy. It’s already there in the environment variables. Cool, I’ll adjust my library to include it so that the app doesn’t break when Cloudron starts enforcing the bind password (which it’s only not for 4 apps I guess - so when / if they ever support it, Cloudron will require the password).
Thank you so much @mehdi. Sometimes I miss the easiest of things.
@nebulon Oh that's perfect, thank you so much for looking into that! Happy to hear it wasn't just me then, haha, just bad luck with the app and timing I guess, glad to know the process I was trying to test works though. Thanks again for the help!
@BrutalBirdie Oh, gotcha, sorry I missed you saying that. Good luck! If you wanna bounce ideas off the wall, keep commenting on this thread.
That's what I did when building the OpenVPN Client, it was just me mostly with more than 100 comments of brainstorming.
@nebulon That’s the exact answer I was hoping for but couldn’t test. Thanks again for the clarification. Trying to avoid any potential bugs even in situations where I can’t test directly so your info really helps out!
@Lonk said in Need help on probably something very easy (Apache Setup):
Sometimes I ask too complex ones, sometimes too simple ones. But the way you explained everything was perfect and I got it working! ️
I feel that's usually the process of learning something new. Glad to be of help.
@mehdi said in Is there a way to make LDAP mandatory on the Cloudron App Store?:
@Lonk I'm not sure I understand the question.
As long as your app has the LDAP addon, you're good. You just have to not include the optionalSSO entry in manifest https://docs.cloudron.io/custom-apps/manifest/#optionalsso
You answered correctly! Thanks.
@girish said in Why wouldn't cloudron install take into account the private registry:
Ah, this is because in the code we assume that if the registry is not set in the image name, it is a public image from the docker.io registry - https://git.cloudron.io/cloudron/box/-/blob/master/src/docker.js#L112 . Currently, the Cloudron App Store images do not use have the registry name in them (since images are public). If you passed in 'lonk/xxx', code doesn't know if it pass auth info or not. I guess we could "hardcode", the username in the check as well but we also have cloudron, cloudron-dev, cloudron-staging and some other usernames in docker hub.
The fix is easy though: cloudron build --set-repository and then enter docker.io/lonk/xyz (i.e include the docker.io part).
Though this solution worked perfectly for me, it was not intuitive. And you did bring up an interesting point. I have two accounts on Docker Hub myself (one for production, one for staging). Could Cloudron support multiple users in the Cloudron Private Registry page? In case some of the projects end up being private?
As for determining if and when to use credentials to pick up a private Docker registry based on the name of the username / base and if the script can find a public registry with that info, if not fall back to authenticated.
I think that wouldn't be a hard edit for your Build Service, let me see if I can make it as a proof of concept.