What app is this about, and its version: Zola, 0.21.0~ynh3
What YunoHost version are you running: 12.1.39
What type of hardware are you using: VPS bought online
Describe your issue
Hi, I’m newbe wannabe-poweruser possible wannago-contributor definitely messy, sometime I make things for random, I’m going with disorder and sentiment.
Working on my x86 Debian 12 I don’t understand when an if is systemd or who and how start auto-build the HTML from content Markdown files (githubCom > YunoHost-Apps/zola_ynh/blob/main/conf/systemd.service), but i can’t achiev it with the commands described in “Admin doc” section:
If you have to manually launch the site build, use the following command: sudo -u zola -g www-data /var/www/zola/zola build
If your website shows a 403 error, please fix the permissions using this command: chown -R zola:www-data /var/www/zola
nor other attempts to these confusingly (or foolishly) inspired.
I attach the last tryes made (relevant logs or error messages).
Thanks for all your work and passion!
(Sorry for my english, wanna do practice and take this opportunity)
Salut, je suis newbe wannabe-power-poweruse possible wannago-contributeur définitivement en désordre, parfois je fais des choses pour le hasard, je vais avec le désordre et le sentiment.
En travaillant sur mon x86 Debian 12 Je ne comprends pas quand a if is systemd ou qui et comment démarrer automatiquement-construisez le HTML à partir de fichiers Markdown de contenu (githubCom > YunoHost-Apps/zola_ynh/blob/main/conf/systemd.service), mais je ne peux pas le réaliser avec les commandes décrites dans la section “Admin doc”:
Si vous devez lancer manuellement la version du site, utilisez la commande suivante: sudo -u zola -g www-data /var/www/zola/zola build
Si votre site Web montre une erreur 403, veuillez corriger les autorisations en utilisant cette commande: chown -R zola:www-data /var/www/zola
ni d’autres tentatives à ces inspirations confuses (ou bêtes).
Je joins les dernières tentatives faites (logs ou messages d’erreur pertinents).
Merci pour tout votre travail et votre passion!
(Version française entièrement auto-traslée)
Share relevant logs or error messages
my@test:~$ sudo ls /var/www/zola/content
[sudo] password for my:
_index.md test.md test.md.save
my@test:~$ sudo ls /var/www/zola/public
404.html atom.xml index.html robots.txt sitemap.xml
my@test:~$ sudo ls -l /var/www/zola/content
total 12
-rw------- 1 zola zola 780 Feb 24 06:33 _index.md
-rw-r–r-- 1 root root 37 Mar 2 18:28 test.md
-rw------- 1 root root 2 Mar 2 18:13 test.md.save
my@test:~$ sudo -u root -g zola nano /var/www/zola/content/test1.md
my@test:~$ sudo ls -ld /var/www/zola/content
drwxr-xr-x 2 root root 4096 Mar 3 04:28 /var/www/zola/content
my@test:~$ sudo ls -l /var/www/zola/content
total 16
-rw------- 1 zola zola 780 Feb 24 06:33 _index.md
-rw-r–r-- 1 root zola 59 Mar 3 04:28 test1.md
-rw-r–r-- 1 root root 37 Mar 2 18:28 test.md
-rw------- 1 root root 2 Mar 2 18:13 test.md.save
my@test:~$ sudo ls /var/www/zola/public
404.html atom.xml index.html robots.txt sitemap.xml
my@test:~$ sudo -u root -g zola /var/www/zola/zola build
Building site…
Error: config.toml not found in current directory or ancestors, current_dir is /home/my
my@test:~$ sudo -u zola -g www-data /var/www/zola/zola build
Sorry, user my is not allowed to execute ‘/var/www/zola/zola build’ as zola:www-data on test.home.local.
my@test:~$ sudo chown -R zola:www-data /var/www/zola
my@test:~$ sudo -u zola -g www-data /var/www/zola/zola build
Sorry, user my is not allowed to execute ‘/var/www/zola/zola build’ as zola:www-data on test.home.local.
my@test:~$ sudo -s
root@test:/home/my# sudo -u zola -g www-data /var/www/zola/zola build
Building site…
Error: config.toml not found in current directory or ancestors, current_dir is /home/my
root@test:/home/my# exit
exit
my@test:~$ sudo -D /var/www/zola/ -u zola -g www-data /var/www/zola/zola build
sudo: you are not permitted to use the -D option with /var/www/zola/zola
my@test:~$ sudo -D /var/www/zola -u zola -g www-data /var/www/zola/zola build
sudo: you are not permitted to use the -D option with /var/www/zola/zola
my@test:~$ sudo -s
root@test:/home/my# sudo -D /var/www/zola -u zola -g www-data /var/www/zola/zola build
sudo: you are not permitted to use the -D option with /var/www/zola/zola
root@test:/home/my# sudo -D /var/www/zola/content/ -u zola -g www-data /var/www/zola/zola build
sudo: you are not permitted to use the -D option with /var/www/zola/zola