had Nextcloud running on a shared hosting @ all-inkl.com, german shared hosting provider with no probs. After a clean re-install with the web installer i can’t even send sendmail emails from nextcloud. no settings are working. always “Beim Senden der E-Mail ist ein Problem aufgetreten. Bitte überprüfen Sie Ihre Einstellungen. (Fehler: E-Mail konnte nicht versandt werden. Prüfen Sie Ihr E-Mail-Server-Protokoll)” - no errors on php errorlog. same with the old working smtp setup.
any solutions for this?
current config.php is wrong i think. even with just sendmail and emailaddress entered in /index.php/settings/admin - button saved appears - the content of config.php won’t change. chmod was 640 - that’s wrong i think. shouldn’t it be 740?
but even with that, sendmail > saved message the content still stays
This would send the emails over the smtp server you registered for your (sub)domain with <sender> as sender with STARTTLS (which is in fact the successor of the older smtps)
change config.php to 640 again.
i’m pretty sure allinkl got sendmail / php 8.1
anyway, set up your smtp in config.
updated private credentials.
uploaded config.php
when i go to /index.php/settings/admin
is still don’t see the setup saved to config.php
chown isn’t possible due to newer ubuntu @ all-inkl.
contacted support…
Since you didn’t answer, I was guessing if you don’t have Linux running locally and don’t know how?
Simply install MobaXterm. That gives you a Linux (Cygwin, Busybox) terminal on your windows box that can run that kind of commands.
It is a PuTTTY based Terminal and SSH-Client and SFTP browser. In addition it comes with an X-Server (Including Mesa Open GL), so you can run applications on remote Linux-servers with the GUI tunneled to that X-Server on your local windows box.
A kind of all in one must have client.
new to me. interesting. i’ll give it a try as soon as all-inkl git my ssh login problems fixed.
with mobaxterm i also should be able to run the “real” installer from shell, right? or even use sudo -u www-data php occ upgrade - whilst on all-inkl server the user www-data is long gone. not that unfamiliar with shell…but really scared of running in just the next problems.
i did the clean reinstall with the web installer as i don’t have straight commandline @ all-inkl.com.
one of the problems i had with the last installation: using the web installer NC doesn’t provide the updater secret plantext owhere, right? i tried to hash a new one…still no luck…
@ff-webdesigner , I realy want to help you to get a working mail in your installation but you’re not doing things systematically, at least that’s what it looks like to me.
I thought, all-inkl doesn’t provide ssh login? Your words:
But annyhow, that got nothing to do with my question:
Or have you given up on your issue and doesn’t take it as seriously as it looked first?
sry, i thought even mobaxterm needs ssh. checking my reseller i found a hidden option for ssh. activated it, got ssh running. i’ll check instance id as soon as a got some time to do so… thanks for your help so far!
No. It does not need ssh. The command I provided makes use of curl. That is a command line interface to internet servers like your cloud. MobaXterm has curl. So you should simply start the terminal an paste my command and execute it. That’s all.
thanks! now i got the instance id. it’s the same as in config.php. a good friend of mine is quite firm with NC. he pretended that the config.phpis not even parsed by NC. allinkl and i disagree, because then the whole NC wouldn’t be running, no login etc.
config.pgp is not parsed by nextcloud @ allinkl. that’s what my friend thought. i disagree, because NC is up and running. just the mail configuration not displayed or saved in NC admin.
i already did a 2nd blank installation with web installer. same effect.