I had to enable Masquerading under settings.
"Masquerading allows users and apps to send emails with an arbitrary username in the FROM address."
Posts made by SolarSimon
-
RE: Error using external smtp mail server
-
Error using external smtp mail server
Hi there, I successfully migrated from a selfhosted docker installation to cloudron. So far as I can see everything works fine.
Only sending mails doesn't work. I configurated the domain to use an external smtp. I used that same smtp server for my selfhosted discourse installations.
There I had to configure mail-login in containers/app.ymlMy App-configuration in Cloudron
- E-Mail FROM Adresse: mail@domain
- x Do not configure inbox
My mail-configuration for domain
- external smtp
- status: test Mail arrives
My Mail Event Log:
no-reply@domain admin@domain Delivered mail community+verp-7077d0c715a9701676aba02c5ae1ce03@domain - Connection denied. Authenticated user community@domain cannot send mail as community+verp-7077d0c715a9701676aba02c5ae1ce03@domain
Discourse settings: Delivery Method
address: mail port: 2525 domain: goodmotion.de user_name: community@domain authentication: plain enable_starttls_auto: true
I can not change these settings. Adress "mail" looks wrong, the port is also different then configured in cloudron external smtp
-
RE: how extensive are backups?
@solarsimon said in how extensive are backups?:
I am sure you can make my worries disappear...
@mehdi said in how extensive are backups?:
@solarsimon Dumb question but ... have you tried in another browser, just to make sure it's not a cache problem ?
no words. It had to be that simple.
solved, or better erase -
RE: how extensive are backups?
thanks for quick reply.
I followed this guide
https://meta.discourse.org/t/rocket-chat-sso-embed-plugin-for-discourse/199450
Where it says to turn of registration and login form. Pretty sure that fault is not about cloudron...After I failed there, I went to restore rocket.chat, but login form is still gone.
About SSO I guess it failed, because user exist in both apps (discourse and rocket) with different password.
-
how extensive are backups?
Hey there, I'm a bit confused, which leads to my question.
Just made some carefree experiments, the app does not contain sensitive data, anyways cloudron says there are full backups.So I played around with SSO within the app rocket.chat. Apparently it's not working properly, I'm locked out now. As I said, I was a bit carefree, cus of the backups.
I restored backups, tried them all, I'm still locked out. Which leads me to the question: Whats happening here? Cloudron Docs say Backups are Snapshots. So I should be able to move back to configuration some ours ago. I'm really confused now and worried about my other apps backups.
I am sure you can make my worries disappear...
-
RE: Migrate Nextcloud - Keep Nextcloud Users and Settings
@solarsimon said in Migrate Nextcloud - Keep Nextcloud Users and Settings:
One more issue in detail:
All Files get a new FileID. Thats a big problem, cus file-links don't work anymore, both internal and external.
Anybody got a hint? Gonna ask in the nextcloud community.solved!
Make sure your data folder has the same folder structure.
Otherwise (in general when changing data folder) nextcloud does a rescan.In my case I had to move all my data to new folder (media/storage) before I dump the database
Step by step:
- maintenance mode and move data folder
- update database
sudo -u postgres psql \c db8fe... UPDATE public.oc_storages SET id = 'local::/media/storage/' WHERE id = 'local::/home/data/';
- update config.php
Maybe you can save work, by just alter the oc_storages in your database on your new server after import. But I did not try.
I also copied 'passwordsalt' and 'secret' in config.php from the old to the new server.
-
RE: Migrate Nextcloud - Keep Nextcloud Users and Settings
@girish said in Migrate Nextcloud - Keep Nextcloud Users and Settings:
you will have convert it somehow.
I did some relevant steps futher to migration. Nextcloud is running with my data, database and apps on cloudron. So far pretty nice.
One more issue in detail:
All Files get a new FileID. Thats a big problem, cus file-links don't work anymore, both internal and external.
Anybody got a hint? Gonna ask in the nextcloud community.For those how want to migrate, some further information.
On my System (Ubuntu 20, php7.4, mariadb10.5, Nextcloud 22) I installed PostgreSQL. Then convert database by occ db:convert...sudo -u www-data php /var/www/nextcloud/occ db:convert-type --clear-schema --all-apps pgsql nextclouduser 127.0.0.1 nextcloud
Than make your Database setting equivalent to cloudron setting (u find them in config.php)
sudo -u postgres psql ALTER DATABASE nextcloud RENAME TO db8fe...; ALTER ROLE nextclouduser RENAME TO user8fe...; ALTER ROLE user8fe... WITH PASSWORD 'f99...'; \q
postgres said something about crashing md5
so i switched to "trust" in pg_hba.conf
https://confluence.atlassian.com/confkb/how-to-change-the-postgresql-administrator-password-693900817.htmlcreate your dump
pg_dump -Fp -h 127.0.0.1 -U user8fe... db8fe... -f /home/backup/nextcloudpg.sql
Sync your data-folder and your apps-folder.
Then follow https://docs.cloudron.io/guides/import-postgresql/ -
RE: Migrate Nextcloud - Keep Nextcloud Users and Settings
has anybody else succeeded to migrate nextcloud?
For me this could be the key step to move to cloudron premiumAbout @tobru steps:
I succedded to install mariadb and import my DB.
But already a compromise: Either use different port than 3306 or kill the running process behind mysqlI had several approaches, like changing port, enable remote access to mariadb. But I always fail to convert with 'occ db:convert-type'
Giving me the message:SQLSTATE[HY000] [2002] Connection timed out in /app/code/lib/private/DB/Connection.php:87
I guess i have to find the right way to configure mariadb and the containers to access the database. Setting up Docker Network, but need guidance here refering the cloudron setup.
My config.php:
'dbtype' => 'mysql', 'version' => '22.2.3.0', 'overwrite.cli.url' => 'https://url', 'overwriteprotocol' => 'https', 'dbname' => 'nextcloud', 'dbhost' => '172.17.0.2', 'dbport' => '3308', 'dbtableprefix' => 'oc_', 'dbuser' => 'nextclouduser', 'dbpassword' => 'xxxxxxxx',
-
RE: Connection Reset
I did a clean installation and restored a backup.
Since than, everything is working fine.
Thanks -
RE: Cannot mount Hetzner storage box for backups using SSHFS
I made a clean installation of cloudron on a ubuntu hetzner server.
After that I could mount the storage box with the procedure I tried before without problems.So I dont know what was wrong. But now everything working fine.
Thanks -
RE: Cannot mount Hetzner storage box for backups using SSHFS
@nebulon said in Cannot mount Hetzner storage box for backups using SSHFS:
using a custom line in /etc/fstab
From the basic knowlege i have, i tried doing that.
I followed some tutorials i found.
(https://ivan.reallusiondesign.com/mount-sshfs-volumes-in-fstab-with-ssh-key/ and https://www.bveml.net/de/news/hetzner-backup-space-inkrementelles-backup-mit-rsnapshot.html)- I added ssh key to /home/.ssh
- added fstap: sshfs#uxxxxx5@uxxxxxx5.your-storagebox.de:/home /mnt/backup/ fuse IdentityFile=/home/.ssh/id_rsa,uid=0,gid=0,users,idmap=user,noatime,allow_other,_netdev,reconnect,ro 0 0
- restarted the server
I find a folder mnt/backup/ without content. I placed some files in the storeagebox/home. No content in /media/
I'm a basic user coming from windows
Trying my best^^
-
RE: Cannot mount Hetzner storage box for backups using SSHFS
Trying to connect a hetzner storagebox as Volume. I keep having the the error:
'Failed to mount (inactive): read: Connection reset by peer'I followed the guidline: https://docs.hetzner.com/robot/storage-box/backup-space-ssh-keys/#uploading-authorized_keys
- Hetzner Robot: SSH-Support enabled
- generated the key with oppenssh, uploaded the authorized_keys file.
- SFTP is working
Any idea?
-
RE: Connection Reset
@nebulon said in Connection Reset:
have you checked the various things we mention at https://docs.cloudron.io/troubleshooting/#unreachable-dashboard ?
I did it again with some more fokus.
Result: nginx wasn't active.
I found out port 80 already in use. Apache is installedI did these steps and cloudron was back online
netstat -tulpn | grep --color :u6e80: fuser -k 80/tcp nginx -t service nginx start
But after restart of the server, same issue.
Where is apache coming from? I operated this server only by cloudron.
Last action there, I installed git lab.So now I have to stop apache and start nginx after every reboot.
Should i remove apache?apt purge apache2
-
Connection Reset
Hi there,
I have some trouble with my server.
When I want to connect to cloudron my browser says: ERR_CONNECTION_RESETWhat I did:
- My Server is running at hetzner, I did a rescale.
- I wanted to use my domain for a different Server, so changed DNS configuration. And returned to original setting.
Since than, I'm having the connection Issue.
What I tried:
- I did not find a solution so I reinstalled cloudron
- I wannted to upload and restore my backups, but apparently it's not that easy
- With snapshot of my Server I returned to the "connection_reset" state
Any suggestions to fix connection?
Or to setup and restore?