JIRA home config - command-line

I am having a few issues configuring JIRA (Mac OSX 10.6.8), specifically setting my JIRA home directory. I ran the JIRA configuration tool, and defined my path. Upon running JIRA on my localhost, I get the message: No jira.home is configured. Through my terminal, I went in to edit my jira-application.properties files, and it says jira.home = /Applications/MAMP/jira/htdocs. At this point, I am not sure what I am doing wrong, as it seems jira.home is defined. Any help? Thanks.

Have a look at Setting your JIRA Home Directory and make sure you are pointing to the Jira home folder:
Edit the jira-application.properties file and set the value of the 'jira.home'
property to the desired location for your JIRA Home Directory. If you are specifying
this location's path on Windows, use double back-slashes ("\") between subdirectories.
For example, X:\\path\\to\\JIRA\‌\Home
To find where Jira home is located, have a look at JIRA Installation Directory page, the folder should contain the logs,jss and plugins folders.
So, if for example the Jira is installed at /var/atlassian/application-data/jira , the
jira-application.properties should have the following line:
jira.home = /var/atlassian/application-data/jira
Please note - Jira home directory is referring to a data directory and not the installation directory

Installing Jira on MacOS:
https://confluence.atlassian.com/display/JIRA042/Installing+JIRA+Standalone+on+Mac+OS
NOTE: Setting your Home (aka data) directory to /Applications/MAMP/jira/htdocs means that your Jira installation is located in your MAMP web root... Are you sure that's where Jira is installed? Typically, on a Mac, the home directory is located here:
/Applications/Jira/HOME

Related

Search in files broken on SSH remote target

I have several RaspberryPIs as remotes in VSCode via SSH.
In some of them at some point the "search in files" feature has stoped working.
It is only searching inside the opened files.
[EDIT]
After further investigation I found out that on all the Raspberrys where the error occurs I can not install ripgrep. (E: Unable to locate package ripgrep)
As VSCode is using ripgrep for searching this may be the cause but what is the solution then?
[EDIT2]
I built and installed ripgrep manuall. No success.
But maybe it is related to the debian version being 9.X
As several people have reported the same problem but the cirumstances are always different I tried the following solutions:
Make sure the "book" icon is not checked (some users had that problem)
Make sure it is not related to path lenght. Just one folder in ~ with file a.py and b.py (some user had that problem)
Made sure there is nothing in the .gitignore file (some user had that problem)
Made a new folder not inside a samba shared folder (some user had that problem)
Deactivated all exensions on the remote
Deactivated all non SSH related extensions on the PC
Compared the setting on the broken remote to a working one. They are completely the same.
deleted the .vscode-server folder on the remote to force VSCode to install it again

I cannot find SpringToolSuite4.ini file in the new version of SpringToolSuite4(4.1.2). It seems be changed to manage .ini.file. Where can I find it?

I need to change some configuration information to use SpringToolSuite4. But when I downloaded SpringToolSuite4 4.1.2 and unziped, there isn't SpringToolSuite4.ini file. So I created one, but SpringToolSuite4 didn't reference to SpringToolSuite4.ini file when starting.
I solved the problem with these steps:
Open the commad terminal;
go to the location where you put the jar file;
Run "java -jar [****.jar]";
PS: Make sure you have java runtime installed in you machine and you have the correct environment settings.
Hope this could help you.
I guess this is an admin rights problem:
I have downloaded the self extracting .jar file:
spring-tool-suite-4-4.8.1.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting.jar
I saved it in c:\Program Files (needs admin rights).
Double-clicked it (not as admin) -> Same error (cannot find the SpringToolSuite4.ini file).
I have started TotalCommander (you may use a differnt explorer) with admin rights -> Problem fixed.
Open jar with winrar. Open the "contents.zip". Move to "sts-4.8.0.RELEASE" folder in documents. After, we run the program.
jar:spring-tool-suite-4-4.8.0.RELEASE-e4.17.0-win32.win32.x86_64.self-extracting
You can solve the problem like this.
When I downloaded it for the second time. I also got this error(SpringToolSuite4.ini). That's how I passed. instead of downloading it again. Downloading it again didn't work.
right click on the sts icon inside the extracted sts-bundle package and select show content.

installation of zen-cart 1.5: renaming admin folder and redirect error

I installing Zen Cart v1.5, and am at the last steps of the process where I'm required to rename the admin folder. I renamed the folder, and tried to access the admin section by manually typing in the address with the renamed folder. However, it keeps trying to redirect back to the original admin url, giving me the following error:
The requested URL /admin/alert_page.php was not found on this server.
(alert.php is just the page that warns me I need to rename the admin folder -- it's trying to redirect back to this page, even though I renamed the folder.)
This seems to indicate some error with a config file, though the instructions for installation explicitly said that with the current version, it is not necessary to change the config files. (Though, just for good measure I examined the includes/configuration.php file to see if there was an admin folder value I could set, but didn't see any).
I also reloaded the browser cache, to no avail.
Based on where your root zen-cart is installed, you'll want to edit your configure.php file which holds the path to tell Zen cart where the 'ADMIN' directory is located.
For example, I renamed my admin folder to 'control', so I would look for the configure.php file at:
/home/user/public_html/control/includes/configure.php
Look for the defines:
define('DIR_WS_ADMIN', '/admin/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/admin/');
define('DIR_WS_HTTPS_CATALOG', '/');
You'll want to change this to reflect the new folder name you renamed your ADMIN folder to:
define('DIR_WS_ADMIN', '/control/');
define('DIR_WS_CATALOG', '/');
define('DIR_WS_HTTPS_ADMIN', '/control/');
define('DIR_WS_HTTPS_CATALOG', '/');
Hope this helps.
Same question and solution for it!
https://www.zen-cart.com/showthread.php?203681-it-doesn-t-work-after-I-renamed-admin-folder-name

In Magento after installing extension Admin panel in unable to load

As I have assigned to work on magento, according to our requirement i tried to install Arabic extension for magento. The extension got successfully installed. Later on refreshing the admin panel, it shows the URL not found. The Stores FrontEnd CMS home page is loading, But when Iclick on any products, it shows again URL not found..
How can i solve this...
When diagnosing things like this, try the following..
Delete (or move to another folder) files in /var/www/var/cache
Delete (or move to another folder) files in /tmp
From a shell, run
/var/www/shell$ php indexer.php --reindexall
You've just manually cleared your caches and re indexed your data.
See if your system comes back to life.
For me I was redirected to wrong URL from MagentoConnect after installation of extension.
My admin URL: <-hostname->/index.php/admin
Redirected To: <-hostname->/admin
I had same issue when I added extension manually. I could find the issue when checked via shell command and it returned missing table error. This is issue happened when I installed module manually.

Highlighting with Pygmentize in Phabricator not working

I installed Phabricator for working with Python projects. Everything is ok, but files view present them, as plain text. I want to some highlighting provided by Pygmentize utility.
I have installed Pygments
sudo pip install Pygments
Checked from all users, pygmentize script is available, and located at /usr/local/bin.
I changed
'pygments.enabled' => true,
settings in myconfig.conf.php file of phabricator.
But it's not working ?! I can't find any log crashes, or something else. Have you any ideas why it can happen?
I received answer from Github-Issues service. The reason was that httpd user can't call this function, here is sample which extends own $PATH enviroment. I added this to myconfig.conf.php file:
'environment.append-paths' => array('/usr/local/bin'),
It is strongly recommended to add path with pygmentize to your path.
config file located at:
phabricator/conf/local/local.json
I have add in my config
"environment.append-paths": ["\/bin","\/usr\/bin","\/usr\/local\/bin","\/usr\/local\/sbin","\/usr\/local\/bin","\/opt\/local\/sbin","\/opt\/local\/bin","\/usr\/sbin","\/usr\/bin","\/sbin"],
I am using SmartOS ($PATH locates in /usr/local/sbin:/usr/local/bin:/opt/local/sbin:/opt/local/bin:/usr/sbin:/usr/bin:/sbin)