Comments (4)
Yeah, I saw the warning and then tried to create hook as explain in https://yunohost.org/en/packaging_apps_hooks. But the weird thing is that even if the hook is on the right place, it seems that its called only if regen_conf is called without argument (ex nginx) and the warning stay.
As I understand, I should better add the hook like in the postman app (and not as the doc say ?)
from garage_ynh.
Hello,
I just got this very same warning about nginx conf changed manually, from the diagnosis email.
I use this merged version 0.8.0~yhn4
, and it's quite strange:
# yunohost tools regen-conf nginx --dry-run --with-diff
Warning: The configuration file '/etc/nginx/conf.d/garage.yeswiki.net.conf' has been manually modified and will not be updated
nginx:
applied:
pending:
/etc/nginx/conf.d/garage.yeswiki.net.conf:
diff: @@ -6,7 +6,7 @@
server {
listen 80;
listen [::]:80;
- server_name garage.yeswiki.net *.garage.yeswiki.net;
+ server_name garage.yeswiki.net;
access_by_lua_file /usr/share/ssowat/access.lua;
@@ -35,7 +35,7 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
- server_name garage.yeswiki.net *.garage.yeswiki.net;
+ server_name garage.yeswiki.net;
include /etc/nginx/conf.d/security.conf.inc;
status: modified
But after : # yunohost tools regen-conf nginx --force
# cat /etc/nginx/conf.d/garage.yeswiki.net.conf
[..]
server_name garage.yeswiki.net *.garage.yeswiki.net;
[..]
It's like the dry-run doesn't wait for the hook to be applied and complains..
from garage_ynh.
Is it possible to close this issue after merging #5 ?
from garage_ynh.
The hook still triggers the CI "error", but the test passes, so OK. :)
However you forgot to tweak the change_url script to update the hook (it has a __DOMAIN__
variable).
from garage_ynh.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garage_ynh.