Unable to move file to packages directory-socialengine addons core plugin - socialengine

While uploading the socialengine addon's core plugin (module-seaocore-4.2.9p1.tar) through package manager, I am getting an error
Unable to move file to packages directory.
Please set chmod 0777 on the temporary/package/archives directory.
But, if we try to upload any other plugin, it will get extracted in the normal way.
I have checked the file permission and it is already 777.

Uploading the tar to temporary/package/packages and extracting it into a folder (final path: temporary/package/packages/module-seaocore-4.2.9p1) does not always work for me.
However, the following steps do seem to work if you have chmod 777 permission set on both your temporary/package/packages and temporary/packages/archives directories:
Try the installation and let it fail with the above error message
Upload the tar to temporary/package/archives
Go back to the Manage Packages & Plugins screen in the SE admin panel, and then click Install New Packages
It will find the tar in temporary/package/archives, process the extraction to temporary/package/packages, and let you install
I've replicated this a number of times now, and it seems to work.

I fixed this issue by uplading the tar file to temporary/package/packages and extracted it to the folder with the name module-seaocore-4.2.9p1.
Then deleted the tar file and went to package manager and installed the plugin.

I got the solution for this,
Extract the ".tar file" and then open the "applications" folder and you will find 3 folder "languages, modules, packages" copy all the files and folders you find in these folders and paste them to the respective "application" folder in your working directory,
remember
After copying them again give the chmod - R 0777 permission to you package directory of working folder.
sudo chmod -R 0777 packages/
Now you can find an option to install the plugin in "Manage Plugin" section in the admin pannel.

Related

pocketbase: command not found

I am trying to set up a pocketbase on a Debian server.
on the server I created a dir called pb and scp over the pocketbase file which I downloaded from https://pocketbase.io/docs/
I downloaded all three linux packages pocketbase_0.10.2_linux_amd64.zip , pocketbase_0.10.2_linux_arm64.zip and pocketbase_0.10.2_linux_armv7.zip
I download the file, unzip it and then move the pocketbase file over to the server.
Note, Ive downloaded these onto a windows machine and then SCP pocketbase file over to my server.
When I run pocketbase serve I get the error command not found.
I can't find a good solution to this issue.
Execute it as instructed by pocketbase's documentation if you are within the same directory as the bin file:
./pocketbase serve
If you want to run it as pocketbase serve alone you will need to move the bin file under /usr/bin or ideally /usr/local/bin which should be under your system's $PATH variable.
https://pocketbase.io/docs/
Run ./pocketbase --help or ./pocketbase [command] --help for more assistance.

How to not use sudo in XAMPP?

I am using XAMPP on Ubuntu 20.04. It has been installed at the location opt/lampp/ location.
As usual before writing any code I am saving my php file within opt/lampp/htdocs location.
Now, every time I make changes to any file or want to save it I have to use the command line with sudo and obviously type my password again and again and again.
Could there be a way around this?
And not install xampp in root directory or but some other directory which is not within root directory?
Thank you.
I have found a solution to the problem. Now I can create files with in the specific folder of htdocs.
My location of installation of xampp was default one opt/lampp
Go the parent folder of htdocs that is /lampp and type
sudo chown -R $USER:$USER ./htdocs
Now go to the parent folder of ./lampp and type
sudo chmod -R 755 ./lampp/
Here what we basically did was change the permission to create folder and make changes to the file to the location where we have installed xampp.

How do I remove CLion-2016.2.3 completely from Ubuntu 16.04 LTS?

I had installed CLion(2016.2.3) IDE from CLion-2016.2.3.tar.gz file. I accidentally deleted the CLion-2016.2.3.tar.gz file and CLion-2016.2.3 folder(which I got after extracting CLion-2016.2.3.tar.gz). Now CLion isn't working. When I ran dpkg --list from terminal, CLion wasn't present in the output. I want to remove CLion completely(all its files, folders, dependencies, etc.(even the configuration files)). How do I remove it completely?
Run the following command in terminal to find all the directories and files containing clion in their name :-
$ sudo find . -iname "*clion*"
Then delete the directories and files you have found.
To delete directories/files, go to the location of that directory/file in terminal using cd and run the following command :-
$ sudo rm -rf DIRECTORY_NAME/FILE_NAME
Simple Steps are :
Delete the clion folder you have downloaded and extracted.
Remove cache in ~/. using the command : sudo rm -r ~/.Clion.
Also need remove settings: /home/user/.config/JetBrains
You need also to remove settings that are stored in ~/. directory. That's it for Unix/Linux.
All Clion's binaries are store inside the folder you deleted.
But Clion sets up preferences at first launch, and you may have a menu icon which is pointing nowhere.
I suggest you run something like find ~ -iname "*clion*" and investigate what is found. If you are using Gnome2 or MATE desktop you will certainly find .desktop files which are the icons you are looking for.
If you used snap to install you can uninstall using
sudo snap remove --purge clion

Apache Nutch 1.11 installation on AIX machine giving bin/nutch: not found

I am installing Apache nutch 1.11 binary distribution in an AIX machine. After unzipping the zip file "apache-nutch-1.11-bin.zip " under /usr directory. I just tried to run the bin/nutch command as per the instruction at https://wiki.apache.org/nutch/NutchTutorial
I am getting the following exception : bin/nutch: not found
I am using root user and have also tried running the "chmod +x bin/nutch" for permissions.
Can anyone help me in understanding what I am missing here ? Thanks in advance.
Just to be sure, after unzipping the zip file, you did changed the directory to "apache-nutch-1.11" in your command prompt and then entered the bin/nutch command. right?
if you did please look for a "bin" subdirectory in "apache-nutch-1.11" directory. If there isn't any, I guess the zip file you downloaded has a problem. If there is, in your command prompt first change the directory to where it is in, and then run the command. I hope it helps.

How to uninstall ApacheDS installed in linux using .bin file

I have installed ApacheDS form this link
http://directory.apache.org/apacheds/download/download-linux-bin.html
It is installed in the opt folder.
How can I uninstall it?
Ok, so you must have root access then? The 32-bit .bin I've just downloaded attempted to install files to /opt/apacheds-[$VERNUM]/, /etc/init.d/, and /var/lib/apacheds-[$VERNUM]. Because all of those locations should be protected against user writes in all linux distributions by default that I'm aware of, I will assume you can escalate privileges as necessary to perform the following actions.
Another assumption I will go on is that you chose the default installation locations offered you when the .bin installer requested you provide configuration options for installation paths. When I ran it just now it asked me a question per path and I had only to press the "ENTER" key to continue using its defaults.
If you're uncertain about how to obtain root access try to prefix each command with sudo, and, failing that, try running the command su once alone before attempting to run any of the following.
### First verify install paths with root level find command
# find / -type d -name *apacheds* ; find /etc/init.d -name *apacheds*
### Review outputs of above commands and verify they match the following \
### globbing rm command before running it.
### CAUTION: If used incorrectly rm -rf could do some very annoying damage
# rm -rf /{opt,var/lib,etc/init.d}/apacheds*