Trying to run a project on my VPS but im constantly getting this error flagged up. i have tried clearing and installing everything fresh but the problem still occurs. any help would be greatly appreciated.
<t> [webpack.cache.PackFileCacheStrategy] restore cache container: 64.298367 ms
info - Creating an optimized production build ... [webpack.cache.PackFileCacheStrategy] Pack got invalid because of write to: Compilation/modules|/home/admin/web/server/public_html/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js??ruleSet[1].rules[2].oneOf[2].use!/home/admin/web/server/public_html/node_modules/next/dist/pages/_error.js
[webpack.cache.PackFileCacheStrategy] Storing pack...
[webpack.cache.PackFileCacheStrategy] Capturing build dependencies... (/home/admin/web/server/public_html/next.config.js, /home/admin/web/server/public_html/node_modules/next/dist/compiled/, /home/admin/web/server/public_html/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js)
info - Creating an optimized production build .<t> [webpack.cache.PackFileCacheStrategy] resolve build dependencies: 90.189044 ms
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Error snapshotting file timestamp hash combination of /home/admin: Error: EACCES: permission denied, open '/home/admin'
<t> [webpack.cache.PackFileCacheStrategy] snapshot build dependencies: 1.801434 ms
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
[webpack.cache.PackFileCacheStrategy] Error: Unable to snapshot resolve dependencies
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:70754:13
at jobError (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47008:5)
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47071:10
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47968:13
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131419:5
at Hook.eval [as callAsync] (eval at create (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:23493:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:23295:14)
at AsyncQueue._handleResult (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131389:21)
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131372:11
at ReadFileContext.<anonymous> (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47917:12)
[webpack.cache.PackFileCacheStrategy] No pack exists at /home/admin/web/server/public_html/.next/cache/webpack/edge-server-production.pack: Error: ENOENT: no such file or directory, stat '/home/admin/web/server/public_html/.next/cache/webpack/edge-server-production/index.pack'
<t> [webpack.cache.PackFileCacheStrategy] restore cache container: 19.478739 ms
[webpack.cache.PackFileCacheStrategy] No pack exists at /home/admin/web/server/public_html/.next/cache/webpack/client-production.pack: Error: ENOENT: no such file or directory, stat '/home/admin/web/server/public_html/.next/cache/webpack/client-production/index.pack'
<t> [webpack.cache.PackFileCacheStrategy] restore cache container: 9.156366 ms
info - Creating an optimized production build ... [webpack.cache.PackFileCacheStrategy] Pack got invalid because of write to: Compilation/modules|/home/admin/web/server/public_html/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js?absolutePagePath=next%2Fdist%2Fpages%2F_app&page=%2F_app!
[webpack.cache.PackFileCacheStrategy] Storing pack...
[webpack.cache.PackFileCacheStrategy] Capturing build dependencies... (/home/admin/web/server/public_html/next.config.js, /home/admin/web/server/public_html/node_modules/next/dist/compiled/, /home/admin/web/server/public_html/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js, /home/admin/web/server/public_html/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js)
info - Creating an optimized production build .<t> [webpack.cache.PackFileCacheStrategy] resolve build dependencies: 102.05922 ms
[webpack.cache.PackFileCacheStrategy/webpack.FileSystemInfo] Error snapshotting file timestamp hash combination of /home/admin: Error: EACCES: permission denied, open '/home/admin'
<t> [webpack.cache.PackFileCacheStrategy] snapshot build dependencies: 2.324734 ms
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies
[webpack.cache.PackFileCacheStrategy] Error: Unable to snapshot resolve dependencies
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:70754:13
at jobError (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47008:5)
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47071:10
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47968:13
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131419:5
at Hook.eval [as callAsync] (eval at create (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:23493:10), <anonymous>:6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:23295:14)
at AsyncQueue._handleResult (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131389:21)
at /home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:131372:11
at ReadFileContext.<anonymous> (/home/admin/web/server/public_html/node_modules/next/dist/compiled/webpack/bundle5.js:47917:12)```
As stated in this discussion, the suitable soulution in your case seems to be
cd [your project]
npm install -g n
sudo n stable
rm -rf node_modules/
rm -f package-lock.json
npm install
I really can't reproduce the error so I'm not 100% confident this is going to work but you can give it a try and let us know.°
I also think you can skip the installation of a stable node version so, if you already have one, just try the clean npm install.
For me I just move my project to C:/ and return to work. But if you need to maintain the project in another disk, you can do this:
Go to your_project/node_modules/next/package.json
Change local in _where (Local in package)
Now you can start.
PS.: I don't know whats happening and a different form to change this package easily.
PS 2.: I google a lot, but didn't find anithing.
for long time i have a private gitlab.
But now i transfert my gitlab to a domain name with ssl certificate.
Since i make this, i have this error when i tried to clone a repository.
I make some checks, I'm correctly logged
debug1: Authentication succeeded (publickey).
But I get a
remote:
remote: ========================================================================
remote:
remote: Failed to get username: Internal API unreachable
remote:
remote: ========================================================================
remote:
Can someone help me to understand what is it ? and why i have this error.
Thanks, have a nice day.
This question already has answers here:
Make the current commit the only (initial) commit in a Git repository?
(17 answers)
Closed 2 years ago.
One of the dependencies in my project uses chromium (which is over 100mb) and makes github throw an error when trying to push it.
To solve this, I made sure to ignore my node_modules folder.
However I still get the error when I try to push.
Here is my .gitignore file:
.env
node_modules
node_modules/*
Here's the output of git ls-tree -r master --name-only:
.DS_Store
.gitignore
README.md
app.js
package-lock.json
package.json
public/index.html
public/sign-in-with-twitter.png
public/styles.css
server.js
utils/.DS_Store
utils/database.js
utils/encryption.js
utils/gradients.js
utils/increments.js
utils/twitter.js
And here's the full error when trying to push:
remote: D, [2020-09-16T12:48:02.974268 #49478] DEBUG -- : FAILBOT EXCEPTION: action=processing exception=NoMethodError original_type: GitHub::PreReceiveBlob::PushRejected data={"release"=>"6507d92df20b3ea50e34effb905bb46f3d94cc3d", "current_ref"=>"train-b4ab8774", "app"=>"github-user", "ruby"=>"ruby 2.7.1p92 (2020-07-11 revision 4ec8c70524) [x86_64-linux]", "server"=>"github-dfs-08e6617.va3-iad.github.net", "deployed_to"=>"production", "kube_namespace"=>"unknown", "pusher"=>"gb221", "proto"=>"ssh", "path"=>"/data/repositories/7/nw/79/2e/61/297891227/295655929.git", "from"=>"hooks/pre-receive.rb.rb [gb221/gradient-twitter.git]", "audit_msg"=>"{ \"above_lock_quota\":false, \"above_warn_quota\":false, \"babeld\":\"61941ce7\", \"babeld_proto\":\"ssh\", \"check_lfs_integrity\":false, \"cmdline\":\"/usr/lib/git-core/git receive-pack .\", \"committer_date\":\"1600285604 -0700\", \"disable_hooks\":true, \"features\":\" report-status side-band-64k agent=git/2.22.0\", \"frontend\":\"unicorn-gitauth-api-654b85c97f-s5c4m\", \"frontend_pid\":133, \"frontend_ppid\":6, \"git_dir\":\"/data/repositories/7/nw/79/2e/61/297891227/295655929.git\", \"git_dir_safe\":\"/data/repositories/7/nw/79/2e/61/297891227/295655929.git\", \"gitauth_version\":\"6507d92d\", \"hostname\":\"github-dfs-08e6617.va3-iad.github.net\", \"pgroup\":\"64872\", \"pid\":64872, \"ppid\":64848, \"program\":\"receive-pack\", \"proxy_pre_fetch_and_detect_have_present\":false, \"pubkey_creator_id\":18144602, \"pubkey_creator_login\":\"gb221\", \"pubkey_fingerprint\":\"75:cb:2d:06:a1:8a:34:db:b7:cf:27:8d:2d:f8:15:90\", \"pubkey_id\":46204985, \"pubkey_verifier_id\":18144602, \"pubkey_verifier_login\":\"gb221\", \"quotas_enabled\":true, \"real_ip\":\"86.146.63.195\", \"received_objects\":2909, \"remote_addr\":\"10.56.111.46\", \"remote_port\":\"54238\", \"repo_config\":\"{\\\"allow_auto_deleting_branches\\\":\\\"false\\\",\\\"dependency_vulnerability_alerts.disabled\\\":\\\"true\\\",\\\"repository_dependency_updates.vulnerabilities.disabled\\\":\\\"true\\\",\\\"tiered_reporting\\\":\\\"false\\\"}\", \"repo_id\":295655929, \"repo_name\":\"gb221/gradient-twitter\", \"repo_public\":false, \"request_id\":\"fccb4e4a60b223744cc60e177b626e75\", \"status\":\"pre_receive_hook\", \"use_http_postrx\":true, \"user_id\":18144602, \"user_login\":\"gb221\", \"user_operator_mode\":false }", "env"=>"production", "error_code"=>"45a2d52ef1b728ec2c1124abf968e3d6", "exception_detail"=>[{"type"=>"GitHub::PreReceiveBlob::PushRejected", "value"=>"GitHub::PreReceiveBlob::PushRejected", "stacktrace"=>[]}], "created_at"=>"2020-09-16T19:48:02.973358Z", "refs"=>"refs/heads/master: 0dbd850362f939fe02d2e656912a42fdebb32eff", "files"=>"node_modules/svg-to-img/node_modules/puppeteer/.local-chromium/mac-536395/chrome-mac/Chromium.app/Contents/Versions/66.0.3347.0/Chromium Framework.framework/Versions/A/Chromium Framework: 125274684 bytes", "repo_id"=>295655929, "rollup"=>"2a7bc1e29623942867c40e965f833e13"}
remote: D, [2020-09-16T12:48:02.974312 #49478] DEBUG -- : GitHub::PreReceiveBlob::PushRejected
remote: D, [2020-09-16T12:48:02.975337 #49478] DEBUG -- : undefined method `hour' for 1:Integer
remote: D, [2020-09-16T12:48:02.975391 #49478] DEBUG -- : /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/config/failbot.rb:86:in `block in <top (required)>'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/vendor/gems/2.7.1/ruby/2.7.0/gems/failbot-2.5.5/lib/failbot.rb:345:in `report!'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/vendor/gems/2.7.1/ruby/2.7.0/gems/failbot-2.5.5/lib/failbot.rb:322:in `report'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/githooks/pre_receive_blob.rb:75:in `check'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/githooks/push_context.rb:40:in `block (2 levels) in check'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/vendor/gems/2.7.1/ruby/2.7.0/gems/dogstatsd-ruby-4.1.0/lib/datadog/statsd.rb:356:in `time'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/githooks/push_context.rb:39:in `block in check'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/githooks/push_context.rb:34:in `each'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/lib/github/githooks/push_context.rb:34:in `check'
remote: hooks/pre-receive.rb:52:in `block in <main>'
remote: /data/github/releases/20200916185747-6507d92df20b3ea50e34effb905bb46f3d94cc3d/vendor/gems/2.7.1/ruby/2.7.0/gems/dogstatsd-ruby-4.1.0/lib/datadog/statsd.rb:356:in `time'
remote: hooks/pre-receive.rb:51:in `<main>'
remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com.
remote: error: Trace: 45a2d52ef1b728ec2c1124abf968e3d6
remote: error: See http://git.io/iEPt8g for more information.
remote: error: File node_modules/svg-to-img/node_modules/puppeteer/.local-chromium/mac-536395/chrome-mac/Chromium.app/Contents/Versions/66.0.3347.0/Chromium Framework.framework/Versions/A/Chromium Framework is 119.47 MB; this exceeds GitHub's file size limit of 100.00 MB
To github.com:gb221/gradient-twitter.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git#github.com:gb221/gradient-twitter.git'
I've tried clearing all tracked files and re-adding everything (as described here) but that doesn't work.
I ended up solving it by removing all historic commits.
For those also in the same position I followed this.
I have an Node.js app with Python scripts that I am trying to deploy to Heroku.
Every time I try to add the heroku/python buildpack the git push gets rejected.
remote: Could not find a version that satisfies the requirement pywin32==224 (from -r /tmp/build_ebad00f3b8d3c9b4b03965f0d0924e7a/requirements.txt (line 57)) (from versions: )
remote: No matching distribution found for pywin32==224 (from -r /tmp/build_ebad00f3b8d3c9b4b03965f0d0924e7a/requirements.txt (line 57))
remote: ! Push rejected, failed to compile Python app.
remote:
remote: ! Push failed
remote: ! Push failed
remote: Verifying deploy...
remote:
remote: ! Push rejected to XXXXXX
remote:
To https://git.heroku.com/xxxxxx.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/xxxxx.git'
Without the heroku/python buildpack the push works fine. I think I need that buildback for my Python scripts work on web.
My app runs fine locally but everything related to Python is not working when deployed. I use Python 3.7.3 64-bit version.
I have runtime.txt and requirements.txt in root of my app.
My runtime.txt file:
python-3.7.3
requirements.txt:
altgraph==0.16.1
asn1crypto==0.24.0
astroid==2.1.0
awscli==1.16.209
beautifulsoup4==4.6.3
botocore==1.12.199
bs4==0.0.1
cached-property==1.5.1
cachetools==3.1.1
certifi==2019.6.16
cffi==1.12.2
chardet==3.0.4
colorama==0.3.9
cryptography==2.6.1
defusedxml==0.5.0
dnspython==1.16.0
docutils==0.14
et-xmlfile==1.0.1
exchangelib==1.12.2
future==0.17.1
google-api-python-client==1.7.9
google-auth==1.6.3
google-auth-httplib2==0.0.3
google-auth-oauthlib==0.4.0
googletrans==2.4.0
gspread==3.1.0
httplib2==0.13.0
idna==2.8
isodate==0.6.0
isort==4.3.4
jdcal==1.4
jmespath==0.9.4
lazy-object-proxy==1.3.1
lxml==4.3.2
macholib==1.11
mccabe==0.6.1
ntlm-auth==1.2.0
numpy==1.15.4
oauth2client==4.1.3
oauthlib==3.0.1
openpyxl==2.6.0
pandas==0.23.4
pefile==2018.8.8
py2exe==0.9.2.2
pyasn1==0.4.5
pyasn1-modules==0.2.5
pycparser==2.19
Pygments==2.3.1
pygsheets==2.0.1
PyInstaller==3.4
pylint==2.2.2
PyMySQL==0.9.3
pyodbc==4.0.26
PySocks==1.6.8
python-dateutil==2.7.5
pytz==2019.1
pywin32==224
pywin32-ctypes==0.2.0
pywinrm==0.3.0
PyYAML==5.1
requests==2.22.0
requests-kerberos==0.12.0
requests-ntlm==1.1.0
requests-oauthlib==1.2.0
rsa==3.4.2
s3transfer==0.2.1
selenium==3.141.0
six==1.11.0
soupsieve==1.8
stem==1.7.0
torrequest==0.1.0
tzlocal==1.5.1
uritemplate==3.0.0
urllib3==1.25.3
uuid==1.30
virtualenv==16.7.2
winkerberos==0.7.0
wrapt==1.10.11
xlrd==1.1.0
XlsxWriter==1.1.2
xmltodict==0.12.0
Appreciate any guidance.
Here's the problem:
Could not find a version that satisfies the requirement pywin32==224
Heroku doesn't run Windows, so pywin32 isn't available. I'm not sure what you're using that for. If you don't need it, remove it (along with pywin32-ctypes, pywinrm, and anything else that's Windows-dependent) then redeploy. If you're using those libraries you'll need to rewrite that portion of your code.
Generally speaking, your requirements.txt should only have things your application actually needs. I suspect that you've got a lot of things in there that you're not using. Maybe you're not using virtual environments?
I got email from my hosting, here detail email:
The following list of files have FAILED the md5sum comparison test.
This means that the file has been changed in some way. This could be a
result of an OS update or application upgrade. If the change is
unexpected it should be investigated:
/usr/bin/berkeley_db_svc: FAILED
/usr/bin/db_archive: FAILED
/usr/bin/db_checkpoint: FAILED
/usr/bin/db_codegen: FAILED
/usr/bin/db_deadlock: FAILED
/usr/bin/db_dump: FAILED
/usr/bin/db_dump185: FAILED
/usr/bin/db_hotbackup: FAILED
/usr/bin/db_printlog: FAILED
/usr/bin/db_recover: FAILED
/usr/bin/db_stat: FAILED
/usr/bin/db_upgrade: FAILED
/usr/bin/db_verify: FAILED
/usr/bin/free: FAILED
/usr/bin/pgrep: FAILED
/usr/bin/pkill: FAILED
/usr/sbin/build-locale-archive: FAILED
/usr/sbin/glibc_post_upgrade.x86_64: FAILED
/usr/sbin/iconvconfig: FAILED
/usr/sbin/iconvconfig.x86_64: FAILED
/bin/bash: FAILED
/bin/sh: FAILED
/sbin/dmeventd: FAILED
/sbin/ldconfig: FAILED
/sbin/lvchange: FAILED
/sbin/lvconvert: FAILED
/sbin/lvcreate: FAILED
/sbin/lvdisplay: FAILED
/sbin/lvextend: FAILED
/sbin/lvm: FAILED
/sbin/lvmchange: FAILED
/sbin/lvmdiskscan: FAILED
/sbin/lvmetad: FAILED
/sbin/lvmsadc: FAILED
/sbin/lvmsar: FAILED
/sbin/lvreduce: FAILED
/sbin/lvremove: FAILED
/sbin/lvrename: FAILED
/sbin/lvresize: FAILED
/sbin/lvs: FAILED
/sbin/lvscan: FAILED
/sbin/pvchange: FAILED
/sbin/pvck: FAILED
/sbin/pvcreate: FAILED
/sbin/pvdisplay: FAILED
/sbin/pvmove: FAILED
/sbin/pvremove: FAILED
/sbin/pvresize: FAILED
how to solve this problem, and also what this will affect condition of my hosting (security) future ?
please your advice & thank you.
Have you updated the cPanel on your server? I think you have received this mail after cPanel/WHM update(After upcp cron), Because cPanel updated process has updated all these files on your server and CSF has found that changes in md5sum comparison test.