+
Skip to content

FileNotFoundError: var/www/html/.well-known/traffic-advice #744

@alexlii1971

Description

@alexlii1971

root@iZ2ze97tf3526yj7ec4n6wZ:~# wo stack install --web
WordOps (wo) require an username & and an email address to configure Git (used to save server configurations)
Your informations will ONLY be stored locally

Start : wo-kernel [OK]
Adding repository for MySQL, please wait...
Adding repository for NGINX, please wait...
Adding repository for PHP, please wait...
Updating apt-cache [OK]
Installing APT packages [OK]
Traceback (most recent call last):.]
File "/usr/local/bin/wo", line 8, in
sys.exit(main())
File "/opt/wo/lib/python3.10/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.10/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack.py", line 537, in install
post_pref(self, apt_packages, [])
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack_pref.py", line 209, in post_pref
WOTemplate.deploy(self,
File "/opt/wo/lib/python3.10/site-packages/wo/core/template.py", line 31, in deploy
wo_template = open('{0}'.format(fileconf),
FileNotFoundError: [Errno 2] No such file or directory: '/var/www/html/.well-known/traffic-advice'

root@iZ2ze97tf3526yj7ec4n6wZ:~# sudo wo stack install --all
PHP 8.3 already installed
MySQL already installed and alive
Sendmail already installed
Adding repository for PHP, please wait...
Updating apt-cache [OK]
Installing APT packages [OK]
Restarting php7.4-fpm [OK]
Configuring php7.4-fpm [OK]
Restarting php8.0-fpm [OK]
Configuring php8.0-fpm [OK]
Restarting php8.1-fpm [OK]
Configuring php8.1-fpm [OK]
Restarting php8.2-fpm [OK]
Configuring php8.2-fpm [OK]
Restarting php8.4-fpm [OK]
Configuring php8.4-fpm [OK]
Restarting proftpd [OK]
Reloading proftpd [OK]
Traceback (most recent call last):
File "/usr/local/bin/wo", line 8, in
sys.exit(main())
File "/opt/wo/lib/python3.10/site-packages/wo/cli/main.py", line 102, in main
app.run()
File "/opt/wo/lib/python3.10/site-packages/cement/core/foundation.py", line 882, in run
return_val = self.controller._dispatch()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 471, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/cement/core/controller.py", line 477, in _dispatch
return func()
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack.py", line 537, in install
post_pref(self, apt_packages, [])
File "/opt/wo/lib/python3.10/site-packages/wo/cli/plugins/stack_pref.py", line 908, in post_pref
WOGit.add(self, ["/etc/redis"],
File "/opt/wo/lib/python3.10/site-packages/wo/core/git.py", line 33, in add
status = wogit.status("-s")
File "/opt/wo/lib/python3.10/site-packages/sh.py", line 1511, in call
rc = self.class.RunningCommandCls(cmd, call_args, stdin, stdout, stderr)
File "/opt/wo/lib/python3.10/site-packages/sh.py", line 734, in init
self.wait()
File "/opt/wo/lib/python3.10/site-packages/sh.py", line 796, in wait
self.handle_command_exit_code(exit_code)
File "/opt/wo/lib/python3.10/site-packages/sh.py", line 823, in handle_command_exit_code
raise exc
sh.ErrorReturnCode_128:

RAN: /usr/bin/git -C /etc/redis status -s

STDOUT:

STDERR:
fatal: detected dubious ownership in repository at '/etc/redis'
To add an exception for this directory, call:

    git config --global --add safe.directory /etc/redis

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载