After creating directory structure for Drupal9,
ddev config --project-type=drupal9 --docroot=web --create-docroot
i created the project, a Drupal distribution Varbase Starter Kit in this directory using ddev:
ddev composer create Vardot/varbase-project:~9 --no-dev --no-interaction
I did the necessary configurations and changed the name and docroot (note: Varbase uses the directory called docroot instead of web) of the project in config.yaml
Then while i was trying to install the distribution via browser i had a warning telling me that PHP extension YAML is missing.
So according to instructions in ddev documentation i added the package to Docker image by adding the following line to config.yaml:
webimage_extra_packages: [php-yaml]
Then in order to enable the extension i created a php directory in .ddev directory and added my configuration with an .ini file that contains the following lines:
[PHP]
extension=yaml.so
I restarted ddev but YAML extension was still not enabled.
I checked and saw that php-yaml package was successfully installed but was not enabled.
when i list the PHP modules with the command ddev php -m yaml is not listed and i get the following warning:
PHP Warning: PHP Startup: Unable to load dynamic library 'yaml.so' (tried: /usr/lib/php/20200930/yaml.so (/usr/lib/php/20200930/yaml.so: cannot open shared object file: No such file or directory), /usr/lib/php/20200930/yaml.so.so (/usr/lib/php/20200930/yaml.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
It seems that yaml.so file cannot be found (or accessed?) so it cannot be enabled.
How can I fix this?
I'm using Linux Mint (LMDE5) and website is Drupal9 with PHP 8.0, nginx-fpm, mariadb 10.3
The package you want is just php8.0-yaml, so in .ddev/config.yaml:
webimage_extra_packages: [php8.0-yaml]
No additional configuration is required (you don't have to change php configuration) just ddev restart. After you do that you'll see yaml listed in ddev php -i
Related
I have installed Hyperon a business rule engine on windows machine.
I have fallowed instruction to install it from:
- https://www.hyperon.io/tutorial/installing-hyperon-studio
After installation I have browse below URL to see whether #Hyperon web app is running or not.
http://localhost:38080/hyperon/app
I am getting this error:
Error Screenshot
Reproduceable Steps:
Downloaded hyperon zip and extracted it.
Open the file directory and reach to the /bin folder
Opened it in command prompt:
Ran startup.bat file.
Refer to below screenshot:
command prompt logs
tomcat command prompt logs and output after executing- startup.bat
Such effect occurs when trying to run hyperon with JDK 8.
Hyperon Studio requires JDK 11.
See installation guide:
https://www.hyperon.io/tutorial/installing-hyperon-studio
If you have multiple JDKs installed, you can swith to proper by setting JAVA_HOME variable:
for example:
cd c:\hyperon-studio-2.1.9\bin
set JAVA_HOME=c:\java\jdk-11.0.4
startup.bat
The first run may take a minute, because hyperon needs to initialize database schema.
Once it is fully started you will see hyperon.log file and should be able to access localhost:38080/hyperon/app.
When I try to add a new project interpreter using docker compose service - I get following error:
No such file or directory in configuration files
I am trying to bypass the package step and uses the existing package to deploy and update CloudFormation stacks.
I have created serverless package by using following command:
serverless package --package package
Got package directory with the following files
cloudformation-template-create-stack.json
cloudformation-template-update-stack.json
service-api.zip
serverless-state.json
Trying to deploy with following command:
SLS_DEBUG=* serverless deploy --package package
getting below error
ServerlessError: This command can only be run in a Serverless service directory. Make sure to reference a valid config file in the current working directory if you're using a custom config file
at PluginManager.validateServerlessConfigDependency (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:546:15)
at PluginManager.invoke (/usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:474:10)
at /usr/local/lib/node_modules/serverless/lib/classes/PluginManager.js:524:24
I have tried with copy serverless.yml into package directory, But no luck
Please execute
SLS_DEBUG=* serverless deploy --package package
from the directory where you've serverless.yml file. It should work.
From the name of the file it looks like you've mis-spelled serveless.yml. Please rename it to serverless.yml.
As per our requirement we need to use AEM OSGI bundle configuration.
I am currently working on Apple Macbook.
To use FormsService and OutputService we installed "AEM-FORMS-6.4-OSX" package under "http://localhost:4502/crx/packageshare/index.html#"
(For windows we install "AEM-FORMS-6.4-WIN").
We have followed below installation steps:
Saved "AEM-quickstart.jar", "license.properties" files at one place.
Ran the jar file using the command "java -jar AEM-quickstart.jar"
Access http://localhost:4502/crx/packageshare/index.html#
Search for "AEM-FORMS-6.4-OSX"
Download the package
Install the package
To reconfirm wether the package is successfully installed, you can go this path "./crx-quickstart/bedrock/svcnative/XMLFormService" and check if bin and META-INF folders are present.
Above steps are for AEM-OSGI configuration on macbook.
Now, I wanted to install this aem-quickstart jar inside a docker container
So steps I followed is:
1. Saved Dockerfile, "AEM-quickstart.jar", "license.properties" files at one place.
2. Ran the Dockerfile with command : "docker run -p 4502:4502 -t aem_quickstart"
3. Access http://localhost:4502/crx/packageshare/index.html#
4. Search for "AEM-FORMS-6.4-OSX"
5. Download the package
6. Install the package
7. Here, when I tried to traverse the path "./crx-quickstart/bedrock/svcnative/XMLFormService" I didnot find any bin folder.
Here my question is:
1. On which OS/platform does docker images run?
2. Which Forms Add on package should I install?
3. Because I am on mac OS I tried to install "AEM-FORMS-6.4-OSX" package but was unsuccessful. Also tried installed "AEM-FORMS-6.4-LX" but was unsuccessful.
Please help me here.. Let me know if any additional information is required
FYI - Docker file has script as follows:
FROM openjdk:8-jdk-alpine
COPY AEM_6.4_Quickstart.jar AEM_6.4_Quickstart.jar
COPY license.properties license.properties
EXPOSE 4502
CMD java -XX:MaxPermSize=256m -Xmx1024M -jar AEM_6.4_Quickstart.jar
I have recently installed Neo4j 3.0, and since I need to enable outside access, I need the configuration file, and where in the 2.3.3 the configuration files were located in within the /var/lib/neo4j/ structure.
I am not able to locate them anywhere in the 3.0 version. I know it have changed name to neo4j.conf.
My folder structure in the above directory is:
plugins
import
data
certificates
I am running Ubuntu 16.04 (Xenial Xerus).
I have tried the documentation. However, that doesn't describe the location. I also already tried "find -name "neo4j.conf" without luck.
[UPDATED]
According to the 3.0.0 Operations Manual, the default location of the config file for "Debian" is:
/etc/neo4j/neo4j.conf