Example make file for a drupal profile - aegir

I am trying to create a platform of a drupal profile, code below: the platform verifies but when creating a site from the platform I get the following error:
WD php: Error: Call to undefined function mb_strcut() in
SearchApiDbService::mbStrcut() (line 2258 of
/var/aegir/platforms/pan7/profiles/panopoly/modules/contrib/search_api_db/service.inc).
- error Drush command terminated abnormally due to an unrecoverable error.
api = 2
core = 7.x
includes[] = drupal-org-core.make
projects[panopoly][version] = 1.55
Contents of drupal-org-core.make
api = 2
core = 7.x
projects[drupal][type] = core
projects[drupal][version] = 7.59
Does anybody have a working makefile for installing profiles?

Related

rpc error: code = NotFound desc = failed to pull and unpack image "mcr.microsoft.com/dotnet/framework/sdk:4.8":

When i create bit-bucket pipeline ASP.Net Based project and found below error.
rpc error: code = Not-found desc = failed to pull and unpack image "mcr.micro-soft.com/dotnet/framework/SDK:4.8": no match for platform in manifest: not found
I have tried these images that doesn't support.
Can anyone guide me that which docker image is supported in ASP.Net framework based project.
Thanks in Advance.

ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: ERROR: unknown location: Cannot convert to service config

I am in the process of generating the CloudEndpoints for my APIs built on AppEngine Std Env JDK8 with Guice, and I am working on OSX.
Following the tutorial I’ve:
added my prj. ID to my pom.xml
run mvn endpoints-framework:openApiDocs
run gcloud endpoints services deploy target/openapi-docs/openapi.json
Steps 1 and 2 succeed whereas 3 fails with the message:
ERROR: (gcloud.endpoints.services.deploy) INVALID_ARGUMENT: ERROR: unknown location: Cannot convert to service config.
My APIs were not using the issuers attribute, for example:
issuers = {
#ApiIssuer(
name = "firebase",
issuer = "https://securetoken.google.com/<PRJ-ID>",
jwksUri = "https://www.googleapis.com/robot/v1/metadata/x509/securetoken#system.gserviceaccount.com")
}
so I tried adding that to each API, but still got the same error.
Help is needed and appreciated :).
This error means there's something wrong with the openapi config file. First, try verifying that it's valid YAML. If it is, then try validating the config with Swagger/OpenAPI tools.

Error when deploying .NET Core webapp to Azure

I am a complete beginner on the .NET world trying to get my first dummy .NET Core webapp to run on Azure App Service.
The code can be found here:
https://github.com/jordi-chacon/bcn_pollution
My development machine runs Ubuntu, so I am using Visual Studio Code.
I currently have my .NET Core webapp running on localhost:5000 just fine and now I want it to run on Azure App Service.
I have successfully configured Continuous Deployment on my App Service to fetch the code from Github.
Then Azure tried to deploy my webapp but it failed with the following error:
Using the following command to generate deployment script: 'azure site deploymentscript -y --no-dot-deployment -r "D:\home\site\repository" -o "D:\home\site\deployments\tools" --aspNet5 "D:\home\site\repository\project.json" --aspNet5Version "1.0.0-rc1-final" --aspNet5Runtime "CLR" --aspNet5Architecture "x86"'.
Project file path: .\project.json
Generating deployment script for ASP.NET 5 Application
Generated deployment script files
Command: "D:\home\site\deployments\tools\deploy.cmd"
Handling ASP.NET 5 Web Application deployment.
Downloading dnx-clr-win-x86.1.0.0-rc1-final from https://www.nuget.org/api/v2
Unable to download package: An exception occurred during a WebClient request.
At C:\Program Files
(x86)\SiteExtensions\Kudu\50.41223.1987\bin\scripts\dnvm.ps1:694 char:13
+ throw "Unable to download package: {0}" -f
$Global:downloadData.Erro ...
+
Failed exitCode=1, command=PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';$CmdPathFile='"D:\local\UserProfile\.dnx\temp-set-envvars.cmd"';& 'C:\Program Files (x86)\SiteExtensions\Kudu\50.41223.1987\bin\scripts\dnvm.ps1' " install 1.0.0-rc1-final -arch x86 -r CLR
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : OperationStopped: (Unable to downl...Client requ
An error has occurred during web site deployment.
est.:String) [], RuntimeException
+ FullyQualifiedErrorId : Unable to download package: An exception occurred during a WebClient request.
Anyone knows what I am doing wrong?
Thanks!
I guess you are hitting not enough disk space issue.
https://github.com/projectkudu/kudu/issues/1682
I tried your code, and repro the deployment failure.
when navigate to https://{site name}.scm.azurewebsites.net, i see below message
Parser Error Message: There is not enough space on the disk.
by default free site has 1 GB of disk space, but seems like it is an known issue that asp.net 5 application kind of require a lots of dependency and easily go over the limit. And they (Asp.net 5 folks) are working on addressing the issue.
walk-around is to deploy to a Basic or Standard site

Code signing error while building the realm framework for Swift 2.0

I'm trying to build the Realm framework for Swift 2.0 by following the steps mentioned in Realm Swift documentation. But as soon as I run the script to build the framework, the following error appears
Building with command: xcodebuild
-IDECustomDerivedDataLocation=build/DerivedData -project Realm.xcodeproj -scheme 'iOS' -configuration Release -sdk iphoneos
User defaults from command line:
IDECustomDerivedDataLocation = build/DerivedData
Build settings from command line:
SDKROOT = iphoneos8.4
=== BUILD TARGET iOS OF PROJECT Realm WITH CONFIGURATION Release ===
Check dependencies Code Sign error: No code signing identities found:
No valid signing identities (i.e. certificate and private key pair)
matching the team ID “(null)” were found. CodeSign error: code signing
is required for product type 'Framework' in SDK 'iOS 8.4'
** BUILD FAILED **
The following build commands failed: Check dependencies (1 failure)
Can someone help me to solve this error?
Thanks
Suraj

abcpdf7 causing dev web server to crash

This is my sample code from asp.net project
Doc abcpdfDoc = new Doc();
abcpdfDoc.MediaBox.String = "0 0 612 1008";
abcpdfDoc.Rect.String = abcpdfDoc.MediaBox.String;
abcpdfDoc.Page = abcpdfDoc.AddPage();
int docID
docID = abcpdfDoc.AddImageUrl(url_html.ToString()); //CAUSES webserver to crash
The code compiles with no warning/error. During debugging, I get a webserver crashed message - the following is the message
Problem signature:
Problem Event Name: APPCRASH
Application Name: WebDev.WebServer.EXE
Application Version: 9.0.30729.1
Application Timestamp: 488f1aa2
Fault Module Name: ieframe.dll
Fault Module Version: 9.0.8112.16457
Fault Module Timestamp: 50a2fe39
Exception Code: c0000005
Exception Offset: 000d135b
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
I am using abpdf7, downloaded the trial edition and ran the msi in admin mode using command line msiexec /i on win 7 running 32b OS
The reason of crash is that the older version of the library does not work with IE 9.x, upgrading to latest version of library resolved the issue

Resources