Opensource and privacy conscious analytics
moonmeister
Posts
-
Goat Counter -
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlowOkay, I decided to take a crack at packaging this and was surprisingly successful.
I've detailed some of the more technical things over on the PhotoPrism Github: https://github.com/photoprism/photoprism/issues/1284
For anyone who wants to expriment the docker image is
moonmeister/cloudron-photoprism:0.1.3
and the configs can be found here https://github.com/moonmeister/photoprism/tree/feat/cloudron-image/docker/cloudronPLEASE NOTE: "Working" is currently defined as "You can log in". Basic features like, uploading photos are still broken.
@girish I'm currious what you need when this is all working to publish. Meaning, do you need a dedicated repo with the manifest and Dockerfiles and all associated info? Can this be anywhere or does it need to be in the cloudron gitlab? Or can this stuff live in the PhotoPrism repository in a subfolder?
I think that's everything I have for now. Anything else I should know? thanks.
-
Feature Request: Backblaze B2 As Backup TargetBackblaze just announced an S3 compatible API for B2. Obviously users can set this up manually but hopefully this makes it faster to include a native integration as well!
https://www.backblaze.com/blog/backblaze-b2-s3-compatible-api/
-
Joplin: feature rich note taking and to-do applicationLooks like there is a an official Joplin server. https://discourse.joplinapp.org/t/joplin-server-pre-release-is-now-available/13605
It'd be nice to see that combined with the web app for cloudron.
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@nebulon I'd be interested in sponsoring this to happen. Not sure how much $$ that'd be but if you or someone else is interested please let me know.
-
Email ThoughtsMy point of the 443 port issue was so ya'll could fix the docs. I have manually setup SRV records, that's why I thought it'd be nice to automatically set them up. Also, I meant to put this under discussion, not sure how it ended up in support. Thanks.
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@moonmeister said in PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow:
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A 20.10 21.04 base image sounds much easier if y'all can provide that.
@nebulon is this possible?
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@girish will do
-
Email ThoughtsI just went through the process of migrating my email to cloudron and discovered a number of doc issues, feedback, and possible improvements. Most are small but thought I'd share.
-
The docs say port 25 is required. Given 587 is used for SMTP(STARTTLS) can 25 be safely blocked inbound if we don't want to allow clients to connect to it?
-
The Security Doc incorrectly states IMAPS as being on 443 under "cloud firewall".
-
The security docs also claim SMTP(25/587) require authentication. I have noticed disabling login on an email client still allows connection. Is this how it's suppose to be, or should this reject any un-authenticated connection attempt? What I haven't checked is if it allows sending, I'm assuming it blocks sending as stated?
-
SMTP via TLS: STARTTLS can be encrypted but theoretically not guaranteed. SMTP via TLS requires encryption and encrypts the entire conversation as opposed to starting in plain text. It'd be nice if SMTP via TLS was supported on port 465.
-
RFC-6186: defines SRV DNS records for mail service discovery. It would be nice if cloudron created relevant SRV records for it's email services.
Thanks for the good work Cloudron team.
-
-
Signing in with username vs emailMany apps require or are compatible with signing via my email address on Cloudron (sogo, nextcloud, etc). The trouble is some require using my username. This becomes troublesome when my password manager only remembers one or the other. I can work around this, it isn't the worst. I'm wondering if there's a way to fix it so apps can consistently use one or both. Thanks.
-
Feature Request: Backblaze B2 As Backup TargetWould love to see this.
-
Bitwarden - Self-hosted password managerFor those using this. Does/will it support 2FA, and what kind? I'm mostly interested in Yubikey support. Thanks.
-
Mailserver does not deliver to certain email addressesJust ran across this tool: https://www.mail-tester.com
Could be super helpful for folks.
Has good info on solving Microsoft specific problems.
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@nebulon As to tensorflow...I just modified their production
Dockerfile
. I assume it works as of yet. -
Dedicated IP for App@mehdi said in Dedicated IP for App:
@moonmeister said in Dedicated IP for App:
cause Cloudron currently relies on domain for routing to containers
Actually, this is only for HTTP stuff : if you open a port for an app, everything that hits the server on that port should be redirected to the app. You should not need a dedicated IP for this. Actually, it would not change anything.
You're a genius! Thanks, so I had all the ports open and still couldn't figure out why this wasn't working. Long story short....the AdGuard panel displays your computer's IP address, not the servers...I had just assumed it was correct.
Maybe this can be fixed?
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@nebulon Yes, If you checkout my GitHub issue on the PhotoPrism I address that issue. Basically, PhotoPrism doesn't release builds, they release a docker image. That image is built on Ubuntu 12.10. To make the build compatible with 12.04 I had to rebuild their dev image which is what that image is. Before I duplicated all that I was waiting to see if they had any feedback to optimize the process.
-
PhotoPrism - Personal Photo Management powered by Go and Google TensorFlow@nebulon so photoprism is running on 20.10 due to bugs in some dependencies on 20.04. Is it possible to get a 20.10 base image or do I need to figure out backport those dependencies?
See https://github.com/photoprism/photoprism/issues/1284#issuecomment-841406953 for context.
UPDATE: photoprism folks informed me they tried compiling ffmpeg for 20.04 but it was a huge nightmare and they gave up. A
20.1021.04 base image sounds much easier if y'all can provide that. -
WP Multi-site mail issuesWhen I created a second site on my WP Multi-site setup it had no SMTP config in the new mail plugin(SMTP Mailer). I tried to configure it by copy paste but short of opening up the db or retrieving it from the env var via copy paste I had no way of accessing the SMTP password. Meaning if it ever changed mail would not send. I tried to see if I could setup the config globally but an old discussion confirmed it wasn't possible.
I switched back to WP Mail SMTP and saw it couldn't be configured via the Network UI without the PRO version. But after some digging I confirmed Setting the config via wp_config.php variables works just fine.
define( 'WPMS_ON', true ); // True turns on the whole constants support and usage, false turns it off. define( 'WPMS_MAIL_FROM', getenv('CLOUDRON_MAIL_FROM') ); define( 'WPMS_MAIL_FROM_FORCE', true ); // True turns it on, false turns it off. //define( 'WPMS_MAIL_FROM_NAME', 'From Name' ); define( 'WPMS_MAIL_FROM_NAME_FORCE', true ); // True turns it on, false turns it off. define( 'WPMS_MAILER', 'smtp' ); // Possible values: 'mail', 'smtpcom', 'sendinblue', 'mailgun', 'sendgrid', 'gmail', 'smtp'. define( 'WPMS_SET_RETURN_PATH', true ); // Sets $phpmailer->Sender if true, relevant only for Other SMTP mailer. define( 'WPMS_SMTP_HOST', getenv('CLOUDRON_MAIL_SMTP_SERVER')); // The SMTP mail host. define( 'WPMS_SMTP_PORT', getenv('CLOUDRON_MAIL_SMTP_PORT') ); // The SMTP server port number. define( 'WPMS_SSL', '' ); // Possible values '', 'ssl', 'tls' - note TLS is not STARTTLS. define( 'WPMS_SMTP_AUTH', true ); // True turns it on, false turns it off. define( 'WPMS_SMTP_USER', getenv('CLOUDRON_MAIL_SMTP_USERNAME') ); // SMTP authentication username, only used if WPMS_SMTP_AUTH is true. define( 'WPMS_SMTP_PASS', getenv('CLOUDRON_MAIL_SMTP_PASSWORD') ); // SMTP authentication password, only used if WPMS_SMTP_AUTH is true. define( 'WPMS_SMTP_AUTOTLS', true ); // True turns it on, false turns it off.
This config means everything is configured across all sites in the install and each site can individually set the"From Name".
This seems like a much better default for the multi-site setup. The only thing that's not ideal is it'd be nice to be able to allow sending from different from address, including different domains configured in cloudron. username and password doesn't have to change but allowing different from address would be nice.
@girish Just read why you switched the plugin to SMTP Mailer...is there a solution I haven't found that can be used with that plugin?