oh now, that will sometimes appear but in my case it stuck at some point and lost config file for nginx / omv ... that was just the default one and broke down with the other system config i think, but don't know, maybe the boss can just work with that infos.
what ever, maybe my nas got a sniff or something like this
the config worked all day now and for many updates - so maybe it was just monday on thursday - i don't know
here we go:
after that and a lot of google i looked into:
compare with the version macom give to me and uncommend to
new try with apt-get install --> error --> deeper look now tell me a bind error (sure, :80 will be used by my letsencrypt docker ... )
docker stop letsencrypt
again apt-get install
its done ... try to connect web gui --> nope --> ok, i tried with MY port 8080 ... so lets try port 80 --> welcome back OMV - change ports twice --> error occure ... ok reload site: not found (bad? NO its good) try again with port 8080 --- here we go!
docker start letsencrypt
looks like everything is back in place
should it only be happend cause i have not activate SSL and changed http port??
noone else changed the omv port away from 80?
plz check that to prevent other from getting trouble.
will try it - if my omv is working again -.-
just see updates in the house - so i just do like normal in omv interface - updates - check the all box click install.
ERROR ERROR ERROR ... - close - reload - omv not reachable ...
SSH: apt-get update --> apt-get upgradeCodeProcess: 24003 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)Aug 27 10:03:48 greeNAS.GREEN systemd: Starting A high performance web server and a reverse proxy server...Aug 27 10:03:48 greeNAS.GREEN nginx: nginx: [emerg] BIO_new_file("/etc/ssl/certs/openmediavault-.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/ssl/certs/openmediavault-.crt','r') error:2006D080:BIO routines:BIO_new_file:no such file)Aug 27 10:03:48 greeNAS.GREEN nginx: nginx: configuration file /etc/nginx/nginx.conf test failedAug 27 10:03:48 greeNAS.GREEN systemd: nginx.service: Control process exited, code=exited, status=1/FAILUREAug 27 10:03:48 greeNAS.GREEN systemd: Failed to start A high performance web server and a reverse proxy server.nginx depends on nginx-full (<< 1.14.2-2+deb10u3.1~) | nginx-light (<< 1.14.2-2+deb10u3.1~) | nginx-extras (<< 1.14.2-2+deb10u3.1~); however:nginx depends on nginx-full (>= 1.14.2-2+deb10u3) | nginx-light (>= 1.14.2-2+deb10u3) | nginx-extras (>= 1.14.2-2+deb10u3); however:
need help plz to get it working again.
just updated my Nextcloud to 18.0.8 and do a routine check in Settings to check its all right ... but what i see: Nextcloud 19.0.2 available
anyone have done it? - some little how to about it? - something critical to know?
situation in short:
OMV 5 NAS is running with nginx / Letsencrypt Proxy - work well with Nextcloud and all the stuff.
2nd maschin in my Network is used for testing stuff and / or sometime dedicated gameplay servers (Minecraft, Factorio what ever)
atm this 2nd is running a Minecraftserver - to control the server (start, stop, backup and stuf like this) is use crafty controller. crafty is running its own tornado server, i can access in the local network with https://IpOfHost:8000 - now a friend would like to have the ability to restart the server if it hangs. "Yeah, sure, i will just forward the port for you" ... and - he can only access the crafty page with Microsoft edge, all other browsers say bad Certificate and don't let you access ...
ok - np - i just redirect it with my nginx proxy ...Code
all right, little test, all right i get the login page of crafty control, easy.
"i see the login, but after login i only get a 405 ..." was my friend crying .. lets try, yeah, he's right, no way to login ...
405 Not Allowed
soo, now you are on; some ideas? what is to change?
if i local access the crafty server, the url will change to https://IpOfHost:8000/admin/dashboard where "admin" is the username - if i try to login with mydomain.tld/crafty - it change zu mydomain.tld after klicking login.
hopefully someone have an idea what to change to get it working.
in addition to my how-to upgrade nextcloud i just thought a little script could do the job as wellCode
that will work, but i still have to interact
the first command will 1st ask "will you start update" so just y and enter to run ...
after that it will ask to run occ upgrade (that don't work) so just n and enter
the other commands just run
so my question: can i add the answers for the two questions to the script?
@Kritta left me a commend what say onlyoffice will not run on ARM systems, thats right, and i never told that - sorry that you waste time on this.
hope this can prevent others, for more details plz visit the docs of onlyoffice it self.
if i try to connect
i can get your OMV so i just wondering, cause, your omv will listen to port 80 for http if you haven't change it, and your config say you forward port 80 extern to port 81 in your network - and on 81 in your network is the letsencrypt listen container listen to - so: if i try to connect i have to reach your letsencrypt proxy OR have to get an error like page not available.
don't know your router, but dobblecheck the settings, maybe reboot it and recheck the settings - for me it looks like that letsencrypt can't do the needed checks on http and https to verify your domain and sign your certificate.
the error happens right after run the compos file?
have you port forward 443 and 80 to your RPI2?
the sharefolder will work on the web GUI - nothing change here
but in cli / terminal you are nomore able to use /sharefolder/blabla to access them. thats all
in the OMV web GUI you still need the sharefolders and can use it.
ok looks good so far
updated bpo - select it, reboot, all is working, nothing to say more
Alright - good news - this issue looks to be fixed in bpo.4!
For some reason, after installing and rebooting, the bpo.3 kernel was selected by default and everything was broken again.
BE SURE to change the kernel to bpo.4 in OMV Extras before rebooting after installing this new kernel.
that sounds good, thx for your test
will maybe try it later the day after homeoffice and will also report here.
bpo 4 is out there - anyone test it with macvlan?
hi, since i searched my own way to go ... here again as How-To so everyone will find it easy
I will show you 2 Solutions to upgrade your Nextcloud in Docker, this one also depends on this guide.
First of all for both Solutions: you have to upgrade your Dockerimage, i just go to portainer, klick on nextcloud, and select "Dublicate/Edit" button - make sure you have checked "Always pull the image" and click on Deploy the Container - that will download newest docker image if available and restart nextcloud.
for my opinion - Solution 2 is the "better" but thats your choise.
1. add (if not done) export port like 444 to the nextcloud 443 port
2. remove the 2 lines from your config.php and restart nextcloud docker
docker restart nextcloud
3. connect to nextcloud via browser with
4. run the update from the webgui
5. readd the 2 lines from stepp 2 in config.php and restart docker
(for me the "better" since i don't have to change files ...)
1. ssh to host
docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/updater/updater.phar
say yes to update
say no to occ upgrade (will not work the default way)
keep maintenance mode if ask
docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ upgrade
docker exec -it nextcloud sudo -u abc php /config/www/nextcloud/occ maintenance:mode --off
5. connect to your nextcloud like you always do - done.
here you will see a screenshot of both, remotemount and file systems - all buttons disabled only "add" or "create" are activ
OMG - find the trick
at the end of the Remote Mount page is a littl refresh button - after hitting that little bastard the buttons edit delete and so on came up - so maybe it is possible to run that action atomated if the page is refreched by browser or just jumped into it with the menu?
sometimes are the little things can drive you crazy - isn't it?
no just all buttons greyed out.
can't edit delete or something else.
can send some screens later the day if needed.
urBackup will need a client on windows site - that was that wat i don't want.
just build a little rsync script tonight. maybe it will also fit your needs: https://forum.openmediavault.o…?postID=231010#post231010
it will ping the host (your windows pc) if it is online mount the share you want to save, rsync it to your nas and unmount the windowsshare when its done.
just fit the variables to your enviorment
credentialsFile in /etc/ call it what ever you want to
one Problem left:
I can't remove the Remote Mount to my windows pc. Removed Rsync Jobs that used the PC, removed all Shared Folders that point to the Mount, but can't delete the Remote Mount entry - also cant Remove the File System entry.
@ryecoaaron can you support me on that? thx
used umount -l /srv/.... so in File Systems it looks like "not mounted" also a ls to the /srv/ of that drive is empty - but still can't remove it.