Jump to content

mstdmstdd

Members
  • Content count

    92
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mstdmstdd

  • Rank
    Regular Member

Recent Profile Visitors

309 profile views
  1. mstdmstdd

    How to fix error setting SSL with certbot using?

    I made some more review and found next : IP of my server is 138.68.107.4 and under ssh I enter the console of OS as ssh root@138.68.107.4 But in my /etc/hosts file I had next lines pointing to some other hosts on this server: # 127.0.0.1 localhost 127.0.0.1 localhost.localdomain localhost 138.68.107.4 box.example.com box # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts 138.68.107.4 votes.nilov-sergey-demo-apps.tk 138.68.107.5 products-catalog.nilov-sergey-demo-apps.tk 138.68.107.6 csvp.nilov-sergey-demo-apps.tk ... I modified 3 last lines as : 138.68.107.4 votes.nilov-sergey-demo-apps.tk 138.68.107.4 products-catalog.nilov-sergey-demo-apps.tk 138.68.107.4 csvp.nilov-sergey-demo-apps.tk But I still not sure is that is valid value, as I have next error again: # sudo certbot --apache -d products-catalog.nilov-sergey-demo-apps.tk -d www.products-catalog.nilov-sergey-demo-apps.tk Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for products-catalog.nilov-sergey-demo-apps.tk http-01 challenge for www.products-catalog.nilov-sergey-demo-apps.tk Waiting for verification... Cleaning up challenges Failed authorization procedure. www.products-catalog.nilov-sergey-demo-apps.tk (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.products-catalog.nilov-sergey-demo-apps.tk IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.products-catalog.nilov-sergey-demo-apps.tk Type: None Detail: DNS problem: NXDOMAIN looking up A for www.products-catalog.nilov-sergey-demo-apps.tk can reason of this error be in wrong IP in /etc/hosts or some other issue ?
  2. mstdmstdd

    free license key for jwplayer ?

    Hello, 1)as far as I remember jwplayer had free licence key some time ago? Is it now so? I am a web developer and free licence key for my app development is what I need now. 2)For my task I installed jwplayer , but ut was working during 1 day, after I got error invalid licence key 3) I tried to register at https://www.jwplayer.com/ but very strange, I opened “Sign In” Page, aftefr that I moved “Sign Up” Page but it has “Get Started” link only(it opens pricing page), no form for my credetials to enter ? 4) If there is a way to develop jwplayer in my php/laravel app ? Thanks!
  3. mstdmstdd

    How to fix error setting SSL with certbot using?

    Sorry I attached printscreen with my options and attempts to add new dns link Is it what I tried to do ? Why I got error ?
  4. Hello, I try to set ssl for my php/laravel application under Digital Ocean with Kubuntu 18 as in this articles https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04 But I got error trying to use certbot to obtain a free SSL certificate : # sudo ufw status Status: active To Action From -- ------ ---- Apache Full ALLOW Anywhere 443 ALLOW Anywhere 80 ALLOW Anywhere 22/tcp ALLOW Anywhere Apache Full (v6) ALLOW Anywhere (v6) 443 (v6) ALLOW Anywhere (v6) 80 (v6) ALLOW Anywhere (v6) 22/tcp (v6) ALLOW Anywhere (v6) # sudo certbot --apache -d products-catalog.nilov-sergey-demo-apps.tk -d www.products-catalog.nilov-sergey-demo-apps.tk Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator apache, Installer apache Obtaining a new certificate Performing the following challenges: http-01 challenge for products-catalog.nilov-sergey-demo-apps.tk http-01 challenge for www.products-catalog.nilov-sergey-demo-apps.tk Waiting for verification... Cleaning up challenges Failed authorization procedure. www.products-catalog.nilov-sergey-demo-apps.tk (http-01): urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.products-catalog.nilov-sergey-demo-apps.tk IMPORTANT NOTES: - The following errors were reported by the server: Domain: www.products-catalog.nilov-sergey-demo-apps.tk Type: None Detail: DNS problem: NXDOMAIN looking up A for www.products-catalog.nilov-sergey-demo-apps.tk products-catalog.nilov-sergey-demo-apps.tk - that is my domain I got on freenom.com and seaerch I found a hint that I need to add A-record for www subdomain I tried to add new record as preview But trying to sumbit this page I got: What is wrong ? Can new record be issue of my problem ? Or I need to move in other way ? Configuration in appache is : <VirtualHost *:80> ServerAdmin webmaster@localhost DocumentRoot /var/www/html/lprods/public ServerName products-catalog.nilov-sergey-demo-apps.tk ServerAlias products-catalog.nilov-sergey-demo-apps.tk <Directory /var/www/html/lprods/public> AllowOverride All Order Deny,Allow Allow from all Require all granted </Directory> Options FollowSymLinks DirectoryIndex index.php ErrorLog /var/www/html/lprods/storage/logs/error.log CustomLog /var/www/html/lprods/storage/logs/access.log combined </VirtualHost> with line in /etc/hosts 138.68.107.5 products-catalog.nilov-sergey-demo-apps.tk Can it be issue with my problem ? Thanks!
  5. Hello, In PhpStorm 2017.2.4 I use bookmarks and clicking shift+F11 I see my current bookmarks https://imgur.com/a/CerawOf when I try to clear this listing I can not delete many bookmarks, I do not see them on the bookmarked page at all. I suppose that bookmarked line was deleted/modified and this bookmark can not be selected/deleted. But I still see this bookmark by clicking shift+F11. If these is wa way to clear such bookmark? Thanks!
  6. Hi, I try to use this https://www.sitepoint.com/displaying-youtube-videos-php article to use youtube video in my laravel 5 app , but reading it I found next : // .env APP_DEBUG=true app_name='Your app name (optional)' client_id='Your client id' client_secret='Your client secret' api_key='Your developer key' I suppose that client_id/client_secret parameters are this : https://imgur.com/a/9S7p7Rn Is it so? But I ma not sure what is last parameter ? api_key='Your developer key' Is it value I need to get somehwere in Google's Developer Console ? 1) I tried to find in Google's Developer Console and search in net, but failed... Where can I get it 2) If google has support, where I can ask them and waite for response at my email? Thanks!
  7. Hello! Could you, please, to look at design of my site backend (it has credetials filled): http://votes.nilov-sergey-demo-apps.tk/login and frontend : http://votes.nilov-sergey-demo-apps.tk/home and say if it has some design problems/bugs(and if possible shortly say way to fix it). On different devices. That is my prior app remade with new version of laravel 5.7/Bootstrap 4.1 . I am more php developer, less html/bootsrap. I wanted more practice in html/bootsrap... Thanks!
  8. mstdmstdd

    I have error secure apache on Digital Ocean?

    Thank you! Command sudo ufw enable was helpfull But next I was asked : Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access. ------------------------------------------------------------------------------- I suppose I have to select point 2) I want to set to my https site, but the thing is that I gave the url of my site with http protocol. Could it be a problem with old url?
  9. Hello, I want to set https for my hosting on ubuntu 18 under Digital Ocean as it is written here: https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04 But I had problems with ufw settings: # sudo ufw status Status: inactive root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw allow 'Apache' Rules updated Rules updated (v6) root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw status Status: inactive root@nsn-do-lamp:/etc/apache2/sites-available# sudo systemctl reload apache2 root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw status Status: inactive root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw allow 'Apache Full' Skipping adding existing rule Skipping adding existing rule (v6) root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw delete allow 'Apache' Rules updated Rules updated (v6) root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw status Status: inactive I see that status is inactive. I tried to make : # sudo ufw app list Available applications: Apache Apache Full Apache Secure OpenSSH root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw allow 'Apache' Rules updated Rules updated (v6) root@nsn-do-lamp:/etc/apache2/sites-available# sudo ufw status Status: inactive I think this error is critical and did not proceed with next commands. Why error and how to fix it ? Thanks!
  10. Hello, In my laravel 5.7 / Bootstrap app when in my Chromium Browser I open page with editor under iPad device https://imgur.com/a/D80JkBE I see that bottom of my page is not visible. You can see it by url Link Is it my html-layout problem ? I have no ipAd device to check live... Thanks! =
  11. Hello, In my Laravel 5.7 application I use laravel-jsvalidation plugin( https://github.com/proengsoft/laravel-jsvalidation/wiki/Basic-Usage ) and it worked ok, I needed to including textarea input as tinyMCE editor and to use i with validation and I implemented it with 2 textarea inputs : <div class="form-row mb-3 {{ in_array('description', $errorFieldsArray) ? 'validation_error' : '' }}"> <label class="col-xs-12 col-sm-4 col-form-label">Description</label> <div class="col-xs-12 col-sm-8"> <span style="display: inline;"> {{ Form::textarea('description', isset($vote->description) ? $vote->description : '', [ "class"=>"form-control editable_field textarea_input ", "rows"=>"0", "cols"=> 120, "id"=>"description", "autocomplete"=>"off", "style"=>"width:0; height:0" ] ) }} </span> {{ Form::textarea('description_container', isset($vote->description) ? $vote->description : '', [ "class"=>"form-control editable_field textarea_input ", "rows"=>"5", "cols"=> 120, "id"=>"description_container", "autocomplete"=>"off" ] ) }} </div> </div> where 1st textarea is for form submitting, as entered content is copied into it from 2nd textarea, which is used as tinyMCE editor. In tinyMCE definition I added rows: setup: function (editor) { editor.on('change', function () { var current_context= tinymce.get(by_selector_container).getContent() $('#' + by_selector).html( current_context ); }); }, where by_selector_container and by_selector are names of these textarea inputs. It works, but the only problem that on page I can see 1st textarea input, despite I try to hide it setting wight.width in 0 in style of my code above, but anyway I still see small textarea input, which I want to hide : https://imgur.com/a/43FRFJU I tried to usee css styles in declaration of the 1st textarea input to set "style"=>"display:none" Than textarea input was hidden, but validation does not work at all. How to hide it this small textarea input with validation working? Thanks!
  12. Hello! I have problem with access to adminer in my docker container with laravel 5/mysql app. I got error : In my docker-compose.yml : version: '3' services: votes_app: build: context: ./web dockerfile: Dockerfile.yml container_name: votes_app_container environment: - APACHE_RUN_USER=#1000 volumes: - ${APP_PATH_HOST}:${APP_PTH_CONTAINER} ports: - 8081:80 working_dir: ${APP_PTH_CONTAINER} db: image: mysql:5.6.41 restart: always environment: MYSQL_ROOT_PASSWORD: 1 volumes: - ${DB_PATH_HOST}:/var/lib/mysql adminer: image: adminer restart: always ports: - 8082:8080 links: - db votes_composer: image: composer:1.6 container_name: votes_composer_container volumes: - ${APP_PATH_HOST}:${APP_PTH_CONTAINER} working_dir: ${APP_PTH_CONTAINER} command: composer install --ignore-platform-reqs I rebuilded the app but I failed to login into adminer : https://imgur.com/a/JWVGfBA I run in console of my OS pointing to other unused 8089 port: $ docker run -p 8089:8080 -e ADMINER_DEFAULT_SERVER=db adminer PHP 7.2.11 Development Server started at Thu Nov 1 07:00:46 2018 [Thu Nov 1 07:01:11 2018] ::ffff:172.17.0.1:34048 [200]: / [Thu Nov 1 07:01:20 2018] ::ffff:172.17.0.1:34052 [302]: / [Thu Nov 1 07:01:21 2018] ::ffff:172.17.0.1:34060 [403]: /?server=db&username=root But again error logining to adminer to 8089 port, but the error message was different : https://imgur.com/a/a8qM4bt What is wrong ? Thanks!
  13. Yes,it sounds suspicious. I hope somebody who knows it will give some hints
  14. Hello I want to install Jira on my Ubuntu 18 server under Digital Ocean. I googled and found this article: https://www.digitalocean.com/community/questions/using-and-installing-jira I tried to install by step by step and was successfull: Launching JIRA ... Installation of JIRA 6.2.4 is complete Your installation of JIRA 6.2.4 is now ready and can be accessed via your browser. JIRA 6.2.4 can be accessed at http://localhost:8080 Finishing installation ... root@nsn-do-lamp:/var/www/html# /opt/atlassian/jira/bin/start-jira.sh To run JIRA in the foreground, start the server with start-jira.sh -fg executing using dedicated user: jira ..... ...https://www.digitalocean.com/community/questions/using-and-installing-jira Atlassian JIRA Version : 6.2.4 Detecting JVM PermGen support... PermGen switch is supported. Setting to 384m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Server startup logs are located in /opt/atlassian/jira/logs/catalina.out Using CATALINA_BASE: /opt/atlassian/jira Using CATALINA_HOME: /opt/atlassian/jira Using CATALINA_TMPDIR: /opt/atlassian/jira/temp Using JRE_HOME: /opt/atlassian/jira/jre/ Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid Existing PID file found during start. Removing/clearing stale PID file. root@nsn-do-lamp:/var/www/html# start-jira.sh -fg start-jira.sh: command not found root@nsn-do-lamp:/var/www/html# /opt/atlassian/jira/bin/start-jira.sh -fg executing using dedicated user: jira ... ..... Version : 6.2.4 Detecting JVM PermGen support... PermGen switch is supported. Setting to 384m If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide Server startup logs are located in /opt/atlassian/jira/logs/catalina.out Using CATALINA_BASE: /opt/atlassian/jira Using CATALINA_HOME: /opt/atlassian/jira Using CATALINA_TMPDIR: /opt/atlassian/jira/temp Using JRE_HOME: /opt/atlassian/jira/jre/ Using CLASSPATH: /opt/atlassian/jira/bin/bootstrap.jar:/opt/atlassian/jira/bin/tomcat-juli.jar Using CATALINA_PID: /opt/atlassian/jira/work/catalina.pid Oct 31, 2018 4:03:21 PM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib Oct 31, 2018 4:03:22 PM org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] Oct 31, 2018 4:03:22 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 1677 ms Oct 31, 2018 4:03:22 PM org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina Oct 31, 2018 4:03:22 PM org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.47 Killed My droplet ip is 138.68.107.4, so In browser I run http://138.68.107.4:8080/ is it correct? But in browser I got message : This site can’t be reached 138.68.107.4 refused to connect. Try: Checking the connection Checking the proxy and the firewall ERR_CONNECTION_REFUSED Can you advice some help here? Any logs ? On my Digital Ocean I have apache installed, but I did not install any Java apps. Can it be that mentioned 8080 port in used by some other soft(like apache 2) or by some other Digital Ocean soft? The mentioned article was rather old, can you advice which version have I to use or some tutorial ? Thanks!
  15. mstdmstdd

    How to hide lacking phpmyadmin warnings?

    That is ubuntu0.18.04.1 - thr lates which is on Digital Ocean. Do you think there is a way to update its phpMyAdmin ?
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.