Phabricator: Source file ManiphestEditAssignCapability.php failed to load - phabricator

I upgrade Phabricator to the latest commit (11ce459f67a4beb150d442c65f487c744be43fdd) in "stable" branch. (and libphutil, archanist)
then upgraded the storage, restarted nginx, php-fpm, clear phabricator cache.
Nevertheless it always shows this error
Source file "/var/www/phacility/phabricator/src/applications/maniphest/capability/ManiphestEditAssignCapability.php" failed to load.
ManiphestEditAssignCapability.php is a file already removed in the stable branch
My system is CentOS 7, running PHP7.1 from REMI repo
Any help is appreciated

Related

Unable to restore nuget packages from private source in Rider 2019.3 running on Ubuntu

I'm unable to restore package for a solution in Rider 2019.3.
The error that happens is the following:
17:12:23| Retrying 'FindPackagesByIdAsyncCore' for source 'https://<private-source>/nuget/Farfetch-NuGet-LIVE/FindPackagesById()?id='My.Private.Package'&semVerLevel=2.0.0'.
The SSL connection could not be established, see inner exception.
Authentication failed, see inner exception.
Ssl error:1000007d:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED
at /jonnyzzz/MonoRuntime/Unix/mono/external/boringssl/ssl/handshake_client.c:1132
After a couple of weeks not working in the project, the error appeared. There were no auth modifications.
I'm able to see that the package exists in the nuget private repository (web search).
I've tried to clear every nuget cache folder as also the invalidating rider cache.
Any clue?
Rider 2019.3
Ubuntu 18.04
It's a bug: https://youtrack.jetbrains.com/issue/RIDER-36682
The bug is already fixed, the fix is available in Rider 2019.3.1. Please, install the updates.

Drupal site is broken due to badly installed module

I tried to install Simple OAuth (https://www.drupal.org/project/simple_oauth) module in my drupal site running in a shared Godaddy hosting. My first mistake was not to read the installation guide instructing to install the module by using composer. Instead, I installed the module using the Extend=>install a module link within Drupal. Installing the simple_oauth and enabling the module crashed my site and there is no output from the site.
Then I realised there is something wrong with the installation and checked the error log file. The error logged was:
PHP Fatal error: Interface 'League\OAuth2\Server\Repositories\AccessTokenRepositoryInterface' not found in /home/-----------/public_html/drupal/modules/simple_oauth/src/Repositories/AccessTokenRepository.php on line 10
At that point I realised there is something wrong with the installation and checked the module instructions which states I should use composer to install the module. I tried to solve this problem by redoing the installation from the ssh by using composer and this command:
composer config repositories.drupal composer https://packages.drupal.org/8 && composer require drupal/simple_oauth:^3
Which did not work because GoDaddy shared hosting plan has only 512mb of rams and composer kills the command because of lack of memory.
I tried reading through and understand how Composer works. There were recommendations saying you should never use composer in a production site and you should run it on your computer and copy the composer.lock file which needs much less rams. I created a PHP server using XAMMP on my computer and copied the composer.json file to my computer and run composer update command in my computer. It downloaded the dependencies and stuff on my computer. And feeling I get the hang of it, I copied the composer.lock file in my drupal server, run composer update command and saw composer delete many stuff which I could not undo.
So my questions are: 1- Is there a way of rescuing this drupal site at this point? I deleted many composer dependencies as far as I can understand.
The new error log says: PHP Fatal error: Interface 'Symfony\Component\HttpKernel\HttpKernelInterface' not found in /home/--------/public_html/drupal/core/lib/Drupal/Core/DrupalKernelInterface.php on line 15
2- If not, which is fine as I was just beginning to setup the site. Is it possible for someone to explain the best way of handling this scenario? I mean installing a module using composer in a memory critical place. Or explain how composer works for layman. I read about all the dependency stuff but could not figure out how to use it for this scenario.
Thanks.

Trouble with Acquia Dev Desktop post-install step

I am learning Drupal and have to use it for an upcoming project. When I try to install Acquia Dev Desktop, I get an error message:
Problem running post-install step. Installation may not complete correctly. For assistance, please finish the installation and post a new forum message to bit.ly/dd-bugs with these files: C:\Program Files (x86)\DevDesktop/installer.log C:\Program Files (x86)\DevDesktop/piscript.log
This makes me unable to run Dev Desktop. The only error messages I have noticed in those files are:
Running post install script. This may take a couple of minutes.
Executing C:\Program Files (x86) \DevDesktop\common\setup\postInstallPhp.cmd "C:\Program Files (x86)\DevDesktop\common\setup\setup.php"
Script exit code: unknown signal
Script output:
Script stderr:
child killed: unknown signal
according to the Acquia blog, download an older version - https://dev.acquia.com/downloads/releases/devdesktop.
"Issues with Windows and most recent release of Acquia Dev Desktop We
are investigating an issue with the latest version of Acquia Dev
Desktop and Windows. At this time, Acquia recommends that Windows
users experiencing errors with the most recent release revert to a
previous release."
Rgds,

download failed, couldn't connect to host

I haven't been able to install new plugins or updating plugins after upgrading to wordpress 4.3 on my Ubuntu Server 12.04.5 32bit machine. Usually I could just do it by clicking on the "update" link that's associated with a specific plugin. And it will update it successfully with less than a minute. But this time, it took so long and at the end, it threw out error "download failed, couldn't connect to host".
Then, I thought and guessed that it might be to do with the new wordpress 4.3. So I downgraded it back to previous version 4.2.4 and tried to update the plugin that needs updating. It also took so long and in the end, gave the same error message.
The strange thing is that I haven't made any changes to my Ubuntu server in terms of firewall at all.
My installed PHP version is 5.5.25 and apache is 2.4.12.
The permission of my wp-config.php is 644.
I don't know what else to look. Any help would be greatly appreciated.
Thank you in advance
did you install the correct .dll files in system directory? uninstall the program and try running a system repair and .dll file patcher

Can't complete mup setup on Dreamhost aka Meteor Up

I'm stuck at the mup setup. Trying to set it up on my Dreamhost server.
Here is what I started with after running mup setup:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing Node.js
[mydomain.com] ✘ Installing Node.js: FAILED
-----------------------------------STDERR------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Then I installed node manually on my server, and set the mup file to "setupNode": false. Tried again and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Installing PhantomJS
[mydomain.com] ✘ Installing PhantomJS: FAILED
-----------------------------------STDERR-----------------
tty present and no askpass program specified
Sorry, try again.
sudo: no tty present and no askpass program specified
Sorry, try again.
Finally, I also deactivated the PhantomJS install, tried again to run mup setup and got that:
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Started TaskList: Setup (linux)
[mydomain.com] - Setting up Environment
[mydomain.com] ✔ Setting up Environment: SUCCESS
[mudomain.com] - Copying MongoDB configuration
[mydomain.com] ✘ Copying MongoDB configuration: FAILED
-----------------------------------STDERR-----------------
Warning: Permanently added 'mydomain.com,69.163.152.69' (RSA) to the list of known hosts.
scp: /etc/mongodb.conf: Permission denied
Killed by signal 1.
-----------------------------------STDOUT-----------------
----------------------------------------------------------
Completed TaskList: Setup (linux)
I am not sure what to do or try next. Thanks in advance for your help and suggestions.
Its seems like its a Permission problem.
Try with sudo mup setup or whatever name process are you running, initialize with the sudo keyword
From dream Host forums (admin or tutor post).
node.js — which is used by Meteor — causes some weird issues on our shared hosting servers that can trigger this behavior. We're aware of
the issue, but, for various reasons, it's been difficult to fix.
That being said, Meteor won't work on a shared hosting account anyway,
as it runs as a persistent server process, which isn't permitted.
You'd need a DreamHost VPS or dedicated server to run Meteor.
So if you don't have a dreamHost VPS or dedicated server, and you only want to deploy the app give a try to Modulus.io, it works pretty fine with meteor, or use the meteor deploy servers, doc here
This happens because Sudo isn't installed on the target machine.
On my Debian target machine I did apt-get install sudo to resolve this.
For a RedHat flavor (Centos etc) target machine you might do yum install sudo etc.
However mup is supported for Ubuntu only so it's very likely to run into issues with other flavors. You might want to stick with Ubuntu target machines to avoid headaches like these.

Resources